ls1-MarDyn
ls1-MarDyn molecular dynamics code
Public Member Functions | List of all members
Expression::Variable Class Reference

Public Member Functions

 Variable (const std::string &name, VariableGroup *grp)
 
template<class T >
 Variable (const std::string &name, VariableGroup *grp, T val)
 
const std::string getName () const
 variable name More...
 
const std::string getfullName () const
 full variable name More...
 
Tvaltype getType () const
 
Value getValue () const
 
Tfloat getValueFloat () const
 
 operator Tfloat () const
 
Tint getValueInt () const
 
 operator Tint () const
 
bool isInt () const
 
bool isFloat () const
 
const VariableGroupgetVariableGroup () const
 
template<class T >
void setValue (T val)
 set value More...
 
void write (std::ostream &ostrm=std::cout, bool prtval=false) const
 
 operator std::string () const
 

Member Function Documentation

◆ getfullName()

const std::string Expression::Variable::getfullName ( ) const
inline

full variable name

retval std::string group:variable name

◆ getName()

const std::string Expression::Variable::getName ( ) const
inline

variable name

retval std::string variable name

◆ setValue()

template<class T >
void Expression::Variable::setValue ( val)
inline

set value

parameter T value


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