PlasCom2  1.0
XPACC Multi-physics simluation application
parameters Class Reference

Detailed Description

Definition at line 157 of file AppTools.H.

#include <AppTools.H>

Public Member Functions

std::string GetValue (const std::string &key) const
 
std::vector< std::string > GetValueVector (const std::string &key) const
 
std::list< std::string > GetValueList (const std::string &key) const
 
ParamTypeParamPtr (const std::string &key)
 
bool GetFlagValue (const std::string &key) const
 
template<typename T >
GetValue (const std::string &key) const
 
template<typename T >
std::vector< T > GetValueVector (const std::string &key) const
 
template<typename T >
std::list< T > GetValueList (const std::string &key) const
 
virtual int SetValue (const std::string &key, const std::string &value)
 
virtual std::istream & ReadFromStream (std::istream &Is)
 
virtual std::ostream & WriteToStream (std::ostream &Os) const
 
std::string Param (const std::string &Key) const
 
bool IsSet (const std::string &Key) const
 
virtual ~parameters ()
 

Friends

std::ostream & operator<< (std::ostream &oSt, const parameters &pv)
 
std::istream & operator>> (std::istream &iSt, parameters &pv)
 
Inheritance diagram for parameters:
Collaboration diagram for parameters:

Constructor & Destructor Documentation

◆ ~parameters()

virtual ~parameters ( )
inlinevirtual

Definition at line 238 of file AppTools.H.

References apptools::operator<<(), and apptools::operator>>().

Here is the call graph for this function:

Member Function Documentation

◆ GetFlagValue()

bool GetFlagValue ( const std::string &  key) const
inline

Definition at line 171 of file AppTools.H.

Referenced by SetupTimerSettings().

Here is the caller graph for this function:

◆ GetValue() [1/2]

std::string GetValue ( const std::string &  key) const

Definition at line 254 of file AppTools.H.

Referenced by SetupTimerSettings().

Here is the caller graph for this function:

◆ GetValue() [2/2]

T GetValue ( const std::string &  key) const
inline

Definition at line 188 of file AppTools.H.

◆ GetValueList() [1/2]

std::list< std::string > GetValueList ( const std::string &  key) const

Definition at line 278 of file AppTools.H.

Referenced by SetupDerivedTimers(), and SetupExcludedTimers().

Here is the caller graph for this function:

◆ GetValueList() [2/2]

std::list<T> GetValueList ( const std::string &  key) const
inline

Definition at line 214 of file AppTools.H.

◆ GetValueVector() [1/2]

std::vector< std::string > GetValueVector ( const std::string &  key) const

Definition at line 265 of file AppTools.H.

Referenced by SetupTimerSettings().

Here is the caller graph for this function:

◆ GetValueVector() [2/2]

std::vector<T> GetValueVector ( const std::string &  key) const
inline

Definition at line 200 of file AppTools.H.

◆ IsSet()

bool IsSet ( const std::string &  Key) const

Definition at line 336 of file AppTools.H.

Referenced by SetupTimerSettings().

Here is the caller graph for this function:

◆ Param()

std::string Param ( const std::string &  Key) const

Definition at line 324 of file AppTools.H.

Referenced by SetupTimerSettings().

Here is the caller graph for this function:

◆ ParamPtr()

ParamType * ParamPtr ( const std::string &  key)

Definition at line 242 of file AppTools.H.

◆ ReadFromStream()

std::istream & ReadFromStream ( std::istream &  Is)
virtual

Definition at line 291 of file AppTools.H.

References keyvaluepair< K, V >::Key(), apptools::TokenizeString(), keyvaluepair< K, V >::Value(), and x.

Referenced by apptools::operator>>().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetValue()

virtual int SetValue ( const std::string &  key,
const std::string &  value 
)
inlinevirtual

Definition at line 227 of file AppTools.H.

References keyvaluepair< K, V >::Key(), and keyvaluepair< K, V >::Value().

Here is the call graph for this function:

◆ WriteToStream()

std::ostream & WriteToStream ( std::ostream &  Os) const
virtual

Definition at line 342 of file AppTools.H.

Referenced by apptools::operator<<().

Here is the caller graph for this function:

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  oSt,
const parameters pv 
)
friend

Definition at line 353 of file AppTools.H.

◆ operator>>

std::istream& operator>> ( std::istream &  iSt,
parameters pv 
)
friend

Definition at line 359 of file AppTools.H.


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