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

Function call as an expression. This class is merely a a marker interface for all functions, it does not provide any functionality. More...

#include <expression.h>

Inheritance diagram for ns3::rapidnet::FunctionExpr:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual Ptr< ValueEval (Ptr< Tuple > tuple)=0
 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.


Detailed Description

Function call as an expression. This class is merely a a marker interface for all functions, it does not provide any functionality.

Member Function Documentation

virtual Ptr<Value> ns3::rapidnet::FunctionExpr::Eval ( Ptr< Tuple tuple  )  [pure 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.

Implemented in ns3::rapidnet::FAppend, ns3::rapidnet::FConcat, ns3::rapidnet::FMember, ns3::rapidnet::FNow, ns3::rapidnet::FDiffTime, ns3::rapidnet::FHslsTtl, ns3::rapidnet::FSize, ns3::rapidnet::FLast, ns3::rapidnet::FRemoveLast, ns3::rapidnet::FTypeOf, ns3::rapidnet::FRand, ns3::rapidnet::FSha1, ns3::rapidnet::FSvIn, ns3::rapidnet::FSvAndNot, ns3::rapidnet::FSvAppend, and ns3::rapidnet::FSvRemove.


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