Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-27 07:24:17

0001 // This file is part of the ACTS project.
0002 //
0003 // Copyright (C) 2016 CERN for the benefit of the ACTS project
0004 //
0005 // This Source Code Form is subject to the terms of the Mozilla Public
0006 // License, v. 2.0. If a copy of the MPL was not distributed with this
0007 // file, You can obtain one at https://mozilla.org/MPL/2.0/.
0008 
0009 #pragma once
0010 
0011 // Boost
0012 #include "detray/options/boost_program_options.hpp"
0013 
0014 // System include(s)
0015 #include <iostream>
0016 
0017 namespace detray::options {
0018 
0019 /// Add options to the boost options description according to the type T
0020 template <typename T>
0021 void add_options(boost::program_options::options_description & /*unused*/,
0022                  const T & /*unused*/) { /* Do nothing */ }
0023 
0024 /// Fill the configuration type T from the boost variable map
0025 template <typename T>
0026 void configure_options(const boost::program_options::variables_map & /*unused*/,
0027                        T & /*unused*/) { /* Do nothing */ }
0028 
0029 /// Print the configuration
0030 template <typename T>
0031 void print_options(T &cfg) {
0032   std::clog << cfg << std::endl;
0033 }
0034 
0035 }  // namespace detray::options