SNAP Library, User Reference  2012-10-02 12:56:23
SNAP, a general purpose network analysis and graph mining library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
TEnv Class Reference

List of all members.

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)
TEnvoperator= (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)
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
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)

Constructor & Destructor Documentation

TEnv::TEnv ( ) [inline]
TEnv::TEnv ( const TEnv )
TEnv::TEnv ( const int &  _Args,
char **  _ArgV,
const PNotify &  _Notify = NULL 
)
TEnv::TEnv ( const TStr _ArgStr,
const PNotify &  _Notify = NULL 
)

Member Function Documentation

TStr TEnv::GetArg ( const int &  ArgN) const [inline]
TStr TEnv::GetArgPostfix ( const TStr PrefixStr) const
int TEnv::GetArgs ( ) const [inline]
TStr TEnv::GetCmLn ( const int &  FromArgN = 1) const
TStr TEnv::GetExeFNm ( ) const
TStr TEnv::GetExeFPath ( ) const [inline]
TStr TEnv::GetHdStr ( ) const [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
TIntV TEnv::GetIfArgPrefixIntV ( const TStr PrefixStr,
const TStr DNm = "" 
) const [inline]
TStr TEnv::GetIfArgPrefixStr ( const TStr PrefixStr,
const TStr DfVal = "",
const TStr DNm = "" 
) const
TStrV TEnv::GetIfArgPrefixStrV ( const TStr PrefixStr,
TStrV DfValV,
const TStr DNm = "" 
) const
TStrV TEnv::GetIfArgPrefixStrV ( const TStr PrefixStr,
const TStr DNm = "" 
) const [inline]
int TEnv::GetMnArgs ( ) const [inline]
int TEnv::GetPrefixArgN ( const TStr PrefixStr) const
void TEnv::GetVarNmV ( TStrV VarNmV)
void TEnv::GetVarNmValV ( TStrV NmValV)
TStr TEnv::GetVarVal ( const TStr VarNm) const
bool TEnv::IsArgPrefix ( const TStr PrefixStr) const [inline]
bool TEnv::IsArgStr ( const TStr ArgStr)
bool TEnv::IsEndOfRun ( ) const
bool TEnv::IsSilent ( ) const [inline]
TEnv& TEnv::operator= ( const TEnv Env) [inline]
void TEnv::PrepArgs ( const TStr _HdStr = TStr(),
const int &  _MnArgs = 1,
const bool &  SilentP = false 
)
void TEnv::PutVarVal ( const TStr VarNm,
const TStr VarVal 
) [static]

The documentation for this class was generated from the following files: