|
netxsimdg
|
#include "include/ConfigMap.hpp"#include "include/ConfigurationHelp.hpp"#include "include/Configurator.hpp"#include <boost/program_options.hpp>#include <map>#include <string>#include <typeinfo>

Go to the source code of this file.
Classes | |
| class | Nextsim::ConfiguredBase |
| A base class necessary for the tryConfigure() functions to work. More... | |
| class | Nextsim::Configured< C > |
Functions | |
| template<typename T > | |
| void | Nextsim::tryConfigure (T &t) |
| Template function for conditionally configuring references. | |
| template<typename T > | |
| void | Nextsim::tryConfigure (T *p_t) |
| Template function for conditionally configuring classes via a pointer. | |
Definition in file Configured.hpp.
| void Nextsim::tryConfigure | ( | T & | t | ) |
Template function for conditionally configuring references.
Pass any class to this function (or its pointer equivalent). If it is a derived class of Configured, the overridden configure() function will be called. If it is not, the function will do nothing, gracefully.
| ref | A reference to the class on which to attempt configuration. |
Definition at line 271 of file Configured.hpp.


| void Nextsim::tryConfigure | ( | T * | p_t | ) |
Template function for conditionally configuring classes via a pointer.
Pass any class to this function (or its reference equivalent). If it is a derived class of Configured, the overridden configure() function will be called. If it is not, the function will do nothing, gracefully.
| ptr | A pointer to the class on which to attempt configuration. |
Definition at line 284 of file Configured.hpp.
