SNAP Library 4.0, User 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
TNEGraph::TEdge Class Reference

#include <graph.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 TNEGraph
 

Detailed Description

Definition at line 683 of file graph.h.

Constructor & Destructor Documentation

TNEGraph::TEdge::TEdge ( )
inline

Definition at line 687 of file graph.h.

687 : Id(-1), SrcNId(-1), DstNId(-1) { }
TInt SrcNId
Definition: graph.h:685
TInt DstNId
Definition: graph.h:685
TNEGraph::TEdge::TEdge ( const int &  EId,
const int &  SourceNId,
const int &  DestNId 
)
inline

Definition at line 688 of file graph.h.

688 : Id(EId), SrcNId(SourceNId), DstNId(DestNId) { }
TInt SrcNId
Definition: graph.h:685
TInt DstNId
Definition: graph.h:685
TNEGraph::TEdge::TEdge ( const TEdge Edge)
inline

Definition at line 689 of file graph.h.

689 : Id(Edge.Id), SrcNId(Edge.SrcNId), DstNId(Edge.DstNId) { }
TInt SrcNId
Definition: graph.h:685
TInt DstNId
Definition: graph.h:685
TNEGraph::TEdge::TEdge ( TSIn SIn)
inline

Definition at line 690 of file graph.h.

690 : Id(SIn), SrcNId(SIn), DstNId(SIn) { }
TInt SrcNId
Definition: graph.h:685
TInt DstNId
Definition: graph.h:685

Member Function Documentation

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

Definition at line 694 of file graph.h.

694 { return DstNId; }
TInt DstNId
Definition: graph.h:685
int TNEGraph::TEdge::GetId ( ) const
inline

Definition at line 692 of file graph.h.

692 { return Id; }
int TNEGraph::TEdge::GetSrcNId ( ) const
inline

Definition at line 693 of file graph.h.

693 { return SrcNId; }
TInt SrcNId
Definition: graph.h:685
void TNEGraph::TEdge::Save ( TSOut SOut) const
inline

Definition at line 691 of file graph.h.

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

Friends And Related Function Documentation

friend class TNEGraph
friend

Definition at line 695 of file graph.h.

Member Data Documentation

TInt TNEGraph::TEdge::DstNId
private

Definition at line 685 of file graph.h.

TInt TNEGraph::TEdge::Id
private

Definition at line 685 of file graph.h.

TInt TNEGraph::TEdge::SrcNId
private

Definition at line 685 of file graph.h.


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