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

Implements the database assignment operation. An assignor assigns an attribute with a given name to a tuple by evaluating an. More...

#include <assignor.h>

Inheritance diagram for ns3::rapidnet::Assignor:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual void Assign (Ptr< Tuple > tuple)
 Assigns the attribute to the given tuple.

Static Public Member Functions

static Ptr< AssignorNew (string target, Ptr< Expression > expr)
 Factory method for creating a new assignor.

Protected Attributes

string m_target
 Name of the target attribute.


Detailed Description

Implements the database assignment operation. An assignor assigns an attribute with a given name to a tuple by evaluating an.

See also:
Expression.

Member Function Documentation

static Ptr<Assignor> ns3::rapidnet::Assignor::New ( string  target,
Ptr< Expression expr 
) [static]

Factory method for creating a new assignor.

Parameters:
target Name of the attribute to be assigned.
expr The
See also:
Expression Object that is used to evaluate the value to be assigned.


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