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

#include <networkmp.h>

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.

64 { return DstNId; }
int TNEANetMP::TEdge::GetId ( ) const
inline

Definition at line 62 of file networkmp.h.

62 { return Id; }
int TNEANetMP::TEdge::GetSrcNId ( ) const
inline

Definition at line 63 of file networkmp.h.

63 { return SrcNId; }
void TNEANetMP::TEdge::Save ( TSOut SOut) const
inline

Definition at line 61 of file networkmp.h.

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

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.

TInt TNEANetMP::TEdge::Id
private

Definition at line 55 of file networkmp.h.

TInt TNEANetMP::TEdge::SrcNId
private

Definition at line 55 of file networkmp.h.


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