gatelib  2.1
Public Member Functions | Static Public Member Functions | List of all members
g::cont::gstr< T > Class Template Reference

Public Member Functions

 gstr (const gstr &other)
 
 gstr (const T *str, AllocationPolicyAbstract *aAllocPolicyP=AllocationPolicyAbstract::get_FromStandardPolicy())
 
 gstr (const T *str, size_t size, AllocationPolicyAbstract *aAllocPolicyP=AllocationPolicyAbstract::get_FromStandardPolicy())
 
 gstr (const std::basic_string< T > str, size_t size=infinite, AllocationPolicyAbstract *aAllocPolicyP=AllocationPolicyAbstract::get_FromStandardPolicy())
 
gstroperator= (const gstr &other)
 
gstr subset (int start, size_t=0xffffffff) const
 
gstr left (size_t len) const
 
gstr right (size_t len) const
 
bool isLeftLike (const gstr &cfr, bool is_case_sens=true) const
 
bool isRightLike (const gstr &cfr, bool is_case_sens=true) const
 
gstr lTrim () const
 
gstr rTrim () const
 
gstr trim () const
 
gstr lCase () const
 
gstr uCase () const
 
size_t getLength () const
 
void plot () const
 
void plotLine () const
 
size_t getIndexOf (const gstr &str, size_t index=0, bool is_case_sens=true) const
 
gstr replace (const T *what, const T *with, bool is_case_sens=true) const
 
 operator const T * () const
 
gstr< wchar_t > toWideStr () const
 
gstr< char > toByteStr () const
 
gstr append (const T *s) const
 
gstr append (const T c) const
 
operator[] (int i) const
 
gstroperator+= (const T *s)
 
gstroperator+= (const char c)
 
HeapAbstractgetHeapP () const
 
AllocationPolicyAbstractgetAllocPolicyP () const
 
template<>
gstr< wchar_t > toWideStr () const
 
template<>
gstr< wchar_t > toWideStr () const
 
template<>
gstr< char > toByteStr () const
 
template<>
gstr< char > toByteStr () const
 

Static Public Member Functions

static G_LIB_ITEM const gstrempty ()
 
static G_LIB_ITEM const gstrnew_line ()
 
static G_LIB_ITEM const gstrspace ()
 
static G_LIB_ITEM const gstrtab ()
 
static gstr sum (const T *s1, const T *s2, AllocationPolicyAbstract *aAllocPolicyP=AllocationPolicyAbstract::get_FromStandardPolicy())
 

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