SNAP Library 2.4, User Reference  2015-05-11 19:40:56
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>

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

Constructor & Destructor Documentation

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

Definition at line 2570 of file ds.h.

2570 : PrevNd(NULL), NextNd(NULL), Val(){}
TLstNd * NextNd
Definition: ds.h:2567
TVal Val
Definition: ds.h:2568
TLstNd * PrevNd
Definition: ds.h:2566
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 2572 of file ds.h.

2572  :
2573  PrevNd(_PrevNd), NextNd(_NextNd), Val(_Val){}
TLstNd * NextNd
Definition: ds.h:2567
TVal Val
Definition: ds.h:2568
TLstNd * PrevNd
Definition: ds.h:2566

Member Function Documentation

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

Definition at line 2581 of file ds.h.

2581 {Assert(this!=NULL); return Val;}
TVal Val
Definition: ds.h:2568
#define Assert(Cond)
Definition: bd.h:251
template<class TVal>
const TVal& TLstNd< TVal >::GetVal ( ) const
inline

Definition at line 2582 of file ds.h.

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

Definition at line 2578 of file ds.h.

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

Definition at line 2577 of file ds.h.

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

Definition at line 2580 of file ds.h.

2580 {Assert(this!=NULL); return NextNd;}
TLstNd * NextNd
Definition: ds.h:2567
#define Assert(Cond)
Definition: bd.h:251
template<class TVal>
TLstNd& TLstNd< TVal >::operator= ( const TLstNd< TVal > &  )
template<class TVal>
TLstNd* TLstNd< TVal >::Prev ( ) const
inline

Definition at line 2579 of file ds.h.

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

Member Data Documentation

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

Definition at line 2567 of file ds.h.

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

Definition at line 2566 of file ds.h.

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

Definition at line 2568 of file ds.h.


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