SNAP Library 4.0, Developer Reference  2017-07-27 13:18:06
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TNEANetMP::TEdge Class Reference

#include <networkmp.h>

Collaboration diagram for TNEANetMP::TEdge:

Public Member Functions

 TEdge ()
 
 TEdge (const int &EId, const int &SourceNId, const int &DestNId)
 
 TEdge (const TEdge &Edge)
 
 TEdge (TSIn &SIn)
 
void Save (TSOut &SOut) const
 
int GetId () const
 
int GetSrcNId () const
 
int GetDstNId () const
 

Private Attributes

TInt Id
 
TInt SrcNId
 
TInt DstNId
 

Friends

class TNEANetMP
 

Detailed Description

Definition at line 53 of file networkmp.h.

Constructor & Destructor Documentation

TNEANetMP::TEdge::TEdge ( )
inline

Definition at line 57 of file networkmp.h.

57 : Id(-1), SrcNId(-1), DstNId(-1) { }
TNEANetMP::TEdge::TEdge ( const int &  EId,
const int &  SourceNId,
const int &  DestNId 
)
inline

Definition at line 58 of file networkmp.h.

58 : Id(EId), SrcNId(SourceNId), DstNId(DestNId) { }
TNEANetMP::TEdge::TEdge ( const TEdge Edge)
inline

Definition at line 59 of file networkmp.h.

59 : Id(Edge.Id), SrcNId(Edge.SrcNId), DstNId(Edge.DstNId) { }
TNEANetMP::TEdge::TEdge ( TSIn SIn)
inline

Definition at line 60 of file networkmp.h.

60 : Id(SIn), SrcNId(SIn), DstNId(SIn) { }

Member Function Documentation

int TNEANetMP::TEdge::GetDstNId ( ) const
inline

Definition at line 64 of file networkmp.h.

References DstNId.

Referenced by TNEANetMP::TNodeI::GetNbrNId(), TNEANetMP::IsEdge(), and TNEANetMP::IsOk().

64 { return DstNId; }

Here is the caller graph for this function:

int TNEANetMP::TEdge::GetId ( ) const
inline

Definition at line 62 of file networkmp.h.

References Id.

Referenced by TNEANetMP::IsEdge(), and TNEANetMP::IsOk().

62 { return Id; }

Here is the caller graph for this function:

int TNEANetMP::TEdge::GetSrcNId ( ) const
inline

Definition at line 63 of file networkmp.h.

References SrcNId.

Referenced by TNEANetMP::TNodeI::GetNbrNId(), TNEANetMP::IsEdge(), and TNEANetMP::IsOk().

63 { return SrcNId; }

Here is the caller graph for this function:

void TNEANetMP::TEdge::Save ( TSOut SOut) const
inline

Definition at line 61 of file networkmp.h.

References DstNId, Id, TInt::Save(), and SrcNId.

61 { Id.Save(SOut); SrcNId.Save(SOut); DstNId.Save(SOut); }
void Save(TSOut &SOut) const
Definition: dt.h:1150

Here is the call graph for this function:

Friends And Related Function Documentation

friend class TNEANetMP
friend

Definition at line 65 of file networkmp.h.

Member Data Documentation

TInt TNEANetMP::TEdge::DstNId
private

Definition at line 55 of file networkmp.h.

Referenced by GetDstNId(), and Save().

TInt TNEANetMP::TEdge::Id
private

Definition at line 55 of file networkmp.h.

Referenced by GetId(), and Save().

TInt TNEANetMP::TEdge::SrcNId
private

Definition at line 55 of file networkmp.h.

Referenced by GetSrcNId(), and Save().


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