XGCa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Private Attributes | List of all members
NLReader::NamelistReader Class Reference

#include <NamelistReader.hpp>

Public Member Functions

 NamelistReader (const string &filename)
 
void begin_required ()
 
void begin_optional ()
 
bool check_all_used ()
 
void load (const string &filename)
 
void use_namelist (const string &namelist)
 
template<typename T >
get (const string &param, const T default_val, int val_ind=0)
 

Private Attributes

vector< NameListnamelists
 
int namelist_index
 
bool required
 
bool use_all
 

Constructor & Destructor Documentation

NLReader::NamelistReader::NamelistReader ( const string &  filename)
inline

Here is the call graph for this function:

Member Function Documentation

void NLReader::NamelistReader::begin_optional ( )
inline
void NLReader::NamelistReader::begin_required ( )
inline
bool NLReader::NamelistReader::check_all_used ( )
inline
template<typename T >
T NLReader::NamelistReader::get ( const string &  param,
const T  default_val,
int  val_ind = 0 
)
inline
void NLReader::NamelistReader::load ( const string &  filename)
inline

Here is the call graph for this function:

void NLReader::NamelistReader::use_namelist ( const string &  namelist)
inline

Member Data Documentation

int NLReader::NamelistReader::namelist_index
private
vector<NameList> NLReader::NamelistReader::namelists
private
bool NLReader::NamelistReader::required
private
bool NLReader::NamelistReader::use_all
private

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