Structure to store information on a command line argument. More...
Public Member Functions | |
ArgInfo (const bool &is_set, T *arg_pt, const std::string &doc) | |
Proper constructor. | |
ArgInfo () | |
Default constructor. We need this to be able to store these things in maps. | |
Public Attributes | |
bool | is_set |
Has this argument been set? | |
T * | arg_pt |
The place to put the argument's value when it is set. | |
std::string | doc |
Information about what the argument does. | |
Structure to store information on a command line argument.
Definition at line 633 of file oomph_utilities.h.
|
inline |
Proper constructor.
Definition at line 636 of file oomph_utilities.h.
References oomph::CommandLineArgs::ArgInfo< T >::arg_pt, oomph::CommandLineArgs::ArgInfo< T >::doc, and oomph::CommandLineArgs::ArgInfo< T >::is_set.
|
inline |
Default constructor. We need this to be able to store these things in maps.
Definition at line 645 of file oomph_utilities.h.
References oomph::CommandLineArgs::ArgInfo< T >::arg_pt, oomph::CommandLineArgs::ArgInfo< T >::doc, and oomph::CommandLineArgs::ArgInfo< T >::is_set.
T* oomph::CommandLineArgs::ArgInfo< T >::arg_pt |
The place to put the argument's value when it is set.
Definition at line 666 of file oomph_utilities.h.
Referenced by oomph::CommandLineArgs::ArgInfo< T >::ArgInfo(), and oomph::CommandLineArgs::ArgInfo< T >::ArgInfo().
std::string oomph::CommandLineArgs::ArgInfo< T >::doc |
Information about what the argument does.
Definition at line 669 of file oomph_utilities.h.
Referenced by oomph::CommandLineArgs::ArgInfo< T >::ArgInfo(), and oomph::CommandLineArgs::ArgInfo< T >::ArgInfo().
bool oomph::CommandLineArgs::ArgInfo< T >::is_set |
Has this argument been set?
Definition at line 663 of file oomph_utilities.h.
Referenced by oomph::CommandLineArgs::ArgInfo< T >::ArgInfo(), and oomph::CommandLineArgs::ArgInfo< T >::ArgInfo().