SNAP Library , Developer Reference  2013-01-07 14:03:36
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
TBigNet< TNodeData, IsDir >::TNode Class Reference

#include <bignet.h>

Collaboration diagram for TBigNet< TNodeData, IsDir >::TNode:

List of all members.

Public Member Functions

 TNode ()
 TNode (const int &InVecId, const int &OutVecId)
 TNode (const int &InVecId, const int &OutVecId, const TNodeDat &NodeDat)
 TNode (const TNode &Node)
 TNode (TSIn &SIn)
void Save (TSOut &SOut) const
bool IsUnused () const

Public Attributes

TInt InVId
TInt OutVId
TNodeDat Dat

Detailed Description

template<class TNodeData, bool IsDir>
class TBigNet< TNodeData, IsDir >::TNode

Definition at line 17 of file bignet.h.


Constructor & Destructor Documentation

template<class TNodeData, bool IsDir>
TBigNet< TNodeData, IsDir >::TNode::TNode ( ) [inline]

Definition at line 22 of file bignet.h.

: InVId(-1), OutVId(-1), Dat() { }
template<class TNodeData, bool IsDir>
TBigNet< TNodeData, IsDir >::TNode::TNode ( const int &  InVecId,
const int &  OutVecId 
) [inline]

Definition at line 23 of file bignet.h.

: InVId(InVecId), OutVId(OutVecId), Dat() { }
template<class TNodeData, bool IsDir>
TBigNet< TNodeData, IsDir >::TNode::TNode ( const int &  InVecId,
const int &  OutVecId,
const TNodeDat NodeDat 
) [inline]

Definition at line 24 of file bignet.h.

                                                                            :
      InVId(InVecId), OutVId(OutVecId), Dat(NodeDat) { }
template<class TNodeData, bool IsDir>
TBigNet< TNodeData, IsDir >::TNode::TNode ( const TNode Node) [inline]

Definition at line 26 of file bignet.h.

: InVId(Node.InVId), OutVId(Node.OutVId), Dat(Node.Dat) { }
template<class TNodeData, bool IsDir>
TBigNet< TNodeData, IsDir >::TNode::TNode ( TSIn SIn) [inline]

Definition at line 27 of file bignet.h.

: InVId(SIn), OutVId(SIn), Dat(SIn) { }

Member Function Documentation

template<class TNodeData, bool IsDir>
bool TBigNet< TNodeData, IsDir >::TNode::IsUnused ( ) const [inline]

Definition at line 29 of file bignet.h.

References TBigNet< TNodeData, IsDir >::TNode::InVId, and TBigNet< TNodeData, IsDir >::TNode::OutVId.

Referenced by TBigNet< TNodeData, IsDir >::AddNode(), and TBigNet< TNodeData, IsDir >::AddUndirNode().

{ return InVId==-1 && OutVId==-1; }

Here is the caller graph for this function:

template<class TNodeData, bool IsDir>
void TBigNet< TNodeData, IsDir >::TNode::Save ( TSOut SOut) const [inline]

Definition at line 28 of file bignet.h.

References TBigNet< TNodeData, IsDir >::TNode::Dat, TBigNet< TNodeData, IsDir >::TNode::InVId, TBigNet< TNodeData, IsDir >::TNode::OutVId, and TSOut::Save().

{ SOut.Save(InVId); SOut.Save(OutVId); Dat.Save(SOut); }

Here is the call graph for this function:


Member Data Documentation


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