SNAP Library 2.2, User Reference
2014-03-11 19:15:55
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <pp.h>
Static Public Member Functions | |
static TStr | GetStr (const int &Tag) |
static TPpTagVal | GetTag (const TStr &Str) |
static TPpTagVal | LoadTxt (TILx &Lx) |
static void | SaveTxt (TOLx &Lx, const TInt &Tag) |
static void | SaveTxt (TOLx &Lx, const int &Tag) |
TStr TPpTag::GetStr | ( | const int & | Tag | ) | [static] |
TPpTagVal TPpTag::GetTag | ( | const TStr & | Str | ) | [static] |
Definition at line 17 of file pp.cpp.
{ if (Str=="Undef"){return ptUndef;} else if (Str=="Bool"){return ptBool;} else if (Str=="Int"){return ptInt;} else if (Str=="Flt"){return ptFlt;} else if (Str=="Str"){return ptStr;} else if (Str=="ValV"){return ptValV;} else if (Str=="Sel"){return ptSel;} else if (Str=="Set"){return ptSet;} else {Fail; return ptUndef;} }
static TPpTagVal TPpTag::LoadTxt | ( | TILx & | Lx | ) | [inline, static] |
static void TPpTag::SaveTxt | ( | TOLx & | Lx, |
const TInt & | Tag | ||
) | [inline, static] |
static void TPpTag::SaveTxt | ( | TOLx & | Lx, |
const int & | Tag | ||
) | [inline, static] |