ls1-MarDyn
ls1-MarDyn molecular dynamics code
|
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 VariableGroup * | getVariableGroup () 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 | |
|
inline |
full variable name
retval std::string group:variable name
|
inline |
variable name
retval std::string variable name
|
inline |
set value
parameter T value