SNAP Library 2.3, Developer Reference  2014-06-16 11:58:46
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TLstNd< TVal > Class Template Reference

#include <ds.h>

Collaboration diagram for TLstNd< TVal >:

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 3555 of file ds.h.

Constructor & Destructor Documentation

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

Definition at line 3561 of file ds.h.

3561 : PrevNd(NULL), NextNd(NULL), Val(){}
TLstNd * NextNd
Definition: ds.h:3558
TVal Val
Definition: ds.h:3559
TLstNd * PrevNd
Definition: ds.h:3557
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 3563 of file ds.h.

3563  :
3564  PrevNd(_PrevNd), NextNd(_NextNd), Val(_Val){}
TLstNd * NextNd
Definition: ds.h:3558
TVal Val
Definition: ds.h:3559
TLstNd * PrevNd
Definition: ds.h:3557

Member Function Documentation

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

Definition at line 3572 of file ds.h.

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

3572 {Assert(this!=NULL); return Val;}
TVal Val
Definition: ds.h:3559
#define Assert(Cond)
Definition: bd.h:251

Here is the caller graph for this function:

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

Definition at line 3573 of file ds.h.

3573 {Assert(this!=NULL); return Val;}
TVal Val
Definition: ds.h:3559
#define Assert(Cond)
Definition: bd.h:251
template<class TVal>
bool TLstNd< TVal >::IsNext ( ) const
inline

Definition at line 3569 of file ds.h.

3569 {return (NextNd != NULL); }
TLstNd * NextNd
Definition: ds.h:3558
template<class TVal>
bool TLstNd< TVal >::IsPrev ( ) const
inline

Definition at line 3568 of file ds.h.

3568 {return (PrevNd != NULL); }
TLstNd * PrevNd
Definition: ds.h:3557
template<class TVal>
TLstNd* TLstNd< TVal >::Next ( ) const
inline

Definition at line 3571 of file ds.h.

Referenced by TLst< TVal >::AddFrontSorted(), TCache< TKey, TDat, THashFunc >::FNextKeyDat(), TExpVal::MkClone(), TExpVal::operator<(), TExpVal::operator==(), TExpVal::SaveTxt(), and TLst< TVal >::SearchForw().

3571 {Assert(this!=NULL); return NextNd;}
TLstNd * NextNd
Definition: ds.h:3558
#define Assert(Cond)
Definition: bd.h:251

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 3570 of file ds.h.

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

3570 {Assert(this!=NULL); return PrevNd;}
#define Assert(Cond)
Definition: bd.h:251
TLstNd * PrevNd
Definition: ds.h:3557

Here is the caller graph for this function:

Member Data Documentation


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