ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
options_handling.hpp
1// This file is part of the ACTS project.
2//
3// Copyright (C) 2016 CERN for the benefit of the ACTS project
4//
5// This Source Code Form is subject to the terms of the Mozilla Public
6// License, v. 2.0. If a copy of the MPL was not distributed with this
7// file, You can obtain one at https://mozilla.org/MPL/2.0/.
8
9#pragma once
10
11// Boost
12#include "detray/options/boost_program_options.hpp"
13
14// System include(s)
15#include <iostream>
16
17namespace detray::options {
18
20template <typename T>
21void add_options(boost::program_options::options_description & /*unused*/,
22 const T & /*unused*/) { /* Do nothing */ }
23
25template <typename T>
26void configure_options(const boost::program_options::variables_map & /*unused*/,
27 T & /*unused*/) { /* Do nothing */ }
28
30template <typename T>
31void print_options(T &cfg) {
32 std::clog << cfg << std::endl;
33}
34
35} // namespace detray::options