SNAP Library, Developer Reference  2012-10-15 15:06:59
SNAP, a general purpose network analysis and graph mining library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
TLstNd< TVal > Class Template Reference

#include <ds.h>

Collaboration diagram for TLstNd< TVal >:

List of all members.

Public Member Functions

 TLstNd ()
 TLstNd (const TLstNd &)
 TLstNd (TLstNd *_PrevNd, TLstNd *_NextNd, const TVal &_Val)
TLstNdoperator= (const TLstNd &)
TLstNdPrev () const
TLstNdNext () const
TVal & GetVal ()
const TVal & GetVal () const

Public Attributes

TLstNdPrevNd
TLstNdNextNd
TVal Val

Detailed Description

template<class TVal>
class TLstNd< TVal >

Definition at line 2176 of file ds.h.


Constructor & Destructor Documentation

template<class TVal>
TLstNd< TVal >::TLstNd ( ) [inline]

Definition at line 2182 of file ds.h.

: PrevNd(NULL), NextNd(NULL), Val(){}
template<class TVal>
TLstNd< TVal >::TLstNd ( const TLstNd< TVal > &  )
template<class TVal>
TLstNd< TVal >::TLstNd ( TLstNd< TVal > *  _PrevNd,
TLstNd< TVal > *  _NextNd,
const TVal &  _Val 
) [inline]

Definition at line 2184 of file ds.h.

                                                            :
    PrevNd(_PrevNd), NextNd(_NextNd), Val(_Val){}

Member Function Documentation

template<class TVal>
TVal& TLstNd< TVal >::GetVal ( ) [inline]

Definition at line 2191 of file ds.h.

Referenced by TLst< TKey >::FirstVal(), TCache< TKey, TDat, THashFunc >::FNextKeyDat(), TLst< TKey >::LastVal(), TLst< TVal >::SearchBack(), and TLst< TVal >::SearchForw().

{Assert(this!=NULL); return Val;}

Here is the caller graph for this function:

template<class TVal>
const TVal& TLstNd< TVal >::GetVal ( ) const [inline]

Definition at line 2192 of file ds.h.

{Assert(this!=NULL); return Val;}
template<class TVal>
TLstNd* TLstNd< TVal >::Next ( ) const [inline]

Definition at line 2190 of file ds.h.

Referenced by TLst< TVal >::AddFrontSorted(), TCache< TKey, TDat, THashFunc >::FNextKeyDat(), and TLst< TVal >::SearchForw().

{Assert(this!=NULL); return NextNd;}

Here is the caller graph for this function:

template<class TVal>
TLstNd& TLstNd< TVal >::operator= ( const TLstNd< TVal > &  )
template<class TVal>
TLstNd* TLstNd< TVal >::Prev ( ) const [inline]

Definition at line 2189 of file ds.h.

Referenced by TLst< TVal >::AddBackSorted(), TLst< TVal >::AddFrontSorted(), and TLst< TVal >::SearchBack().

{Assert(this!=NULL); return PrevNd;}

Here is the caller graph for this function:


Member Data Documentation


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