Logo Search packages:      
Sourcecode: maxdb-7.5.00 version File versions  Download package

Tools_DynamicUTF8String Class Reference

#include <Tools_DynamicUTF8String.hpp>

List of all members.


Detailed Description

*****************************************************************************

class: Tools_DynamicUTF8String

Definition at line 61 of file Tools_DynamicUTF8String.hpp.


Public Types

typedef
Tools_UTF8Basis::ASCIIConstPointer 
ASCIIConstPointer
typedef
Tools_UTF8Basis::ASCIIPointer 
ASCIIPointer
typedef BufferType::SizeType BasisElementCount
typedef BasisElementCount BasisElementIndex
typedef
ElementType::BasisElementType 
BasisElementType
typedef
Tools_DynamicUTF8StringBuffer 
BufferType
typedef ElementType::ConstIterator ConstIterator
typedef ElementType::ConstPointer ConstPointer
typedef
ElementType::ConstReverseIterator 
ConstReverseIterator
typedef
Tools_UTF8Basis::ConversionResult 
ConversionResult
typedef BasisElementCount ElementCount
typedef ElementCount ElementIndex
typedef Tools_UTF8StringElement ElementType
typedef ElementType::Iterator Iterator
typedef ElementType::Pointer Pointer
typedef
ElementType::ReverseIterator 
ReverseIterator
typedef Tools_UTF8Basis::UCS2Char UCS2Char
typedef
Tools_UTF8Basis::UCS2ConstPointer 
UCS2ConstPointer
typedef
Tools_UTF8Basis::UCS2Pointer 
UCS2Pointer

Public Member Functions

Tools_DynamicUTF8StringAppend (ConstIterator from, ConstIterator to)
Tools_DynamicUTF8StringAppend (ElementCount count, BasisElementType elem)
Tools_DynamicUTF8StringAppend (BasisElementType elem)
Tools_DynamicUTF8StringAppend (ConstPointer src, ElementCount srclen)
Tools_DynamicUTF8StringAppend (ConstPointer src)
Tools_DynamicUTF8StringAppend (const Tools_DynamicUTF8String &str, BasisElementIndex from, ElementCount len)
Tools_DynamicUTF8StringAppend (const Tools_DynamicUTF8String &str, BasisElementIndex from)
Tools_DynamicUTF8StringAppend (const Tools_DynamicUTF8String &str)
Tools_DynamicUTF8StringAssign (ElementCount count, BasisElementType elem)
Tools_DynamicUTF8StringAssign (BasisElementType elem)
Tools_DynamicUTF8StringAssign (ConstIterator from, ConstIterator to)
Tools_DynamicUTF8StringAssign (ConstPointer src, ElementCount srclen)
Tools_DynamicUTF8StringAssign (ConstPointer src)
Tools_DynamicUTF8StringAssign (const Tools_DynamicUTF8String &str, BasisElementIndex from, ElementCount len)
Tools_DynamicUTF8StringAssign (const Tools_DynamicUTF8String &str, BasisElementIndex from)
Tools_DynamicUTF8StringAssign (const Tools_DynamicUTF8String &str)
Tools_DynamicUTF8StringAssignRaw (ConstPointer src, BasisElementCount srcbasislen)
BasisElementTypeAt (BasisElementIndex pos)
const BasisElementTypeAt (BasisElementIndex pos) const
BasisElementCount BasisSize () const
Iterator Begin ()
ConstIterator Begin () const
BasisElementCount Capacity () const
const SAPDB_Char * CharPtr ()
int Compare (BasisElementIndex from, ElementCount len, ConstPointer src, ElementCount srclen) const
int Compare (BasisElementIndex from, ElementCount len, ConstPointer src) const
int Compare (BasisElementIndex from, ConstPointer src, ElementCount srclen) const
int Compare (BasisElementIndex from, ConstPointer src) const
int Compare (ConstPointer src, ElementCount srclen) const
int Compare (ConstPointer src) const
int Compare (BasisElementIndex from, ElementCount len, const Tools_DynamicUTF8String &str, BasisElementIndex strfrom, ElementCount strlen) const
int Compare (BasisElementIndex from, ElementCount len, const Tools_DynamicUTF8String &str, BasisElementIndex strfrom) const
int Compare (BasisElementIndex from, ElementCount len, const Tools_DynamicUTF8String &str) const
int Compare (BasisElementIndex from, const Tools_DynamicUTF8String &str) const
int Compare (const Tools_DynamicUTF8String &str) const
ConversionResult ConvertFromASCII_Latin1 (ASCIIConstPointer srcBeg, ASCIIConstPointer srcEnd)
ConversionResult ConvertFromInt (SAPDB_Int8 nNumber, SAPDB_Int nBase=10)
ConversionResult ConvertFromUCS2 (UCS2ConstPointer srcBeg, UCS2ConstPointer srcEnd)
ConversionResult ConvertFromUCS2_Unaligned_Swap (UCS2Char *srcBeg, UCS2Char *srcEnd, const SAPDB_Int srcSwapped)
ConversionResult ConvertFromUCS2_Unaligned_Swap (UCS2Char *srcBeg, UCS2Char *srcEnd)
ConversionResult ConvertToASCII_Latin1 (ASCIIPointer destBeg, ASCIIConstPointer destEnd, ASCIIPointer &destAt, SAPDB_Char replChar=-1) const
ConversionResult ConvertToUCS2 (UCS2Pointer destBeg, UCS2ConstPointer destEnd, UCS2Pointer &destAt) const
ConversionResult ConvertToUCS2_Unaligned_Swap (UCS2Char *destBeg, UCS2Char *const destEnd, UCS2Char *&destAt, const bool destSwapped) const
ConversionResult ConvertToUCS2_Unaligned_Swap (UCS2Char *destBeg, UCS2Char *const destEnd, UCS2Char *&destAt) const
BasisElementCount Copy (Pointer dest, ElementCount len, BasisElementIndex from=0) const
ConstPointer Data () const
SAPDB_Bool Empty () const
Iterator End ()
ConstIterator End () const
ConstIterator Erase (ConstIterator from, ConstIterator to)
ConstIterator Erase (ConstIterator at)
Tools_DynamicUTF8StringErase (BasisElementIndex from, ElementCount len)
Tools_DynamicUTF8StringErase (BasisElementIndex from)
Tools_DynamicUTF8StringErase ()
BasisElementIndex Find (BasisElementType elem, BasisElementIndex from=0) const
BasisElementIndex Find (ConstPointer seqptr, BasisElementIndex from, ElementCount seqlen) const
BasisElementIndex Find (ConstPointer seqptr, BasisElementIndex from=0) const
BasisElementIndex Find (const Tools_DynamicUTF8String &searchstr, BasisElementIndex from=0) const
BasisElementIndex FindFirstNotOf (BasisElementType elem, BasisElementIndex from=0) const
BasisElementIndex FindFirstNotOf (ConstPointer setptr, BasisElementIndex from, ElementCount setlen) const
BasisElementIndex FindFirstNotOf (ConstPointer setptr, BasisElementIndex from=0) const
BasisElementIndex FindFirstNotOf (const Tools_DynamicUTF8String &set, BasisElementIndex from=0) const
BasisElementIndex FindFirstOf (BasisElementType elem, BasisElementIndex from=0) const
BasisElementIndex FindFirstOf (ConstPointer setptr, BasisElementIndex from, ElementCount setlen) const
BasisElementIndex FindFirstOf (ConstPointer setptr, BasisElementIndex from=0) const
BasisElementIndex FindFirstOf (const Tools_DynamicUTF8String &set, BasisElementIndex from=0) const
BasisElementIndex FindLastNotOf (BasisElementType elem, BasisElementIndex from=NPos) const
BasisElementIndex FindLastNotOf (ConstPointer setptr, BasisElementIndex from, ElementCount setlen) const
BasisElementIndex FindLastNotOf (ConstPointer setptr, BasisElementIndex from=NPos) const
BasisElementIndex FindLastNotOf (const Tools_DynamicUTF8String &set, BasisElementIndex from=NPos) const
BasisElementIndex FindLastOf (BasisElementType elem, BasisElementIndex from=NPos) const
BasisElementIndex FindLastOf (ConstPointer setptr, BasisElementIndex from, ElementCount setlen) const
BasisElementIndex FindLastOf (ConstPointer setptr, BasisElementIndex from=NPos) const
BasisElementIndex FindLastOf (const Tools_DynamicUTF8String &set, BasisElementIndex from=NPos) const
Iterator GetIteratorAt (ElementIndex pos)
ConstIterator GetIteratorAt (ElementIndex pos) const
Iterator GetIteratorAtBasis (BasisElementIndex pos)
ConstIterator GetIteratorAtBasis (BasisElementIndex pos) const
ReverseIterator GetReverseIteratorAtBasis (BasisElementIndex pos)
ConstReverseIterator GetReverseIteratorAtBasis (BasisElementIndex pos) const
Tools_DynamicUTF8StringInsert (ConstIterator at, ConstIterator from, ConstIterator to)
Tools_DynamicUTF8StringInsert (ConstIterator at, ElementCount count, BasisElementType elem)
Tools_DynamicUTF8StringInsert (BasisElementIndex at, ElementCount count, BasisElementType elem)
Tools_DynamicUTF8StringInsert (ConstIterator at, BasisElementType elem)
Tools_DynamicUTF8StringInsert (BasisElementIndex at, BasisElementType elem)
Tools_DynamicUTF8StringInsert (BasisElementIndex at, ConstPointer src, ElementCount srclen)
Tools_DynamicUTF8StringInsert (BasisElementIndex at, ConstPointer src)
Tools_DynamicUTF8StringInsert (BasisElementIndex at, const SAPDB_Char *src)
Tools_DynamicUTF8StringInsert (BasisElementIndex at, const Tools_DynamicUTF8String &str, BasisElementIndex from, ElementCount len)
Tools_DynamicUTF8StringInsert (BasisElementIndex at, const Tools_DynamicUTF8String &str, BasisElementIndex from)
Tools_DynamicUTF8StringInsert (ElementIndex at, const Tools_DynamicUTF8String &str)
ElementCount Length () const
BasisElementCount MaxSize () const
SAPDB_Bool operator!= (const SAPDB_Char *src) const
SAPDB_Bool operator!= (const Tools_DynamicUTF8String &str) const
Tools_DynamicUTF8Stringoperator+= (BasisElementType elem)
Tools_DynamicUTF8Stringoperator+= (ConstPointer src)
Tools_DynamicUTF8Stringoperator+= (const SAPDB_Char *src)
Tools_DynamicUTF8Stringoperator+= (const Tools_DynamicUTF8String &str)
Tools_DynamicUTF8Stringoperator= (BasisElementType elem)
Tools_DynamicUTF8Stringoperator= (ConstPointer src)
Tools_DynamicUTF8Stringoperator= (const SAPDB_Char *src)
Tools_DynamicUTF8Stringoperator= (const Tools_DynamicUTF8String &str)
SAPDB_Bool operator== (const SAPDB_Char *src) const
SAPDB_Bool operator== (const Tools_DynamicUTF8String &str) const
BasisElementTypeoperator[] (BasisElementIndex pos)
BasisElementType operator[] (BasisElementIndex pos) const
ReverseIterator RBegin ()
ConstReverseIterator RBegin () const
ReverseIterator REnd ()
ConstReverseIterator REnd () const
Tools_DynamicUTF8StringReplace (ConstIterator from, ConstIterator to, ConstIterator repfrom, ConstIterator repto)
Tools_DynamicUTF8StringReplace (BasisElementIndex from, ElementCount len, ConstIterator repfrom, ConstIterator repto)
Tools_DynamicUTF8StringReplace (ConstIterator from, ConstIterator to, ElementCount count, BasisElementType elem)
Tools_DynamicUTF8StringReplace (BasisElementIndex from, ElementCount len, ElementCount count, BasisElementType elem)
Tools_DynamicUTF8StringReplace (ConstIterator from, ConstIterator to, ConstPointer src, ElementCount srclen)
Tools_DynamicUTF8StringReplace (ConstIterator from, ConstIterator to, ConstPointer src)
Tools_DynamicUTF8StringReplace (BasisElementIndex from, ElementCount len, ConstPointer src, ElementCount srclen)
Tools_DynamicUTF8StringReplace (BasisElementIndex from, ElementCount len, ConstPointer src)
Tools_DynamicUTF8StringReplace (ConstIterator from, ConstIterator to, const Tools_DynamicUTF8String &str, BasisElementIndex strfrom, ElementCount strlen)
Tools_DynamicUTF8StringReplace (ConstIterator from, ConstIterator to, const Tools_DynamicUTF8String &str, BasisElementIndex strfrom)
Tools_DynamicUTF8StringReplace (ConstIterator from, ConstIterator to, const Tools_DynamicUTF8String &str)
Tools_DynamicUTF8StringReplace (BasisElementIndex from, ElementCount len, const Tools_DynamicUTF8String &str, BasisElementIndex strfrom, ElementCount strlen)
Tools_DynamicUTF8StringReplace (BasisElementIndex from, ElementCount len, const Tools_DynamicUTF8String &str, BasisElementIndex strfrom)
Tools_DynamicUTF8StringReplace (BasisElementIndex from, ElementCount len, const Tools_DynamicUTF8String &str)
void Reserve (BasisElementCount count)
void Resize (ElementCount count, BasisElementType elem=ElementType::NullTerminator())
BasisElementIndex RFind (BasisElementType elem, BasisElementIndex from=NPos) const
BasisElementIndex RFind (ConstPointer seqptr, BasisElementIndex from, ElementCount seqlen) const
BasisElementIndex RFind (ConstPointer seqptr, BasisElementIndex from=NPos) const
BasisElementIndex RFind (const Tools_DynamicUTF8String &searchstr, BasisElementIndex from=NPos) const
ElementCount Size () const
ConstPointer StrPtr ()
Tools_DynamicUTF8String SubStr (BasisElementIndex from, ElementCount len) const
Tools_DynamicUTF8String SubStr (BasisElementIndex from) const
Tools_DynamicUTF8String SubStrBasis (BasisElementIndex from, BasisElementIndex to) const
Tools_DynamicUTF8String SubStrElem (ElementIndex from, ElementCount len) const
Tools_DynamicUTF8String SubStrElem (ElementIndex from) const
Tools_DynamicUTF8StringToLower ()
 Tools_DynamicUTF8String (ConstIterator from, ConstIterator to)
 Tools_DynamicUTF8String (ElementCount count, BasisElementType elem)
 Tools_DynamicUTF8String (ConstPointer src, ElementCount srclen)
 Tools_DynamicUTF8String (ConstPointer src)
 Tools_DynamicUTF8String (const SAPDB_Char *src)
 Tools_DynamicUTF8String (const Tools_DynamicUTF8String &str, BasisElementIndex from, ElementCount len)
 Tools_DynamicUTF8String (const Tools_DynamicUTF8String &str, BasisElementIndex from)
 Tools_DynamicUTF8String (const Tools_DynamicUTF8String &str)
 Tools_DynamicUTF8String ()
Tools_DynamicUTF8StringToUpper ()
Tools_DynamicUTF8StringTrim (const SAPDB_Char *wsp=" \t\n\r\f")
Tools_DynamicUTF8StringTrimLeading (const SAPDB_Char *wsp=" \t\n\r\f")
Tools_DynamicUTF8StringTrimLeft ()
Tools_DynamicUTF8StringTrimRight ()
Tools_DynamicUTF8StringTrimTrailing (const SAPDB_Char *wsp=" \t\n\r\f")

Static Public Attributes

static ElementIndex NPos = SAPDB_MAX_UINT4

Protected Member Functions

void AppendSource (ConstPointer src, BasisElementCount srclen)
void AssignSource (const Tools_DynamicUTF8String &str, BasisElementIndex from, ElementCount len)
void AssignSource (const Tools_DynamicUTF8String &str, BasisElementIndex from)
void AssignSource (const Tools_DynamicUTF8String &str)
void AssignSource (ConstPointer src, BasisElementCount srclen)
void CheckBasisRange (BasisElementIndex pos) const
void CheckSizeOverflow (BasisElementCount count) const
BasisElementIndex FindFirstNotOfSet (BasisElementIndex from, const ConstIterator &setBeg, const ConstIterator &setEnd) const
BasisElementIndex FindFirstOfSet (BasisElementIndex from, const ConstIterator &setBeg, const ConstIterator &setEnd) const
BasisElementIndex FindLastNotOfSet (BasisElementIndex from, const ConstIterator &setBeg, const ConstIterator &setEnd) const
BasisElementIndex FindLastOfSet (BasisElementIndex from, const ConstIterator &setBeg, const ConstIterator &setEnd) const
BasisElementIndex FindSequence (BasisElementIndex from, const ConstIterator &seqBeg, const ConstIterator &seqEnd) const
void InsertSource (BasisElementIndex at, ConstPointer src, BasisElementCount srclen)
SAPDB_Bool IsAssigned () const
void ReplacePart (ConstIterator from, ConstIterator to, ConstPointer src, BasisElementCount srclen)
void ReplacePart (ConstIterator from, ElementCount len, ConstPointer src, BasisElementCount srclen)
BasisElementIndex ReverseFindSequence (BasisElementIndex from, const ConstIterator &seqBeg, const ConstIterator &seqEnd) const

Static Protected Member Functions

static int Compare (ConstPointer lhs, ConstPointer rhs, BasisElementCount lsize, BasisElementCount rsize)
static ConstPointer EmptyString ()
static ConstIterator GetMatchPosition (ConstIterator strIter, const ConstIterator &strEnd, const ConstIterator &pattIter)
static ConstReverseIterator GetReverseMatchPositionI (ConstReverseIterator strIter, const ConstReverseIterator &strEnd, const ConstIterator &pattIter)
static ConstReverseIterator GetReverseMatchPositionII (ConstIterator strIter, const ConstIterator &strEnd, const ConstReverseIterator &pattIter)
static SAPDB_Bool IsAscii7 (const SAPDB_Char *src)
static BasisElementCount StringSize (ConstPointer src, ElementCount srclen)
static BasisElementCount StringSize (ConstPointer src)
static BasisElementCount StringSize (ConstIterator from, ElementCount len, ConstIterator end)
static BasisElementCount StringSize (ConstIterator from, ConstIterator end)
static Pointer ToPtr (ReverseIterator iter)
static ConstPointer ToPtr (ConstReverseIterator iter)
static Pointer ToPtr (Iterator iter)
static ConstPointer ToPtr (ConstIterator iter)

Protected Attributes

BufferType m_Buffer

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

Generated by  Doxygen 1.6.0   Back to index