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

Implements the database select operation. It evaluates an expression against the given tuple and returns true if the tuple should be selected, false otherwise. More...

#include <selector.h>

Inheritance diagram for ns3::rapidnet::Selector:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

bool Select (Ptr< Tuple > tuple)
 Evaluates the selection expression and returns true if the given tuple should be selected. False otherwise.

Static Public Member Functions

static Ptr< SelectorNew (Ptr< Expression > expr)
 Factory method to create a new selector object.


Detailed Description

Implements the database select operation. It evaluates an expression against the given tuple and returns true if the tuple should be selected, false otherwise.

Member Function Documentation

static Ptr<Selector> ns3::rapidnet::Selector::New ( Ptr< Expression expr  )  [static]

Factory method to create a new selector object.

Parameters:
expr The expression that is evaluated against the given tuple to determine whether it should be selected or not.


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

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