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
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]
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]
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: