SNAP Library 6.0, Developer Reference
2020-12-09 16:24:20
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <wch.h>
Public Member Functions | |
TWChA (const int &MxWChs=0) | |
TWChA (const TWChA &WChA) | |
TWChA (const TWChV &_WChV) | |
TWChA (const char *CStr) | |
TWChA (const TChA &ChA) | |
TWChA (const TStr &Str) | |
~TWChA () | |
TWChA (TSIn &SIn) | |
void | Save (TSOut &SOut) |
TWChA & | operator= (const TWChA &WChA) |
TWChA & | operator= (const char *CStr) |
TWChA & | operator= (const TChA &ChA) |
TWChA & | operator= (const TStr &Str) |
bool | operator== (const TWChA &WChA) const |
bool | operator== (const char *CStr) const |
TWChA & | operator+= (const char &Ch) |
TWChA & | operator+= (const TWCh &WCh) |
TWChA & | operator+= (const char *CStr) |
TWChA & | operator+= (const TChA &ChA) |
TWChA & | operator+= (const TStr &Str) |
TWChA & | operator+= (const TWChA &WChA) |
TWCh | operator[] (const int &ChN) const |
int | GetMemUsed () |
void | Clr () |
int | Len () const |
bool | Empty () const |
TStr | GetStr () const |
void | GetSubWChA (const int &BChN, const int &EChN, TWChA &WChA) const |
void | InsStr (const int &BChN, const TStr &Str) |
void | DelSubStr (const int &BChN, const int &EChN) |
bool | DelStr (const TStr &Str) |
void | SplitOnCh (TStr &LStr, const char &SplitCh, TStr &RStr) const |
int | SearchCh (const TWCh &WCh, const int &BChN=0) const |
int | SearchStr (const TWChA &WChA, const int &BChN=0) const |
bool | IsChIn (const char &Ch) const |
bool | IsStrIn (const TWChA &WChA) const |
bool | IsPrefix (const TWChA &WChA) const |
bool | IsSufix (const TWChA &WChA) const |
int | ChangeStr (const TStr &SrcStr, const TStr &DstStr, const int &BChN=0) |
int | ChangeStrAll (const TStr &SrcStr, const TStr &DstStr) |
void | SaveTxt (const PSOut &SOut) const |
Static Public Member Functions | |
static void | LoadTxt (const PSIn &SIn, TWChA &WChA) |
Static Public Attributes | |
static TWChA | EmptyWChA |
Private Member Functions | |
void | AddCStr (const char *CStr) |
void | PutCStr (const char *CStr) |
Private Attributes | |
TWChV | WChV |
|
inline |
|
inline |
|
inline |
Definition at line 62 of file wch.h.
References TChA::CStr(), and PutCStr().
|
inline |
Definition at line 63 of file wch.h.
References TStr::CStr(), and PutCStr().
|
private |
Definition at line 15 of file wch.cpp.
References TVec< TVal, TSizeTy >::Add(), and WChV.
Referenced by operator+=().
|
inline |
Definition at line 84 of file wch.h.
References TVec< TVal, TSizeTy >::Clr().
Referenced by LoadTxt().
bool TWChA::DelStr | ( | const TStr & | Str | ) |
void TWChA::DelSubStr | ( | const int & | BChN, |
const int & | EChN | ||
) |
|
inline |
Definition at line 86 of file wch.h.
References TVec< TVal, TSizeTy >::Empty().
|
inline |
Definition at line 82 of file wch.h.
References TVec< TVal, TSizeTy >::GetMemUsed().
TStr TWChA::GetStr | ( | ) | const |
Definition at line 28 of file wch.cpp.
References TVec< TVal, TSizeTy >::Len(), and WChV.
Referenced by operator==().
|
inline |
Definition at line 89 of file wch.h.
References TVec< TVal, TSizeTy >::GetSubValV(), and WChV.
void TWChA::InsStr | ( | const int & | BChN, |
const TStr & | Str | ||
) |
|
inline |
Definition at line 100 of file wch.h.
References SearchCh().
|
inline |
Definition at line 102 of file wch.h.
References TVec< TVal, TSizeTy >::GetSubValV(), Len(), and WChV.
|
inline |
Definition at line 101 of file wch.h.
References SearchStr().
|
inline |
Definition at line 105 of file wch.h.
References TVec< TVal, TSizeTy >::GetSubValV(), Len(), and WChV.
|
inline |
Definition at line 85 of file wch.h.
References TVec< TVal, TSizeTy >::Len().
Referenced by IsPrefix(), and IsSufix().
Definition at line 35 of file wch.cpp.
References Clr(), TSIn::Eof(), IAssert, TWCh::LoadTxt(), and TWCh::StartWCh.
|
inline |
Definition at line 75 of file wch.h.
References TVec< TVal, TSizeTy >::Add().
Definition at line 76 of file wch.h.
References TVec< TVal, TSizeTy >::Add().
|
inline |
Definition at line 78 of file wch.h.
References AddCStr(), and TChA::CStr().
Definition at line 79 of file wch.h.
References AddCStr(), and TStr::CStr().
Definition at line 80 of file wch.h.
References TVec< TVal, TSizeTy >::AddV(), and WChV.
|
inline |
Definition at line 71 of file wch.h.
References TChA::CStr(), and PutCStr().
Definition at line 72 of file wch.h.
References TStr::CStr(), and PutCStr().
|
inline |
|
inline |
|
private |
Definition at line 21 of file wch.cpp.
References TVec< TVal, TSizeTy >::Add(), TVec< TVal, TSizeTy >::Gen(), and WChV.
Referenced by operator=(), and TWChA().
|
inline |
Definition at line 66 of file wch.h.
References TVec< TVal, TSizeTy >::Save().
void TWChA::SaveTxt | ( | const PSOut & | SOut | ) | const |
Definition at line 43 of file wch.cpp.
References TVec< TVal, TSizeTy >::Len(), TWCh::SaveTxt(), TWCh::StartWCh, and WChV.
|
inline |
Definition at line 96 of file wch.h.
References TVec< TVal, TSizeTy >::SearchForw().
Referenced by IsChIn().
|
inline |
Definition at line 98 of file wch.h.
References TVec< TVal, TSizeTy >::SearchVForw(), and WChV.
Referenced by IsStrIn().
|
private |
Definition at line 54 of file wch.h.
Referenced by AddCStr(), GetStr(), GetSubWChA(), IsPrefix(), IsSufix(), operator+=(), operator=(), operator==(), PutCStr(), SaveTxt(), and SearchStr().