SNAP Library 3.0, User Reference  2016-07-20 17:56:49
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 2612 of file ds.h.

Constructor & Destructor Documentation

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

Definition at line 2618 of file ds.h.

2618 : PrevNd(NULL), NextNd(NULL), Val(){}
TLstNd * NextNd
Definition: ds.h:2615
TVal Val
Definition: ds.h:2616
TLstNd * PrevNd
Definition: ds.h:2614
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 2620 of file ds.h.

2620  :
2621  PrevNd(_PrevNd), NextNd(_NextNd), Val(_Val){}
TLstNd * NextNd
Definition: ds.h:2615
TVal Val
Definition: ds.h:2616
TLstNd * PrevNd
Definition: ds.h:2614

Member Function Documentation

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

Definition at line 2629 of file ds.h.

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

Definition at line 2630 of file ds.h.

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

Definition at line 2626 of file ds.h.

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

Definition at line 2625 of file ds.h.

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

Definition at line 2628 of file ds.h.

2628 {Assert(this!=NULL); return NextNd;}
TLstNd * NextNd
Definition: ds.h:2615
#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 2627 of file ds.h.

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

Member Data Documentation

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

Definition at line 2615 of file ds.h.

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

Definition at line 2614 of file ds.h.

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

Definition at line 2616 of file ds.h.


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