SNAP Library 2.1, User Reference  2013-09-25 10:47:25
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 3547 of file ds.h.


Constructor & Destructor Documentation

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

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

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

Member Function Documentation

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

Definition at line 3564 of file ds.h.

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

Definition at line 3565 of file ds.h.

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

Definition at line 3561 of file ds.h.

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

Definition at line 3560 of file ds.h.

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

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

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

Member Data Documentation

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

Definition at line 3550 of file ds.h.

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

Definition at line 3549 of file ds.h.

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

Definition at line 3551 of file ds.h.


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