MINT2
|
#include <NamedParameter.h>
Public Member Functions | |
NamedParameter (const std::string &name, NamedParameterBase::VERBOSITY vb) | |
NamedParameter (const std::string &name, const char *fname=0, NamedParameterBase::VERBOSITY vb=NamedParameterBase::VERBOSE) | |
NamedParameter (const std::string &name, const T &def, const char *fname=0, NamedParameterBase::VERBOSITY vb=NamedParameterBase::VERBOSE) | |
NamedParameter (const std::string &name, const T &v0, const T &v1, const char *fname=0, NamedParameterBase::VERBOSITY vb=NamedParameterBase::VERBOSE) | |
NamedParameter (const std::string &name, const T &v0, const T &v1, const T &v2, const char *fname=0, NamedParameterBase::VERBOSITY vb=NamedParameterBase::VERBOSE) | |
NamedParameter (const std::string &name, const T &v0, const T &v1, const T &v2, const T &v3, const char *fname=0, NamedParameterBase::VERBOSITY vb=NamedParameterBase::VERBOSE) | |
NamedParameter (const std::string &name, const T &v0, const T &v1, const T &v2, const T &v3, const T &v4, const char *fname=0, NamedParameterBase::VERBOSITY vb=NamedParameterBase::VERBOSE) | |
NamedParameter (const std::string &name, const T &v0, const T &v1, const T &v2, const T &v3, const T &v4, const T &v5, const char *fname=0, NamedParameterBase::VERBOSITY vb=NamedParameterBase::VERBOSE) | |
NamedParameter (const std::string &name, const T &v0, const T &v1, const T &v2, const T &v3, const T &v4, const T &v5, const T &v6, const char *fname=0, NamedParameterBase::VERBOSITY vb=NamedParameterBase::VERBOSE) | |
NamedParameter (const std::string &name, const T &v0, const T &v1, const T &v2, const T &v3, const T &v4, const T &v5, const T &v6, const T &v7, const char *fname=0, NamedParameterBase::VERBOSITY vb=NamedParameterBase::VERBOSE) | |
NamedParameter (const std::string &name, const T &v0, const T &v1, const T &v2, const T &v3, const T &v4, const T &v5, const T &v6, const T &v7, const T &v8, const char *fname=0, NamedParameterBase::VERBOSITY vb=NamedParameterBase::VERBOSE) | |
NamedParameter (const std::string &name, const std::vector< T > &defVec, const char *fname=0, NamedParameterBase::VERBOSITY vb=NamedParameterBase::VERBOSE) | |
NamedParameter (const NamedParameter< T > &other) | |
virtual | ~NamedParameter () |
virtual int | size () const |
virtual const T & | getVal (int i=0) const |
operator T () const | |
const std::vector< T > & | getVector () const |
virtual void | setVal (const T &val, int i=0) |
virtual void | setVal (const std::vector< T > &valList) |
virtual void | print (std::ostream &os=std::cout) const |
operator std::vector< T > () const | |
NamedParameter< T > & | operator= (const T &d) |
NamedParameter< T > & | operator= (const std::vector< T > &v) |
NamedParameter< T > & | operator+= (const T &rhs) |
NamedParameter< T > & | operator-= (const T &rhs) |
NamedParameter< T > & | operator *= (const T &rhs) |
NamedParameter< T > & | operator/= (const T &rhs) |
template<> | |
void | print (std::ostream &os) const |
template<> | |
MINT::NamedParameter< std::string > & | operator-= (const std::string &rhs) |
template<> | |
MINT::NamedParameter< std::string > & | operator *= (const std::string &rhs) |
template<> | |
MINT::NamedParameter< std::string > & | operator/= (const std::string &rhs) |
template<> | |
MINT::NamedParameter< std::string > & | operator-= (const std::string &rhs) |
template<> | |
MINT::NamedParameter< std::string > & | operator *= (const std::string &rhs) |
template<> | |
MINT::NamedParameter< std::string > & | operator/= (const std::string &rhs) |
template<> | |
void | print (std::ostream &os) const |
Public Member Functions inherited from MINT::NamedParameterBase | |
bool | setPPF (ParsedParameterFile *ppF_in=0) |
bool | read () |
bool | read (std::istream &is) |
bool | read (const std::string &fname) |
bool | reloadFile (const std::string &id) |
bool | setFromInitString (const std::string &str) |
bool | setFromInitStringNoName (const std::string &str_in) |
NamedParameterBase (const std::string &name_in="", const char *fname=0, VERBOSITY=VERBOSE) | |
NamedParameterBase (const NamedParameterBase &other) | |
virtual | ~NamedParameterBase () |
virtual const std::string & | name () const |
void | quiet (bool beSo=true) |
bool | gotInitialised () const |
Public Member Functions inherited from MINT::INamedParameter | |
virtual | ~INamedParameter () |
Protected Member Functions | |
virtual bool | setFromParsedLine (const ParsedParameterLine &line) |
template<> | |
bool | setFromParsedLine (const ParsedParameterLine &line) |
template<> | |
bool | setFromParsedLine (const ParsedParameterLine &line) |
Protected Member Functions inherited from MINT::NamedParameterBase | |
virtual bool | setFromParsedFile () |
Protected Member Functions inherited from MINT::INamedParameter | |
INamedParameter () | |
Protected Attributes | |
std::vector< T > | _valueArray |
Protected Attributes inherited from MINT::NamedParameterBase | |
std::string | _name |
ParsedParameterFile * | _ppF |
bool | _gotInitialised |
bool | _quiet |
Additional Inherited Members | |
Public Types inherited from MINT::NamedParameterBase | |
enum | VERBOSITY { VERBOSE =0, QUIET =1 } |
Static Public Member Functions inherited from MINT::NamedParameterBase | |
static bool | setDefaultInputFile (const std::string &fname) |
static bool | setDefaultInputStream (std::istream &str=std::cin) |
Static Protected Member Functions inherited from MINT::NamedParameterBase | |
static ParsedParameterFileList * | getFlist () |
Static Protected Attributes inherited from MINT::NamedParameterBase | |
static bool | IveSaidItOnce =0 |
static std::string | _defaultFile = "" |
static std::istream * | _defaultStreamPtr = &std::cin |
Definition at line 16 of file NamedParameter.h.
|
inline |
Definition at line 43 of file NamedParameter.h.
|
inline |
Definition at line 50 of file NamedParameter.h.
|
inline |
Definition at line 58 of file NamedParameter.h.
|
inline |
Definition at line 69 of file NamedParameter.h.
|
inline |
Definition at line 80 of file NamedParameter.h.
|
inline |
Definition at line 91 of file NamedParameter.h.
|
inline |
Definition at line 103 of file NamedParameter.h.
|
inline |
Definition at line 115 of file NamedParameter.h.
|
inline |
Definition at line 128 of file NamedParameter.h.
|
inline |
Definition at line 142 of file NamedParameter.h.
|
inline |
Definition at line 156 of file NamedParameter.h.
|
inline |
Definition at line 171 of file NamedParameter.h.
|
inline |
Definition at line 182 of file NamedParameter.h.
|
inlinevirtual |
Definition at line 189 of file NamedParameter.h.
|
inlinevirtual |
Definition at line 194 of file NamedParameter.h.
|
inline |
Definition at line 216 of file NamedParameter.h.
MINT::NamedParameter< std::string > & MINT::NamedParameter< std::string >::operator *= | ( | const std::string & | rhs | ) |
Definition at line 25 of file NamedParameter.cpp.
|
inline |
Definition at line 260 of file NamedParameter.h.
MINT::NamedParameter< std::string > & MINT::NamedParameter< std::string >::operator *= | ( | const std::string & | rhs | ) |
|
inline |
Definition at line 243 of file NamedParameter.h.
|
inline |
Definition at line 210 of file NamedParameter.h.
|
inline |
Definition at line 252 of file NamedParameter.h.
MINT::NamedParameter< std::string > & MINT::NamedParameter< std::string >::operator-= | ( | const std::string & | rhs | ) |
Definition at line 14 of file NamedParameter.cpp.
|
inline |
Definition at line 256 of file NamedParameter.h.
MINT::NamedParameter< std::string > & MINT::NamedParameter< std::string >::operator-= | ( | const std::string & | rhs | ) |
MINT::NamedParameter< std::string > & MINT::NamedParameter< std::string >::operator/= | ( | const std::string & | rhs | ) |
Definition at line 36 of file NamedParameter.cpp.
|
inline |
Definition at line 264 of file NamedParameter.h.
MINT::NamedParameter< std::string > & MINT::NamedParameter< std::string >::operator/= | ( | const std::string & | rhs | ) |
|
inline |
Definition at line 244 of file NamedParameter.h.
|
inline |
Definition at line 248 of file NamedParameter.h.
void MINT::NamedParameter< std::string >::print | ( | std::ostream & | os | ) | const |
Definition at line 64 of file NamedParameter.cpp.
|
inlinevirtual |
Definition at line 232 of file NamedParameter.h.
void MINT::NamedParameter< std::string >::print | ( | std::ostream & | os | ) | const |
|
inlineprotectedvirtual |
Implements MINT::NamedParameterBase.
Definition at line 20 of file NamedParameter.h.
|
protectedvirtual |
Implements MINT::NamedParameterBase.
Definition at line 47 of file NamedParameter.cpp.
|
protectedvirtual |
Implements MINT::NamedParameterBase.
|
inlinevirtual |
Definition at line 220 of file NamedParameter.h.
|
inlinevirtual |
Definition at line 228 of file NamedParameter.h.
|
inlinevirtual |
Definition at line 191 of file NamedParameter.h.
|
protected |
Definition at line 18 of file NamedParameter.h.