SNAP Library 4.0, Developer Reference
2017-07-27 13:18:06
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 277 of file ds.h.
References TTuple< TVal, NVals >::Len(), and TTuple< TVal, NVals >::ValV.
|
inline |
Definition at line 278 of file ds.h.
References TTuple< TVal, NVals >::Len(), and TTuple< TVal, NVals >::ValV.
Definition at line 279 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 298 of file ds.h.
References TPairHashImpl2::GetHashCd(), and TTuple< TVal, NVals >::ValV.
|
inline |
Definition at line 301 of file ds.h.
References TPairHashImpl2::GetHashCd(), and TTuple< TVal, NVals >::ValV.
Definition at line 306 of file ds.h.
References TStr::Fmt(), TTuple< TVal, NVals >::Len(), and TTuple< TVal, NVals >::ValV.
|
inline |
Definition at line 283 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 281 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 291 of file ds.h.
References TTuple< TVal, NVals >::Len(), and TTuple< TVal, NVals >::ValV.
|
inline |
Definition at line 286 of file ds.h.
References TTuple< TVal, NVals >::Len(), and TTuple< TVal, NVals >::ValV.
|
inline |
Definition at line 288 of file ds.h.
References TTuple< TVal, NVals >::Len(), and TTuple< TVal, NVals >::ValV.
|
inline |
|
inline |
Definition at line 280 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 312 of file ds.h.
References TVec< TVal, TSizeTy >::Add(), and TVec< TVal, TSizeTy >::Sort().
|
private |
Definition at line 274 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().