SNAP Library 6.0, Developer Reference  2020-12-09 16:24:20
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
TNodeInfo Class Reference

#include <cascdynetinf.h>

Collaboration diagram for TNodeInfo:

Public Member Functions

 TNodeInfo ()
 
 TNodeInfo (const TStr &NodeNm, const int &Volume)
 
 TNodeInfo (TSIn &SIn)
 
void Save (TSOut &SOut) const
 
bool operator< (const TNodeInfo &NodeInfo) const
 
 TNodeInfo ()
 
 TNodeInfo (const TStr &NodeNm, const int &Volume)
 
 TNodeInfo (TSIn &SIn)
 
void Save (TSOut &SOut) const
 

Public Attributes

TStr Name
 
TInt Vol
 

Detailed Description

Definition at line 116 of file cascdynetinf.h.

Constructor & Destructor Documentation

TNodeInfo::TNodeInfo ( )
inline

Definition at line 121 of file cascdynetinf.h.

121 { }
TNodeInfo::TNodeInfo ( const TStr NodeNm,
const int &  Volume 
)
inline

Definition at line 122 of file cascdynetinf.h.

122 : Name(NodeNm), Vol(Volume) { }
TNodeInfo::TNodeInfo ( TSIn SIn)
inline

Definition at line 123 of file cascdynetinf.h.

123 : Name(SIn), Vol(SIn) { }
TNodeInfo::TNodeInfo ( )
inline

Definition at line 55 of file cascnetinf.h.

55 { }
TNodeInfo::TNodeInfo ( const TStr NodeNm,
const int &  Volume 
)
inline

Definition at line 56 of file cascnetinf.h.

56 : Name(NodeNm), Vol(Volume) { }
TNodeInfo::TNodeInfo ( TSIn SIn)
inline

Definition at line 57 of file cascnetinf.h.

57 : Name(SIn), Vol(SIn) { }

Member Function Documentation

bool TNodeInfo::operator< ( const TNodeInfo NodeInfo) const
inline

Definition at line 125 of file cascdynetinf.h.

References Vol.

125  {
126  return Vol < NodeInfo.Vol; }
void TNodeInfo::Save ( TSOut SOut) const
inline

Definition at line 58 of file cascnetinf.h.

References TStr::Save(), and TInt::Save().

58 { Name.Save(SOut); Vol.Save(SOut); }
void Save(TSOut &SOut) const
Definition: dt.h:1153
void Save(TSOut &SOut, const bool &IsSmall=false) const
Definition: dt.h:440

Here is the call graph for this function:

void TNodeInfo::Save ( TSOut SOut) const
inline

Definition at line 124 of file cascdynetinf.h.

References TStr::Save(), and TInt::Save().

124 { Name.Save(SOut); Vol.Save(SOut); }
void Save(TSOut &SOut) const
Definition: dt.h:1153
void Save(TSOut &SOut, const bool &IsSmall=false) const
Definition: dt.h:440

Here is the call graph for this function:

Member Data Documentation

TStr TNodeInfo::Name

Definition at line 118 of file cascdynetinf.h.

Referenced by TNetInfBs::GetNodeNm(), TNIBs::GetNodeNm(), and TNetInfBs::SavePajek().

TInt TNodeInfo::Vol

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