SNAP Library, User 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>

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.

{Assert(this!=NULL); return Val;}
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.

{Assert(this!=NULL); return NextNd;}
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.

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

Member Data Documentation

template<class TVal>
TLstNd* TLstNd< TVal >::NextNd

Definition at line 2179 of file ds.h.

template<class TVal>
TLstNd* TLstNd< TVal >::PrevNd

Definition at line 2178 of file ds.h.

template<class TVal>
TVal TLstNd< TVal >::Val

Definition at line 2180 of file ds.h.


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