Skip to content

Class TempLat::ParameterParser

ClassList > TempLat > ParameterParser

Public Functions

Type Name
ParameterParser (int argc, char * argv, bool pVerbose=false)
void activateOverride ()
void addFromVector (const std::vector< std::string > & vec)
void erase (const std::string & key)
ParameterGetter< S > get (const std::string & name, ParameterImportance importance=Normal)
ParameterGetter< S > get (const std::string & name, S def, ParameterImportance importance=Normal)
MultipleParameterGetter< S > get (const std::string & name, ParameterImportance importance=Normal)
MultipleParameterGetter< S > get (const std::string & name, std::vector< S > def, ParameterImportance importance=Normal)
MultipleParameterGetter< S > get (const std::string & name, S def, ParameterImportance importance=Normal)
ParameterGetter< S > getOverride (const std::string & name, ParameterImportance importance=Normal)
ParameterGetter< S > getOverride (const std::string & name, S def, ParameterImportance importance=Normal)
MultipleParameterGetter< S > getOverride (const std::string & name, ParameterImportance importance=Normal)
MultipleParameterGetter< S > getOverride (const std::string & name, std::vector< S > def, ParameterImportance importance=Normal)
const auto & getParams () const
std::string getSeed (const std::string & name)
void insert (const std::string & str)

Public Functions Documentation

function ParameterParser

inline TempLat::ParameterParser::ParameterParser (
    int argc,
    char * argv,
    bool pVerbose=false
) 

function activateOverride

inline void TempLat::ParameterParser::activateOverride () 

function addFromVector

inline void TempLat::ParameterParser::addFromVector (
    const std::vector< std::string > & vec
) 

function erase

inline void TempLat::ParameterParser::erase (
    const std::string & key
) 

function get [1/7]

template<class S>
inline ParameterGetter < S > TempLat::ParameterParser::get (
    const std::string & name,
    ParameterImportance importance=Normal
) 

function get [2/7]

template<class S>
inline ParameterGetter < S > TempLat::ParameterParser::get (
    const std::string & name,
    S def,
    ParameterImportance importance=Normal
) 

function get [3/7]

template<class S, int N>
inline MultipleParameterGetter < S > TempLat::ParameterParser::get (
    const std::string & name,
    ParameterImportance importance=Normal
) 

function get [4/7]

template<class S, int N>
inline MultipleParameterGetter < S > TempLat::ParameterParser::get (
    const std::string & name,
    std::vector< S > def,
    ParameterImportance importance=Normal
) 

function get [5/7]

template<class S, int N>
inline MultipleParameterGetter < S > TempLat::ParameterParser::get (
    const std::string & name,
    S def,
    ParameterImportance importance=Normal
) 

function getOverride [1/4]

template<class S>
inline ParameterGetter < S > TempLat::ParameterParser::getOverride (
    const std::string & name,
    ParameterImportance importance=Normal
) 

function getOverride [2/4]

template<class S>
inline ParameterGetter < S > TempLat::ParameterParser::getOverride (
    const std::string & name,
    S def,
    ParameterImportance importance=Normal
) 

function getOverride [3/4]

template<class S, int N>
inline MultipleParameterGetter < S > TempLat::ParameterParser::getOverride (
    const std::string & name,
    ParameterImportance importance=Normal
) 

function getOverride [4/4]

template<class S, int N>
inline MultipleParameterGetter < S > TempLat::ParameterParser::getOverride (
    const std::string & name,
    std::vector< S > def,
    ParameterImportance importance=Normal
) 

function getParams

inline const auto & TempLat::ParameterParser::getParams () const

function getSeed

inline std::string TempLat::ParameterParser::getSeed (
    const std::string & name
) 

function insert

inline void TempLat::ParameterParser::insert (
    const std::string & str
) 

Friends Documentation

friend operator<<

inline std::ostream & TempLat::ParameterParser::operator<< (
    std::ostream & os,
    const ParameterParser & par
) 


The documentation for this class was generated from the following file cosmolatticeweb/tmp/code_source/templat/include/TempLat/parameters/parameterparser.h