#include <basic_string.hh>
Public Types | |
typedef std::basic_string< TChar, TTraits, TAllocator >::allocator_type | allocator_type |
Import this type. | |
typedef std::basic_string< TChar, TTraits, TAllocator >::const_iterator | const_iterator |
Import this type. | |
typedef std::basic_string< TChar, TTraits, TAllocator >::const_pointer | const_pointer |
Import this type. | |
typedef std::basic_string< TChar, TTraits, TAllocator >::const_reference | const_reference |
Import this type. | |
typedef std::basic_string< TChar, TTraits, TAllocator >::const_reverse_iterator | const_reverse_iterator |
Import this type. | |
typedef std::basic_string< TChar, TTraits, TAllocator >::difference_type | difference_type |
Import this type. | |
typedef std::basic_string< TChar, TTraits, TAllocator >::iterator | iterator |
Import this type. | |
typedef std::basic_string< TChar, TTraits, TAllocator >::pointer | pointer |
Import this type. | |
typedef std::basic_string< TChar, TTraits, TAllocator >::reference | reference |
Import this type. | |
typedef std::basic_string< TChar, TTraits, TAllocator >::reverse_iterator | reverse_iterator |
Import this type. | |
typedef std::basic_string< TChar, TTraits, TAllocator >::size_type | size_type |
Import this type. | |
typedef std::basic_string< TChar, TTraits, TAllocator >::traits_type | traits_type |
Import this type. | |
typedef std::basic_string< TChar, TTraits, TAllocator >::value_type | value_type |
Import this type. | |
Public Methods | |
TBasicString (void) | |
Builds a new instance. | |
TBasicString (const std::basic_string< TChar, TTraits, TAllocator > &rkySOURCE) | |
Builds a new instance. | |
TBasicString (const TBasicString &rkySOURCE) | |
Builds a new instance. | |
TBasicString (const TBasicString &rkySOURCE, size_type zOFFSET, size_type zLENGTH=npos) | |
Builds a new instance. | |
TBasicString (const TChar *pkcSOURCE, size_type zLENGTH) | |
TBasicString (const TChar *pkcSOURCE) | |
TBasicString (size_type zTIMES, TChar cSOURCE) | |
Builds a new instance. | |
template<typename InputIterator> | TBasicString (InputIterator tBEGIN_ITER, InputIterator tEND_ITER) |
Builds a new instance. | |
TBasicString & | operator= (const TBasicString &rkySOURCE) |
TBasicString & | operator= (const TChar *pkcSOURCE) |
TBasicString & | operator= (TChar cSOURCE) |
size_type | replaceAll (const std::basic_string< TChar, TTraits, TAllocator > &rkySOURCE1, const std::basic_string< TChar, TTraits, TAllocator > &rkySOURCE2) |
size_type | replaceAll (const TChar *pkcSOURCE1, const TChar *pkcSOURCE2) |
size_type | replaceAll (TChar cSOURCE1, TChar cSOURCE2) |
TBasicString & | leftFill (TChar cSOURCE, size_type zLENGTH) |
TBasicString & | rightFill (TChar cSOURCE, size_type zLENGTH) |
TBasicString & | suppress (TChar cSOURCE) |
TBasicString & | suppressFirst (TChar cSOURCE) |
TBasicString & | suppressLast (TChar cSOURCE) |
TBasicString & | uppercase (void) |
TBasicString & | lowercase (void) |
size_type | occurrences (const TChar *pkcSOURCE) const |
size_type | occurrences (TChar cSOURCE) const |
template<typename TOutputIter> const TBasicString & | split (TChar cSOURCE, TOutputIter tTARGET_ITER) const |
Definition at line 52 of file basic_string.hh.
|
Extends the parent constructor with checks for NULL string.
Definition at line 153 of file basic_string.hh. References mpcl::text::TBasicString< TChar, TTraits, TAllocator >::size_type. |
|
Extends the parent constructor with checks for NULL string.
Definition at line 168 of file basic_string.hh. |
|
Left inserts zLENGTH - length() characters cSOURCE (only if zLENGTH > length()).
Definition at line 397 of file basic_string.hh. References mpcl::text::TBasicString< TChar, TTraits, TAllocator >::size_type. |
|
Changes all characters to lowercase (using std::tolower()).
Definition at line 515 of file basic_string.hh. References mpcl::text::TBasicString< TChar, TTraits, TAllocator >::iterator. |
|
Returns the occurrences of the character cSOURCE in this instance.
Definition at line 565 of file basic_string.hh. References mpcl::text::TBasicString< TChar, TTraits, TAllocator >::size_type. |
|
Returns the occurrences of the string pkcSOURCE in this instance.
Definition at line 538 of file basic_string.hh. References mpcl::text::TBasicString< TChar, TTraits, TAllocator >::size_type. |
|
Copies the character cSOURCE onto this.
Definition at line 218 of file basic_string.hh. |
|
Copies the string pkcSOURCE onto this.
Definition at line 203 of file basic_string.hh. |
|
Copies the instance rkySOURCE onto this.
Definition at line 192 of file basic_string.hh. |
|
Replace all occurrences of cSOURCE1 with cSOURCE2. It returns the number of times that cSOURCE1 is found.
Definition at line 377 of file basic_string.hh. References mpcl::text::TBasicString< TChar, TTraits, TAllocator >::size_type. |
|
Replace all occurrences of pkcSOURCE1 with pkcSOURCE2. It returns the number of times that pkcSOURCE1 is found.
Definition at line 347 of file basic_string.hh. References mpcl::text::TBasicString< TChar, TTraits, TAllocator >::size_type. |
|
Replaces all occurrences of rkySOURCE1 with rkySOURCE2. It returns the number of times that rkySOURCE1 is found.
Definition at line 231 of file basic_string.hh. References mpcl::text::TBasicString< TChar, TTraits, TAllocator >::size_type. |
|
Right inserts zLENGTH - length() characters cSOURCE (only if zLENGTH > length()).
Definition at line 413 of file basic_string.hh. |
|
Stores the strings between characters cSOURCE (but excluding it) in the container pointed by the iterator tTARGET_ITER.
Definition at line 336 of file basic_string.hh. References mpcl::text::Split(). |
|
Suppress all occurrences of cSOURCE.
Definition at line 429 of file basic_string.hh. References mpcl::text::TBasicString< TChar, TTraits, TAllocator >::iterator. |
|
Suppress the first occurrence of cSOURCE.
Definition at line 442 of file basic_string.hh. References mpcl::text::TBasicString< TChar, TTraits, TAllocator >::const_iterator, and mpcl::text::TBasicString< TChar, TTraits, TAllocator >::iterator. |
|
Suppress the last occurrence of cSOURCE.
Definition at line 470 of file basic_string.hh. References mpcl::text::TBasicString< TChar, TTraits, TAllocator >::iterator. |
|
Changes all characters to uppercase (using std::toupper()).
Definition at line 498 of file basic_string.hh. References mpcl::text::TBasicString< TChar, TTraits, TAllocator >::iterator. |