SNAP Library 2.1, User 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::TAFltI Class Reference

NodeEdge Attr iterator. Iterate through all node for one attr value. More...

#include <network.h>

List of all members.

Public Member Functions

 TAFltI ()
 TAFltI (const TFltVecIter &HIter, TStr attribute, bool isEdgeIter, const TNEANet *GraphPt)
 TAFltI (const TAFltI &I)
TAFltIoperator= (const TAFltI &I)
bool operator< (const TAFltI &I) const
bool operator== (const TAFltI &I) const
TFlt GetDat () const
 Returns an attribute of the node.
bool IsDeleted () const
 Returns true if node or edge has been deleted.
TAFltIoperator++ (int)

Private Types

typedef TFltV::TIter TFltVecIter

Private Attributes

TFltVecIter HI
bool isNode
TStr attr
const TNEANetGraph

Friends

class TNEANet

Detailed Description

NodeEdge Attr iterator. Iterate through all node for one attr value.

Definition at line 1773 of file network.h.


Member Typedef Documentation

Definition at line 1775 of file network.h.


Constructor & Destructor Documentation

Definition at line 1781 of file network.h.

: HI(), attr(), Graph(NULL) { }
TNEANet::TAFltI::TAFltI ( const TFltVecIter HIter,
TStr  attribute,
bool  isEdgeIter,
const TNEANet GraphPt 
) [inline]

Definition at line 1782 of file network.h.

: HI(HIter), attr(), Graph(GraphPt) { isNode = !isEdgeIter; attr = attribute; }
TNEANet::TAFltI::TAFltI ( const TAFltI I) [inline]

Definition at line 1783 of file network.h.

: HI(I.HI), attr(I.attr), Graph(I.Graph) { isNode = I.isNode; }

Member Function Documentation

TFlt TNEANet::TAFltI::GetDat ( ) const [inline]

Returns an attribute of the node.

Definition at line 1788 of file network.h.

{ return HI[0]; }
bool TNEANet::TAFltI::IsDeleted ( ) const [inline]

Returns true if node or edge has been deleted.

Definition at line 1790 of file network.h.

TAFltI& TNEANet::TAFltI::operator++ ( int  ) [inline]

Definition at line 1791 of file network.h.

{ HI++; return *this; }
bool TNEANet::TAFltI::operator< ( const TAFltI I) const [inline]

Definition at line 1785 of file network.h.

{ return HI < I.HI; }
TAFltI& TNEANet::TAFltI::operator= ( const TAFltI I) [inline]

Definition at line 1784 of file network.h.

{ HI = I.HI; Graph=I.Graph; isNode = I.isNode; attr = I.attr; return *this; }
bool TNEANet::TAFltI::operator== ( const TAFltI I) const [inline]

Definition at line 1786 of file network.h.

{ return HI == I.HI; }

Friends And Related Function Documentation

friend class TNEANet [friend]

Definition at line 1792 of file network.h.


Member Data Documentation

Definition at line 1778 of file network.h.

const TNEANet* TNEANet::TAFltI::Graph [private]

Definition at line 1779 of file network.h.

Definition at line 1776 of file network.h.

bool TNEANet::TAFltI::isNode [private]

Definition at line 1777 of file network.h.


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