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...
 
Targ_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.

Constructor & Destructor Documentation

◆ ArgInfo() [1/2]

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

Proper constructor.

627  {
628  this->is_set = is_set;
629  this->arg_pt = arg_pt;
630  this->doc = doc;
631  }
T * arg_pt
The place to put the argument's value when it is set.
Definition: oomph_utilities.h:656
std::string doc
Information about what the argument does.
Definition: oomph_utilities.h:659
bool is_set
Has this argument been set?
Definition: oomph_utilities.h:653

◆ ArgInfo() [2/2]

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

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

636  {
637  this->is_set = false;
638  this->arg_pt = 0;
639  this->doc = "";
640  }

Member Data Documentation

◆ arg_pt

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

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

◆ doc

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

Information about what the argument does.

◆ is_set

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

Has this argument been set?


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