16 TWCh(
const int& _MsVal,
const int& _LsVal):
18 operator char()
const {
return LsVal;}
38 return TWCh(MsVal, LsVal);}
69 if (
this!=&WChA){
WChV=WChA.
WChV;}
return *
this;}
92 void DelSubStr(
const int& BChN,
const int& EChN);
104 return SubWChV==WChA.
WChV;}
107 return SubWChV==WChA.
WChV;}
static void LoadTxt(const PSIn &SIn, TWChA &WChA)
TWChA & operator+=(const TChA &ChA)
virtual int PutCh(const char &Ch)=0
TWChA & operator+=(const TWCh &WCh)
TWChA & operator+=(const char &Ch)
TSizeTy Len() const
Returns the number of elements in the vector.
int ChangeStrAll(const TStr &SrcStr, const TStr &DstStr)
int GetPrimHashCd() const
static const TWCh SpaceWCh
void InsStr(const int &BChN, const TStr &Str)
TWChA & operator=(const char *CStr)
TWChA & operator=(const TWChA &WChA)
TSizeTy GetMemUsed() const
Returns the memory footprint (the number of bytes) of the vector.
static const TWCh StartWCh
void Save(TSOut &SOut) const
void SplitOnCh(TStr &LStr, const char &SplitCh, TStr &RStr) const
int ChangeStr(const TStr &SrcStr, const TStr &DstStr, const int &BChN=0)
TWChA & operator=(const TChA &ChA)
void Save(TSOut &SOut) const
bool Empty() const
Tests whether the vector is empty.
bool operator<(const TWCh &WCh) const
bool DelStr(const TStr &Str)
bool IsSufix(const TWChA &WChA) const
bool operator==(const TWCh &WCh) const
bool operator==(const char *CStr) const
TWCh(const int &_MsVal, const int &_LsVal)
void Clr(const bool &DoDel=true, const TSizeTy &NoDelLim=-1)
Clears the contents of the vector.
TWCh & operator=(const TWCh &WCh)
TSizeTy SearchVForw(const TVec< TVal, TSizeTy > &ValV, const TSizeTy &BValN=0) const
Returns the starting position of vector ValV.
TWChA & operator=(const TStr &Str)
void PutCStr(const char *CStr)
int SearchStr(const TWChA &WChA, const int &BChN=0) const
TWCh(const uchar &_MsVal, const uchar &_LsVal)
TWCh(const uchar &_LsVal)
void Save(const bool &Bool)
TWChA & operator+=(const char *CStr)
bool IsStrIn(const TWChA &WChA) const
void SaveTxt(const PSOut &SOut) const
TWCh operator[](const int &ChN) const
TWChA(const TWChV &_WChV)
TSizeTy SearchForw(const TVal &Val, const TSizeTy &BValN=0) const
Returns the position of an element with value Val.
void GetSubWChA(const int &BChN, const int &EChN, TWChA &WChA) const
static TWCh LoadTxt(const PSIn &SIn)
void SaveTxt(const PSOut &SOut) const
void AddCStr(const char *CStr)
bool IsChIn(const char &Ch) const
TWChA & operator+=(const TWChA &WChA)
bool IsPrefix(const TWChA &WChA) const
TWChA & operator+=(const TStr &Str)
void DelSubStr(const int &BChN, const int &EChN)
TSizeTy Add()
Adds a new element at the end of the vector, after its current last element.
TWChA(const int &MxWChs=0)
bool operator==(const TWChA &WChA) const
int SearchCh(const TWCh &WCh, const int &BChN=0) const
TSizeTy AddV(const TVec< TVal, TSizeTy > &ValV)
Adds the elements of the vector ValV to the to end of the vector.
void GetSubValV(const TSizeTy &BValN, const TSizeTy &EValN, TVec< TVal, TSizeTy > &ValV) const
Fills ValV with elements at positions BValN...EValN.