SNAP Library 2.1, Developer Reference  2013-09-25 10:47:25
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
TNEANet::TEdge Class Reference

#include <network.h>

Collaboration diagram for TNEANet::TEdge:

List of all members.

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 TNEANet

Detailed Description

Definition at line 1601 of file network.h.


Constructor & Destructor Documentation

TNEANet::TEdge::TEdge ( ) [inline]

Definition at line 1605 of file network.h.

: Id(-1), SrcNId(-1), DstNId(-1) { }
TNEANet::TEdge::TEdge ( const int &  EId,
const int &  SourceNId,
const int &  DestNId 
) [inline]

Definition at line 1606 of file network.h.

: Id(EId), SrcNId(SourceNId), DstNId(DestNId) { }
TNEANet::TEdge::TEdge ( const TEdge Edge) [inline]

Definition at line 1607 of file network.h.

: Id(Edge.Id), SrcNId(Edge.SrcNId), DstNId(Edge.DstNId) { }
TNEANet::TEdge::TEdge ( TSIn SIn) [inline]

Definition at line 1608 of file network.h.

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

Member Function Documentation

int TNEANet::TEdge::GetDstNId ( ) const [inline]

Definition at line 1612 of file network.h.

Referenced by TNEANet::DelEdge(), TNEANet::DelNode(), TNEANet::TNodeI::GetNbrNId(), TNEANet::IsEdge(), and TNEANet::IsOk().

{ return DstNId; }

Here is the caller graph for this function:

int TNEANet::TEdge::GetId ( ) const [inline]

Definition at line 1610 of file network.h.

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

{ return Id; }

Here is the caller graph for this function:

int TNEANet::TEdge::GetSrcNId ( ) const [inline]

Definition at line 1611 of file network.h.

Referenced by TNEANet::DelEdge(), TNEANet::DelNode(), TNEANet::TNodeI::GetNbrNId(), TNEANet::IsEdge(), and TNEANet::IsOk().

{ return SrcNId; }

Here is the caller graph for this function:

void TNEANet::TEdge::Save ( TSOut SOut) const [inline]

Definition at line 1609 of file network.h.

{ Id.Save(SOut); SrcNId.Save(SOut); DstNId.Save(SOut); }

Friends And Related Function Documentation

friend class TNEANet [friend]

Definition at line 1613 of file network.h.


Member Data Documentation

Definition at line 1603 of file network.h.

Definition at line 1603 of file network.h.

Definition at line 1603 of file network.h.


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