|
SNAP Library 2.4, User Reference
2015-05-11 19:40:56
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <env.h>
Public Member Functions | |
| TEnv () | |
| TEnv (const TEnv &) | |
| TEnv (const int &_Args, char **_ArgV, const PNotify &_Notify=NULL) | |
| TEnv (const TStr &_ArgStr, const PNotify &_Notify=NULL) | |
| TEnv & | operator= (const TEnv &Env) |
| int | GetArgs () const |
| TStr | GetArg (const int &ArgN) const |
| TStr | GetExeFNm () const |
| TStr | GetExeFPath () const |
| TStr | GetCmLn (const int &FromArgN=1) const |
| bool | IsSilent () const |
| int | GetPrefixArgN (const TStr &PrefixStr) const |
| bool | IsArgPrefix (const TStr &PrefixStr) const |
| TStr | GetArgPostfix (const TStr &PrefixStr) const |
| void | PrepArgs (const TStr &_HdStr=TStr(), const int &_MnArgs=1, const bool &SilentP=false) |
| TStr | GetHdStr () const |
| int | GetMnArgs () const |
| bool | IsEndOfRun () const |
| bool | IsArgStr (const TStr &ArgStr) |
| bool | IsArgStr (const TStr &ArgStr, const TStr &DNm) |
| TStr | GetIfArgPrefixStr (const TStr &PrefixStr, const TStr &DfVal="", const TStr &DNm="") const |
| TStrV | GetIfArgPrefixStrV (const TStr &PrefixStr, TStrV &DfValV, const TStr &DNm="") const |
| TStrV | GetIfArgPrefixStrV (const TStr &PrefixStr, const TStr &DNm="") const |
| TStrSet | GetIfArgPrefixStrSet (const TStr &PrefixStr, TStrV &DfValV, const TStr &DNm="") const |
| TStrSet | GetIfArgPrefixStrSet (const TStr &PrefixStr, const TStr &DNm="") const |
| bool | GetIfArgPrefixBool (const TStr &PrefixStr, const bool &DfVal=false, const TStr &DNm="") const |
| int | GetIfArgPrefixInt (const TStr &PrefixStr, const int &DfVal=0, const TStr &DNm="") const |
| TIntV | GetIfArgPrefixIntV (const TStr &PrefixStr, TIntV &DfValV, const TStr &DNm="") const |
| TIntV | GetIfArgPrefixIntV (const TStr &PrefixStr, const TStr &DNm="") const |
| double | GetIfArgPrefixFlt (const TStr &PrefixStr, const double &DfVal=0, const TStr &DNm="") const |
| TStr | GetVarVal (const TStr &VarNm) const |
| void | GetVarNmV (TStrV &VarNmV) |
| void | GetVarNmValV (TStrV &NmValV) |
Static Public Member Functions | |
| static void | PutVarVal (const TStr &VarNm, const TStr &VarVal) |
Private Attributes | |
| TStrV | ArgV |
| TStr | HdStr |
| int | MnArgs |
| bool | SilentP |
| PNotify | Notify |
| TEnv::TEnv | ( | const TEnv & | ) |
| TEnv::TEnv | ( | const int & | _Args, |
| char ** | _ArgV, | ||
| const PNotify & | _Notify = NULL |
||
| ) |
Definition at line 9 of file env.cpp.
|
inline |
|
inline |
| bool TEnv::GetIfArgPrefixBool | ( | const TStr & | PrefixStr, |
| const bool & | DfVal = false, |
||
| const TStr & | DNm = "" |
||
| ) | const |
| double TEnv::GetIfArgPrefixFlt | ( | const TStr & | PrefixStr, |
| const double & | DfVal = 0, |
||
| const TStr & | DNm = "" |
||
| ) | const |
| int TEnv::GetIfArgPrefixInt | ( | const TStr & | PrefixStr, |
| const int & | DfVal = 0, |
||
| const TStr & | DNm = "" |
||
| ) | const |
| TIntV TEnv::GetIfArgPrefixIntV | ( | const TStr & | PrefixStr, |
| TIntV & | DfValV, | ||
| const TStr & | DNm = "" |
||
| ) | const |
Definition at line 231 of file env.cpp.
Definition at line 62 of file env.h.
| TStr TEnv::GetIfArgPrefixStr | ( | const TStr & | PrefixStr, |
| const TStr & | DfVal = "", |
||
| const TStr & | DNm = "" |
||
| ) | const |
|
inline |
Definition at line 55 of file env.h.
Definition at line 57 of file env.h.
| TStrV TEnv::GetIfArgPrefixStrV | ( | const TStr & | PrefixStr, |
| TStrV & | DfValV, | ||
| const TStr & | DNm = "" |
||
| ) | const |
Definition at line 53 of file env.h.
| void TEnv::GetVarNmV | ( | TStrV & | VarNmV | ) |
Definition at line 272 of file env.cpp.
| void TEnv::GetVarNmValV | ( | TStrV & | NmValV | ) |
| void TEnv::PrepArgs | ( | const TStr & | _HdStr = TStr(), |
| const int & | _MnArgs = 1, |
||
| const bool & | SilentP = false |
||
| ) |
Definition at line 46 of file env.cpp.