Public Member Functions | Public Attributes | List of all members
oomph::CommandLineArgs::ArgInfo< T > Struct Template Reference

Structure to store information on a command line argument. More...

#include <oomph_utilities.h>

Public Member Functions

 ArgInfo (const bool &is_set, T *arg_pt, const std::string &doc)
 Proper constructor. More...
 
 ArgInfo ()
 

Public Attributes

bool is_set
 Has this argument been set? More...
 
T * arg_pt
 The place to put the argument's value when it is set. More...
 
std::string doc
 Information about what the argument does. More...
 

Detailed Description

template<class T>
struct oomph::CommandLineArgs::ArgInfo< T >

Structure to store information on a command line argument.

Definition at line 605 of file oomph_utilities.h.

Constructor & Destructor Documentation

template<class T>
oomph::CommandLineArgs::ArgInfo< T >::ArgInfo ( const bool &  is_set,
T *  arg_pt,
const std::string &  doc 
)
inline

Proper constructor.

Definition at line 609 of file oomph_utilities.h.

References oomph::LeakCheckNames::doc().

template<class T>
oomph::CommandLineArgs::ArgInfo< T >::ArgInfo ( )
inline

Default constructor. We need this to be able to store these things in maps.

Definition at line 620 of file oomph_utilities.h.

References oomph::LeakCheckNames::doc().

Member Data Documentation

template<class T>
T* oomph::CommandLineArgs::ArgInfo< T >::arg_pt

The place to put the argument's value when it is set.

Definition at line 640 of file oomph_utilities.h.

template<class T>
std::string oomph::CommandLineArgs::ArgInfo< T >::doc

Information about what the argument does.

Definition at line 643 of file oomph_utilities.h.

template<class T>
bool oomph::CommandLineArgs::ArgInfo< T >::is_set

Has this argument been set?

Definition at line 637 of file oomph_utilities.h.


The documentation for this struct was generated from the following file: