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

A relation that is implemented as a list of tuples. More...

#include <temp-relation.h>

Inheritance diagram for ns3::rapidnet::TempRelation:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual TypeId GetInstanceTypeId ()
virtual void AddKeyAttribute (attrdeftype attribute)
 This method is not supported. An error is thrown.
virtual int Insert (Ptr< Tuple > tuple)
 Adds a tuple to the relation.
virtual void Delete (Ptr< Tuple > tuple)
 Deletes the tuple from the relation.
virtual list< Ptr< Tuple > > GetAllTuples ()
 Returns all the tuples as a list.
virtual uint32_t Count ()
 Returns the number of tuples in the relation.

Static Public Member Functions

static TypeId GetTypeId (void)
 This method returns the TypeId associated to ns3::Object.
static Ptr< RelationBaseNew (string name)
 Factory method to create a new TempRelation.

Protected Member Functions

void SetName (string name)
 Used by the static factory method only.


Detailed Description

A relation that is implemented as a list of tuples.

It is used to return results of database operations like join, select, project, etc. It defines no key attributes.


Member Function Documentation

virtual TypeId ns3::rapidnet::TempRelation::GetInstanceTypeId (  )  [inline, virtual]

Returns:
the TypeId associated to the most-derived type of this instance.
This method is typically implemented by ns3::Object::GetInstanceTypeId but some classes which derive from ns3::ObjectBase directly have to implement it themselves.

Reimplemented from ns3::rapidnet::RelationBase.

References GetTypeId().

static TypeId ns3::rapidnet::TempRelation::GetTypeId ( void   )  [static]

This method returns the TypeId associated to ns3::Object.

No Attributes defined for this type.
No TraceSources defined for this type.

Reimplemented from ns3::rapidnet::RelationBase.

Referenced by GetInstanceTypeId().


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