SNAP Library 2.0, User Reference
2013-05-13 16:33:57
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 3056 of file ds.h.
{return new PVec<TVal>(SIn);}
Definition at line 3047 of file ds.h.
{ return new PVec<TVal>();}
static TPt<PVec<TVal> > PVec< TVal >::New | ( | const int & | MxVals, |
const int & | Vals | ||
) | [inline, static] |
Definition at line 3050 of file ds.h.
{ return new PVec<TVal>(MxVals, Vals);}
static TPt<PVec<TVal> > PVec< TVal >::New | ( | const TVec< TVal > & | V | ) | [inline, static] |
Definition at line 3053 of file ds.h.
{ return new PVec<TVal>(V);}
TVal& PVec< TVal >::operator[] | ( | const int & | ValN | ) | const [inline] |