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 <dt.h>
Public Member Functions | |
TRStr () | |
TRStr (const int &Len) | |
TRStr (const char *CStr) | |
TRStr (const char *CStr, const int &MxLen) | |
TRStr (const char *CStr1, const char *CStr2) | |
TRStr (const char &Ch) | |
TRStr (const char &Ch1, const char &Ch2) | |
~TRStr () | |
TRStr (TSIn &SIn, const bool &IsSmall) | |
void | Save (TSOut &SOut, const bool &IsSmall) const |
TRStr & | operator= (const TRStr &) |
int | GetMemUsed () const |
void | MkRef () |
void | UnRef () |
const char * | CStr () const |
char * | CStr () |
bool | Empty () const |
int | Len () const |
void | PutCh (const int &ChN, const char &Ch) |
char | GetCh (const int &ChN) const |
bool | IsUc () const |
void | ToUc () |
bool | IsLc () const |
void | ToLc () |
void | ToCap () |
void | ConvUsFromYuAscii () |
int | GetPrimHashCd () const |
int | GetSecHashCd () const |
Static Public Member Functions | |
static int | CmpI (const char *CStr1, const char *CStr2) |
static TRStr * | GetNullRStr () |
Public Attributes | |
char * | Bf |
int | Refs |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 365 of file dt.h.
References Assert, Bf, and GetNullRStr().
|
inlineexplicit |
Definition at line 368 of file dt.h.
References TSIn::Load().
|
static |
Definition at line 699 of file dt.cpp.
Referenced by TStr::CmpI(), and TStr::EqI().
void TRStr::ConvUsFromYuAscii | ( | ) |
Definition at line 693 of file dt.cpp.
References Bf, TCh::GetUsFromYuAscii(), and Len().
Referenced by TStr::ConvUsFromYuAscii().
|
inline |
Definition at line 381 of file dt.h.
References Bf.
Referenced by TStr::ChangeChAll(), TStr::ConvUsFromYuAscii(), TStr::CStr(), TStr::operator!=(), TStr::operator()(), TStr::operator+=(), TStr::operator<(), TStr::operator==(), TStr::Optimize(), TStr::PutCh(), TStr::ToCap(), TStr::ToLc(), and TStr::ToUc().
|
inline |
|
inline |
|
inline |
Definition at line 388 of file dt.h.
Referenced by TStr::GetCh(), and TStr::operator[]().
|
inline |
|
inlinestatic |
Definition at line 402 of file dt.h.
Referenced by TStr::Clr(), TStr::GetRStr(), TStr::Optimize(), TStr::TStr(), and ~TRStr().
int TRStr::GetPrimHashCd | ( | ) | const |
Definition at line 709 of file dt.cpp.
References Bf, and TStrHashF_DJB::GetPrimHashCd().
Referenced by TStr::GetPrimHashCd().
int TRStr::GetSecHashCd | ( | ) | const |
Definition at line 713 of file dt.cpp.
References Bf, and TStrHashF_DJB::GetSecHashCd().
Referenced by TStr::GetSecHashCd().
bool TRStr::IsLc | ( | ) | const |
Definition at line 672 of file dt.cpp.
Referenced by TStr::IsLc().
bool TRStr::IsUc | ( | ) | const |
Definition at line 660 of file dt.cpp.
Referenced by TStr::IsUc().
|
inline |
|
inline |
Definition at line 378 of file dt.h.
Referenced by TStr::ChangeChAll(), TStr::Clr(), TStr::ConvUsFromYuAscii(), TStr::operator+=(), TStr::operator=(), TStr::Optimize(), TStr::PutCh(), TStr::ToCap(), TStr::ToLc(), TStr::ToUc(), and TStr::TStr().
|
inline |
Definition at line 386 of file dt.h.
Referenced by TStr::PutCh().
|
inline |
Definition at line 371 of file dt.h.
References TSOut::Save().
Referenced by TStr::Save().
void TRStr::ToCap | ( | ) |
Definition at line 685 of file dt.cpp.
Referenced by TStr::ToCap().
void TRStr::ToLc | ( | ) |
Definition at line 679 of file dt.cpp.
Referenced by TStr::ToLc().
void TRStr::ToUc | ( | ) |
Definition at line 667 of file dt.cpp.
Referenced by TStr::ToUc().
|
inline |
Definition at line 379 of file dt.h.
References Assert.
Referenced by TStr::ChangeChAll(), TStr::Clr(), TStr::ConvUsFromYuAscii(), TStr::operator+=(), TStr::operator=(), TStr::Optimize(), TStr::PutCh(), TStr::ToCap(), TStr::ToLc(), TStr::ToUc(), and TStr::~TStr().
char* TRStr::Bf |
Definition at line 348 of file dt.h.
Referenced by ConvUsFromYuAscii(), CStr(), TStr::FromHex(), GetNullRStr(), GetPrimHashCd(), GetSecHashCd(), IsLc(), TStr::IsPrefix(), TStr::IsSuffix(), IsUc(), ToCap(), TStr::ToHex(), ToLc(), ToUc(), and ~TRStr().