forest-net
an overlay networks for large-scale virtual worlds
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator
forest::ComtreeTable::Entry Struct Reference
Collaboration diagram for forest::ComtreeTable::Entry:

Public Member Functions

 Entry ()
 Constructor for Entry objects. More...
 
 ~Entry ()
 Destructor for Entry objects. More...
 
Entryoperator= (const Entry &)
 Assignment operator for Entry objects (copy version). More...
 
Entryoperator= (Entry &&)
 Assignment operator for Entry objects (move version). More...
 
string toString () const
 Create a string representation of an Entry object. More...
 

Public Attributes

int pLnk
 parent link in comtree
 
int pClnk
 corresponding cLnk value
 
bool coreFlag
 true if this router is in core
 
HashMap< int, ClnkInfo,
Hash::s32 > * 
clMap
 maps link# to comtree link info
 
Dlist * rtrLinks
 comtree links to other routers
 
Dlist * coreLinks
 comtree links to core routers
 

Friends

ostream & operator<< (ostream &out, const Entry &e)
 

Detailed Description

Definition at line 54 of file ComtreeTable.h.

Constructor & Destructor Documentation

forest::ComtreeTable::Entry::Entry ( )
inline

Constructor for Entry objects.

Definition at line 160 of file ComtreeTable.h.

forest::ComtreeTable::Entry::~Entry ( )
inline

Destructor for Entry objects.

Definition at line 167 of file ComtreeTable.h.

Member Function Documentation

ComtreeTable::Entry & forest::ComtreeTable::Entry::operator= ( const Entry src)
inline

Assignment operator for Entry objects (copy version).

Parameters
srcis the object to be copied to this object
Returns
a reference to this object.

Definition at line 175 of file ComtreeTable.h.

ComtreeTable::Entry & forest::ComtreeTable::Entry::operator= ( Entry &&  src)
inline

Assignment operator for Entry objects (move version).

Parameters
srcis the object to be copied to this object
Returns
a reference to this object.

Definition at line 187 of file ComtreeTable.h.

string forest::ComtreeTable::Entry::toString ( ) const
inline

Create a string representation of an Entry object.

Includes the core flag (leading asterisk if true), the parent link # and the list of links in the comtree.

Returns
the string

Definition at line 200 of file ComtreeTable.h.

Here is the caller graph for this function:


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