#include <expression.h>
Public Member Functions | |
virtual Ptr< Value > | Eval (Ptr< Tuple > tuple) |
Evaluates the expression against the given tuple. Note that all expressions are evaluated only against a tuple. The expression may use attributes of the tuple by using a VarExpr object. Or it may not use any attributes at all. | |
virtual string | ToString () const |
String representation of the expression. | |
Static Public Member Functions | |
static Ptr< Expression > | New (string name) |
Factory method to create a new VarExpr object. |
Evaluates the expression against the given tuple. Note that all expressions are evaluated only against a tuple. The expression may use attributes of the tuple by using a VarExpr object. Or it may not use any attributes at all.
Implements ns3::rapidnet::Expression.