SNAP Library , Developer Reference
2013-01-07 14:03:36
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <ds.h>
Public Member Functions | |
TSStack () | |
TSStack (const int &MxVals) | |
TSStack (const TSStack &Stack) | |
TSStack (TSIn &SIn) | |
void | Save (TSOut &SOut) const |
TSStack & | operator= (const TSStack &Stack) |
bool | operator== (const TSStack &Stack) const |
const TVal & | operator[] (const int &ValN) const |
TVal & | operator[] (const int &ValN) |
bool | Empty () |
void | Clr (const bool &DoDel=false) |
bool | IsIn (const TVal &Val) const |
int | Len () |
TVal & | Top () |
const TVal & | Top () const |
void | Push () |
void | Push (const TVal &Val) |
void | Pop () |
Private Attributes | |
TVec< TVal > | ValV |
Definition at line 2090 of file ds.h.
Referenced by TSnap::GetBetweennessCentr().
{ValV.Clr(DoDel);}
Definition at line 2089 of file ds.h.
Referenced by TBiConVisitor::FinishNode(), TSnap::GetBetweennessCentr(), THttpLx::GetCh(), TCnCom::GetDfsVisitor(), THttpLx::GetRest(), TILx::GetSIn(), TILx::GetSym(), and TILx::PeekSym().
{return ValV.Len()==0;}
Definition at line 2092 of file ds.h.
Referenced by THttpLx::Len().
{return ValV.Len();}
const TVal& TSStack< TVal >::operator[] | ( | const int & | ValN | ) | const [inline] |
TVal& TSStack< TVal >::operator[] | ( | const int & | ValN | ) | [inline] |
Definition at line 2097 of file ds.h.
Referenced by TBiConVisitor::FinishNode(), TSccVisitor< PGraph, OnlyCount >::FinishNode(), TSnap::GetBetweennessCentr(), THttpLx::GetCh(), TCnCom::GetDfsVisitor(), TILx::GetSym(), and TILx::PeekSym().
Definition at line 2095 of file ds.h.
Referenced by TBiConVisitor::BackEdge(), TSccVisitor< PGraph, OnlyCount >::DiscoverNode(), TSnap::GetBetweennessCentr(), TCnCom::GetDfsVisitor(), TILx::PeekSym(), THttpLx::PutCh(), TILx::PutSym(), and TBiConVisitor::TreeEdge().
{ValV.Add();}
Definition at line 2093 of file ds.h.
Referenced by TBiConVisitor::FinishNode(), TSccVisitor< PGraph, OnlyCount >::FinishNode(), TSnap::GetBetweennessCentr(), THttpLx::GetCh(), TCnCom::GetDfsVisitor(), TILx::GetSym(), and TILx::PeekSym().
Definition at line 2075 of file ds.h.
Referenced by TSStack< TInt >::Clr(), TSStack< TInt >::Empty(), TSStack< TInt >::IsIn(), TSStack< TInt >::Len(), TSStack< TInt >::operator=(), TSStack< TInt >::operator[](), TSStack< TInt >::Pop(), TSStack< TInt >::Push(), TSStack< TInt >::Save(), and TSStack< TInt >::Top().