ns3::rapidnet::ValueExpr Class Reference
[RapidNet Library]

A value expression. Evaluates to the value itself. More...

#include <expression.h>

Inheritance diagram for ns3::rapidnet::ValueExpr:

Inheritance graph
[legend]
Collaboration diagram for ns3::rapidnet::ValueExpr:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual Ptr< ValueEval (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< ExpressionNew (Ptr< Value > value)
 Creates a new ValueExpr object.


Detailed Description

A value expression. Evaluates to the value itself.

Member Function Documentation

virtual Ptr<Value> ns3::rapidnet::ValueExpr::Eval ( Ptr< Tuple tuple  )  [virtual]

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.

See also:
VarExpr

Implements ns3::rapidnet::Expression.


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

Generated on Fri Apr 9 15:01:11 2010 for NS-3 by  doxygen 1.5.8