SNAP Library 2.2, Developer Reference
2014-03-11 19:15:55
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <ds.h>
Public Member Functions | |
PVec () | |
PVec (const PVec< TVal > &Vec) | |
PVec (const int &MxVals, const int &Vals) | |
PVec (const TVec< TVal > &_V) | |
PVec (TSIn &SIn) | |
void | Save (TSOut &SOut) const |
PVec< TVal > & | operator= (const PVec< TVal > &Vec) |
bool | operator== (const PVec< TVal > &Vec) const |
bool | operator< (const PVec< TVal > &Vec) const |
TVal & | operator[] (const int &ValN) const |
bool | Empty () const |
int | Len () const |
TVal | GetVal (const int &ValN) const |
int | Add (const TVal &Val) |
Static Public Member Functions | |
static TPt< PVec< TVal > > | New () |
static TPt< PVec< TVal > > | New (const int &MxVals, const int &Vals) |
static TPt< PVec< TVal > > | New (const TVec< TVal > &V) |
static TPt< PVec< TVal > > | Load (TSIn &SIn) |
Public Attributes | |
TVec< TVal > | V |
Private Attributes | |
TCRef | CRef |
Friends | |
class | TPt< PVec< TVal > > |
Definition at line 3083 of file ds.h.
References TVec< TVal, TSizeTy >::Add(), and PVec< TVal >::V.
Definition at line 3079 of file ds.h.
References TVec< TVal, TSizeTy >::Empty(), and PVec< TVal >::V.
Definition at line 3080 of file ds.h.
References TVec< TVal, TSizeTy >::Len(), and PVec< TVal >::V.
Definition at line 3070 of file ds.h.
{return new PVec<TVal>(SIn);}
Definition at line 3061 of file ds.h.
Referenced by TSs::LoadTxt().
{ return new PVec<TVal>();}
static TPt<PVec<TVal> > PVec< TVal >::New | ( | const int & | MxVals, |
const int & | Vals | ||
) | [inline, static] |
Definition at line 3064 of file ds.h.
{ return new PVec<TVal>(MxVals, Vals);}
Definition at line 3073 of file ds.h.
References PVec< TVal >::V.
TVal& PVec< TVal >::operator[] | ( | const int & | ValN | ) | const [inline] |
Definition at line 3071 of file ds.h.
References TVec< TVal, TSizeTy >::Save(), and PVec< TVal >::V.
Definition at line 3057 of file ds.h.
Referenced by PVec< TVal >::Add(), PVec< TVal >::Empty(), PVec< TVal >::GetVal(), PVec< TVal >::Len(), PVec< TVal >::New(), PVec< TVal >::operator<(), PVec< TVal >::operator=(), PVec< TVal >::operator==(), PVec< TVal >::operator[](), and PVec< TVal >::Save().