SNAP Library 2.0, User Reference  2013-05-13 16:33:57
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>

List of all members.

Public Member Functions

 TLstNd ()
 TLstNd (const TLstNd &)
 TLstNd (TLstNd *_PrevNd, TLstNd *_NextNd, const TVal &_Val)
TLstNdoperator= (const TLstNd &)
bool IsPrev () const
bool IsNext () const
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 3541 of file ds.h.


Constructor & Destructor Documentation

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

Definition at line 3547 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 3549 of file ds.h.

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

Member Function Documentation

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

Definition at line 3558 of file ds.h.

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

Definition at line 3559 of file ds.h.

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

Definition at line 3555 of file ds.h.

{return (NextNd != NULL); }
template<class TVal>
bool TLstNd< TVal >::IsPrev ( ) const [inline]

Definition at line 3554 of file ds.h.

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

Definition at line 3557 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 3556 of file ds.h.

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

Member Data Documentation

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

Definition at line 3544 of file ds.h.

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

Definition at line 3543 of file ds.h.

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

Definition at line 3545 of file ds.h.


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