ls1-MarDyn
ls1-MarDyn molecular dynamics code
|
Public Member Functions | |
NodeFunction (Efunctype func, Node *child1, Node *child0=NULL, Node *parent=NULL) | |
Tvaltype | valueType () const |
Value | evaluate () const |
void | write (std::ostream &ostrm) const |
![]() | |
Node (Node *child1=NULL, Node *child2=NULL, Node *parent=NULL, short priority=0) | |
void | setChild1 (Node *child1) |
Node * | getChild1 () const |
void | setChild2 (Node *child2) |
Node * | getChild2 () const |
void | setParent (Node *parent) |
Node * | getParent () const |
bool | isInt () const |
bool | isFloat () const |
virtual Tfloat | evaluateFloat () const |
virtual Tint | evaluateInt () const |
operator std::string () const | |
void | write () const |
void | traverse (std::list< const Node * > &nodelist, enum Etraversetype traversetype=traversetypePOSTFIX) const |
void | writeSubExpr (std::ostream &ostrm=std::cout, enum Etraversetype traversetype=traversetypePOSTFIX, char sep=' ') const |
Static Public Member Functions | |
static Efunctype | functype (const std::string &name) |
Protected Attributes | |
enum Efunctype | _functype |
![]() | |
Node * | _children [2] |
Node * | _parent |
short | _priority |
|
virtual |
Implements Expression::Node.
|
virtual |
Implements Expression::Node.
|
virtual |
Implements Expression::Node.