#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 (Operator op, Ptr< Expression > left) |
Factory method to create a unary expression. | |
static Ptr< Expression > | New (Operator op, Ptr< Expression > left, Ptr< Expression > right) |
Factory method to create a unary expression. |
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.