SNAP Library 3.0, Developer Reference
2016-07-20 17:56:49
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <ds.h>
Public Member Functions | |
TTuple () | |
TTuple (const TVal &InitVal) | |
TTuple (const TTuple &Tup) | |
TTuple (TSIn &SIn) | |
void | Save (TSOut &SOut) const |
void | Load (TSIn &SIn) |
int | Len () const |
TVal & | operator[] (const int &ValN) |
const TVal & | operator[] (const int &ValN) const |
TTuple & | operator= (const TTuple &Tup) |
bool | operator== (const TTuple &Tup) const |
bool | operator< (const TTuple &Tup) const |
void | Sort (const bool &Asc=true) |
int | FindMx () const |
int | FindMn () const |
int | GetPrimHashCd () const |
int | GetSecHashCd () const |
TStr | GetStr () const |
Private Attributes | |
TVal | ValV [NVals] |
Definition at line 276 of file ds.h.
References TTuple< TVal, NVals >::Len(), and TTuple< TVal, NVals >::ValV.
|
inline |
Definition at line 277 of file ds.h.
References TTuple< TVal, NVals >::Len(), and TTuple< TVal, NVals >::ValV.
Definition at line 278 of file ds.h.
References TTuple< TVal, NVals >::Len(), TTuple< TVal, NVals >::Load(), and TTuple< TVal, NVals >::ValV.
int TTuple< TVal, NVals >::FindMn | ( | ) | const |
int TTuple< TVal, NVals >::FindMx | ( | ) | const |
|
inline |
Definition at line 297 of file ds.h.
References TPairHashImpl2::GetHashCd(), and TTuple< TVal, NVals >::ValV.
|
inline |
Definition at line 300 of file ds.h.
References TPairHashImpl2::GetHashCd(), and TTuple< TVal, NVals >::ValV.
Definition at line 305 of file ds.h.
References TStr::Fmt(), TTuple< TVal, NVals >::Len(), and TTuple< TVal, NVals >::ValV.
|
inline |
Definition at line 282 of file ds.h.
Referenced by TTuple< TVal, NVals >::GetStr(), TTuple< TVal, NVals >::Load(), TTuple< TVal, NVals >::operator<(), TTuple< TVal, NVals >::operator=(), TTuple< TVal, NVals >::operator==(), TTuple< TVal, NVals >::Save(), and TTuple< TVal, NVals >::TTuple().
Definition at line 280 of file ds.h.
References TTuple< TVal, NVals >::Len(), TTuple< TVal, NVals >::Load(), and TTuple< TVal, NVals >::ValV.
Referenced by TTuple< TVal, NVals >::Load(), and TTuple< TVal, NVals >::TTuple().
|
inline |
Definition at line 290 of file ds.h.
References TTuple< TVal, NVals >::Len(), and TTuple< TVal, NVals >::ValV.
|
inline |
Definition at line 285 of file ds.h.
References TTuple< TVal, NVals >::Len(), and TTuple< TVal, NVals >::ValV.
|
inline |
Definition at line 287 of file ds.h.
References TTuple< TVal, NVals >::Len(), and TTuple< TVal, NVals >::ValV.
|
inline |
|
inline |
Definition at line 279 of file ds.h.
References TTuple< TVal, NVals >::Len(), TTuple< TVal, NVals >::Save(), and TTuple< TVal, NVals >::ValV.
Referenced by TTuple< TVal, NVals >::Save().
void TTuple< TVal, NVals >::Sort | ( | const bool & | Asc = true | ) |
Definition at line 311 of file ds.h.
References TVec< TVal, TSizeTy >::Add(), and TVec< TVal, TSizeTy >::Sort().
|
private |
Definition at line 273 of file ds.h.
Referenced by TTuple< TVal, NVals >::GetPrimHashCd(), TTuple< TVal, NVals >::GetSecHashCd(), TTuple< TVal, NVals >::GetStr(), TTuple< TVal, NVals >::Load(), TTuple< TVal, NVals >::operator<(), TTuple< TVal, NVals >::operator=(), TTuple< TVal, NVals >::operator==(), TTuple< TVal, NVals >::operator[](), TTuple< TVal, NVals >::Save(), and TTuple< TVal, NVals >::TTuple().