|
SNAP Library 2.3, User Reference
2014-06-16 11:58:46
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <macro.h>
Public Member Functions | |
| TMacro (const TStr &TxtStr, const char &_MacroCh='$', const char &_VarCh='#') | |
| ~TMacro () | |
| TMacro (TSIn &) | |
| void | Save (TSOut &) const |
| TMacro & | operator= (const TMacro &) |
| bool | IsOk () const |
| TStr | GetMsgStr () const |
| TStr | GetSrcTxtStr () const |
| TStr | GetDstTxtStr () const |
| int | GetSubstStrs () const |
| TStr | GetSrcSubstStr (const int &SubstStrN) const |
| bool | IsSrcSubstStr (const TStr &SrcSubstStr, int &SubstStrN) const |
| int | GetSrcSubstStrN (const TStr &SrcSubstStr) const |
| void | GetSrcSubstStrV (TStrV &SubstStrV) const |
| TStr | GetDstSubstStr (const int &SubstStrN=0) const |
| void | PutSubstValStr (const int &SubstStrN, const TStr &ValStr) |
| TStr | GetSubstValStr (const int &SubstStrN) const |
| TStr | GetAllSubstValStr () const |
| int | GetVars () const |
| TStr | GetVarNm (const int &VarN) const |
| void | GetVarNmV (TStrV &VarNmV) const |
| void | PutVarVal (const TStr &VarNm, const TStr &ValStr) |
| TStr | GetVarVal (const TStr &VarNm) const |
Static Public Member Functions | |
| static PMacro | New (const TStr &TxtStr, const char &MacroCh='$', const char &VarCh='#') |
| static PMacro | Load (TSIn &) |
| static void | SplitVarNm (const TStr &VarNm, TStr &CapStr, bool &IsComboBox, TStr &TbNm, TStr &ListFldNm, TStr &DataFldNm) |
Public Attributes | |
| bool | Ok |
| TStr | MsgStr |
| char | MacroCh |
| char | VarCh |
| TStr | TxtStr |
| TStrStrH | SubstToValStrH |
| TStrStrH | VarNmToValStrH |
Private Attributes | |
| TCRef | CRef |
Friends | |
| class | TPt< TMacro > |
| TMacro::TMacro | ( | const TStr & | TxtStr, |
| const char & | _MacroCh = '$', |
||
| const char & | _VarCh = '#' |
||
| ) |
|
inline |
| TStr TMacro::GetDstSubstStr | ( | const int & | SubstStrN = 0 | ) | const |
|
inline |
|
inline |
| void TMacro::GetSrcSubstStrV | ( | TStrV & | SubstStrV | ) | const |
|
inline |
| void TMacro::GetVarNmV | ( | TStrV & | VarNmV | ) | const |
|
inline |
|
inlinestatic |
Definition at line 16 of file macro.h.
|
inline |
|
inline |
|
static |