SNAP Library 2.0, User Reference
2013-05-13 16:33:57
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
Edge iterator. Only forward iteration (operator++) is supported. More...
#include <network.h>
Public Member Functions | |
TEdgeI () | |
TEdgeI (const THashIter &EdgeHIter, const TNodeEdgeNet *NetPt) | |
TEdgeI (const TEdgeI &EdgeI) | |
TEdgeI & | operator= (const TEdgeI &EdgeI) |
TEdgeI & | operator++ (int) |
bool | operator< (const TEdgeI &EdgeI) const |
bool | operator== (const TEdgeI &EdgeI) const |
int | GetId () const |
Gets edge ID. | |
int | GetSrcNId () const |
Gets the source of an edge. | |
int | GetDstNId () const |
Gets destination of an edge. | |
const TEdgeData & | operator() () const |
TEdgeData & | operator() () |
const TEdgeData & | GetDat () const |
TEdgeData & | GetDat () |
const TNodeData & | GetSrcNDat () const |
TNodeData & | GetSrcNDat () |
const TNodeData & | GetDstNDat () const |
TNodeData & | GetDstNDat () |
Private Types | |
typedef THash< TInt, TEdge >::TIter | THashIter |
Private Attributes | |
THashIter | EdgeHI |
TNodeEdgeNet * | Net |
Friends | |
class | TNodeEdgeNet |
Edge iterator. Only forward iteration (operator++) is supported.
typedef THash<TInt, TEdge>::TIter TNodeEdgeNet< TNodeData, TEdgeData >::TEdgeI::THashIter [private] |
TNodeEdgeNet< TNodeData, TEdgeData >::TEdgeI::TEdgeI | ( | ) | [inline] |
TNodeEdgeNet< TNodeData, TEdgeData >::TEdgeI::TEdgeI | ( | const THashIter & | EdgeHIter, |
const TNodeEdgeNet * | NetPt | ||
) | [inline] |
Definition at line 1117 of file network.h.
: EdgeHI(EdgeHIter), Net((TNodeEdgeNet *) NetPt) { }
TNodeEdgeNet< TNodeData, TEdgeData >::TEdgeI::TEdgeI | ( | const TEdgeI & | EdgeI | ) | [inline] |
const TEdgeData& TNodeEdgeNet< TNodeData, TEdgeData >::TEdgeI::GetDat | ( | ) | const [inline] |
TEdgeData& TNodeEdgeNet< TNodeData, TEdgeData >::TEdgeI::GetDat | ( | ) | [inline] |
const TNodeData& TNodeEdgeNet< TNodeData, TEdgeData >::TEdgeI::GetDstNDat | ( | ) | const [inline] |
TNodeData& TNodeEdgeNet< TNodeData, TEdgeData >::TEdgeI::GetDstNDat | ( | ) | [inline] |
int TNodeEdgeNet< TNodeData, TEdgeData >::TEdgeI::GetDstNId | ( | ) | const [inline] |
int TNodeEdgeNet< TNodeData, TEdgeData >::TEdgeI::GetId | ( | ) | const [inline] |
const TNodeData& TNodeEdgeNet< TNodeData, TEdgeData >::TEdgeI::GetSrcNDat | ( | ) | const [inline] |
TNodeData& TNodeEdgeNet< TNodeData, TEdgeData >::TEdgeI::GetSrcNDat | ( | ) | [inline] |
int TNodeEdgeNet< TNodeData, TEdgeData >::TEdgeI::GetSrcNId | ( | ) | const [inline] |
const TEdgeData& TNodeEdgeNet< TNodeData, TEdgeData >::TEdgeI::operator() | ( | ) | const [inline] |
TEdgeData& TNodeEdgeNet< TNodeData, TEdgeData >::TEdgeI::operator() | ( | ) | [inline] |
TEdgeI& TNodeEdgeNet< TNodeData, TEdgeData >::TEdgeI::operator++ | ( | int | ) | [inline] |
bool TNodeEdgeNet< TNodeData, TEdgeData >::TEdgeI::operator< | ( | const TEdgeI & | EdgeI | ) | const [inline] |
TEdgeI& TNodeEdgeNet< TNodeData, TEdgeData >::TEdgeI::operator= | ( | const TEdgeI & | EdgeI | ) | [inline] |
bool TNodeEdgeNet< TNodeData, TEdgeData >::TEdgeI::operator== | ( | const TEdgeI & | EdgeI | ) | const [inline] |
friend class TNodeEdgeNet [friend] |
THashIter TNodeEdgeNet< TNodeData, TEdgeData >::TEdgeI::EdgeHI [private] |
TNodeEdgeNet* TNodeEdgeNet< TNodeData, TEdgeData >::TEdgeI::Net [private] |