#include <string_container.h>
Inheritance diagram for CL_StringContainer< CharType, ReferenceClass, StdString >:

Public Types | |
| typedef unsigned int | size_type |
| typedef CharType | char_type |
| typedef CharType * | iterator |
| typedef const CharType * | const_iterator |
Public Member Functions | |
| iterator | begin () |
| Begin. | |
| iterator | end () |
| End. | |
| size_type | size () const |
| Size. | |
| size_type | length () const |
| Length. | |
| bool | empty () const |
| Empty. | |
| const CharType * | data () const |
| Data. | |
| CharType * | data () |
| Data. | |
| CL_StringContainer () | |
| CL_StringContainer (const StdString &source) | |
| Constructs a StringContainer. | |
| CL_StringContainer (const CL_StringContainer &source) | |
| Constructs a StringContainer. | |
| CL_StringContainer (const CL_StringData< CharType, ReferenceClass, StdString > &source) | |
| Constructs a StringContainer. | |
| CL_StringContainer (const char *c_str) | |
| Constructs a StringContainer. | |
| CL_StringContainer (const char *c_str, size_type length) | |
| Constructs a StringContainer. | |
| CL_StringContainer (const wchar_t *wc_str) | |
| Constructs a StringContainer. | |
| CL_StringContainer (const wchar_t *wc_str, size_type length) | |
| Constructs a StringContainer. | |
| CL_StringContainer (size_type n, CharType c) | |
| Constructs a StringContainer. | |
| ~CL_StringContainer () | |
| operator ReferenceClass () const | |
| ReferenceClass. | |
| const CharType * | c_str () const |
| size_type | max_size () const |
| Max size. | |
| size_type | capacity () const |
| Capacity. | |
| void | clear () |
| Clear. | |
| void | reserve (size_type size) |
| Reserve. | |
| void | resize (size_type n) |
| Resize. | |
| void | resize (size_type n, CharType c) |
| Resize. | |
| CL_StringContainer & | assign (const CL_StringData< CharType, ReferenceClass, StdString > &s) |
| CL_StringContainer & | assign (const CL_StringData< CharType, ReferenceClass, StdString > &s, size_type pos, size_type n) |
| Assign. | |
| CL_StringContainer & | assign (const CharType *s, size_type n) |
| Assign. | |
| CL_StringContainer & | assign (const CharType *s) |
| Assign. | |
| CL_StringContainer & | assign (size_type n, CharType c) |
| Assign. | |
| iterator | insert (iterator pos, const CharType &item) |
| Insert. | |
| void | insert (iterator pos, size_type num_copies, const CharType &item) |
| Insert. | |
| CL_StringContainer & | insert (size_type pos, const CL_StringData< CharType, ReferenceClass, StdString > &s) |
| Insert. | |
| CL_StringContainer & | insert (size_type pos, const CL_StringData< CharType, ReferenceClass, StdString > &s, size_type pos1, size_type length) |
| Insert. | |
| CL_StringContainer & | insert (size_type pos, const CharType *s) |
| Insert. | |
| CL_StringContainer & | insert (size_type pos, const CharType *s, size_type s_length) |
| Insert. | |
| CL_StringContainer & | insert (size_type pos, size_type n, CharType c) |
| Insert. | |
| CL_StringContainer & | append (const CL_StringData< CharType, ReferenceClass, StdString > &s) |
| Append. | |
| CL_StringContainer & | append (const CL_StringData< CharType, ReferenceClass, StdString > &s, size_type pos, size_type n) |
| Append. | |
| CL_StringContainer< CharType, ReferenceClass, StdString > & | append (const char *s) |
| CL_StringContainer & | append (const char *s, size_type n) |
| Append. | |
| CL_StringContainer & | append (const wchar_t *s) |
| Append. | |
| CL_StringContainer & | append (const wchar_t *s, size_type n) |
| Append. | |
| CL_StringContainer & | append (size_type n, CharType c) |
| Append. | |
| void | push_back (CharType c) |
| Push back. | |
| iterator | erase (iterator p) |
| Erase. | |
| iterator | erase (iterator first, iterator last) |
| Erase. | |
| CL_StringContainer & | erase (size_type pos=0, size_type n=CL_StringDataTypes::npos) |
| Erase. | |
| CL_StringContainer & | replace (size_type pos, size_type n, const CL_StringData< CharType, ReferenceClass, StdString > &s) |
| Replace. | |
| CL_StringContainer & | replace (size_type pos, size_type n, const CL_StringData< CharType, ReferenceClass, StdString > &s, size_type pos1, size_type n1) |
| Replace. | |
| CL_StringContainer & | replace (size_type pos, size_type n, const CharType *s, size_type n1) |
| Replace. | |
| CL_StringContainer & | replace (size_type pos, size_type n, const CharType *s) |
| Replace. | |
| CL_StringContainer & | replace (size_type pos, size_type n, size_type n1, CharType c) |
| Replace. | |
| CL_StringContainer & | replace (iterator first, iterator last, const CL_StringData< CharType, ReferenceClass, StdString > &s) |
| Replace. | |
| CL_StringContainer & | replace (iterator first, iterator last, const CharType *s, size_type n) |
| Replace. | |
| CL_StringContainer & | replace (iterator first, iterator last, const CharType *s) |
| Replace. | |
| CL_StringContainer & | replace (iterator first, iterator last, size_type n, CharType c) |
| Replace. | |
| size_type | copy (CharType *buf, size_type n, size_type pos=0) const |
| Copy. | |
| CL_StringContainer & | operator= (const CL_StringContainer &source) |
| CL_StringContainer & | operator= (const CL_StringData< CharType, ReferenceClass, StdString > &source) |
| CL_StringContainer & | operator= (const char *c_str) |
| CL_StringContainer & | operator= (const wchar_t *c_str) |
| CL_StringContainer & | operator+= (const CL_StringData< CharType, ReferenceClass, StdString > &s) |
| CL_StringContainer & | operator+= (const char *c_str) |
| CL_StringContainer & | operator+= (const wchar_t *c_str) |
| CL_StringContainer & | operator+= (CharType c) |
| const_iterator | begin () const |
| Begin. | |
| const_iterator | end () const |
| End. | |
| const CharType & | operator[] (size_type n) const |
| CharType & | operator[] (size_type n) |
| operator StdString () const | |
| StdString. | |
| size_type | find (const CL_StringData &s, size_type pos=0) const |
| Find. | |
| size_type | find (const CharType *s, size_type pos, size_type n) const |
| Find. | |
| size_type | find (const CharType *s, size_type pos=0) const |
| Find. | |
| size_type | find (CharType c, size_type pos=0) const |
| Find. | |
| size_type | rfind (const CL_StringData &s, size_type pos=npos) const |
| Rfind. | |
| size_type | rfind (const CharType *s, size_type pos, size_type n) const |
| Rfind. | |
| size_type | rfind (const CharType *s, size_type pos=npos) const |
| Rfind. | |
| size_type | rfind (CharType c, size_type pos=npos) const |
| Rfind. | |
| size_type | find_first_of (const CL_StringData &s, size_type pos=0) const |
| Find first of. | |
| size_type | find_first_of (const CharType *s, size_type pos, size_type n) const |
| Find first of. | |
| size_type | find_first_of (const CharType *s, size_type pos=0) const |
| Find first of. | |
| size_type | find_first_of (CharType c, size_type pos=0) const |
| Find first of. | |
| size_type | find_first_not_of (const CL_StringData &s, size_type pos=0) const |
| Find first not of. | |
| size_type | find_first_not_of (const CharType *s, size_type pos, size_type n) const |
| Find first not of. | |
| size_type | find_first_not_of (const CharType *s, size_type pos=0) const |
| Find first not of. | |
| size_type | find_first_not_of (CharType c, size_type pos=0) const |
| Find first not of. | |
| size_type | find_last_of (const CL_StringData &s, size_type pos=npos) const |
| Find last of. | |
| size_type | find_last_of (const CharType *s, size_type pos, size_type n) const |
| Find last of. | |
| size_type | find_last_of (const CharType *s, size_type pos=npos) const |
| Find last of. | |
| size_type | find_last_of (CharType c, size_type pos=npos) const |
| Find last of. | |
| size_type | find_last_not_of (const CL_StringData &s, size_type pos=npos) const |
| Find last not of. | |
| size_type | find_last_not_of (const CharType *s, size_type pos, size_type n) const |
| Find last not of. | |
| size_type | find_last_not_of (const CharType *s, size_type pos=npos) const |
| Find last not of. | |
| size_type | find_last_not_of (CharType c, size_type pos=npos) const |
| Find last not of. | |
| ReferenceClass | substr (size_type pos=0, size_type n=npos) const |
| Substr. | |
| int | compare (const CL_StringData &s) const |
| Compare. | |
| int | compare (size_type pos, size_type n, const CL_StringData &s) const |
| Compare. | |
| int | compare (size_type pos, size_type n, const CL_StringData &s, size_type pos1, size_type n1) const |
| Compare. | |
| int | compare (const CharType *s) const |
| Compare. | |
| int | compare (size_type pos, size_type n, const CharType *s, size_type len=npos) const |
| Compare. | |
Static Public Attributes | |
| static const size_type | npos |
Protected Types | |
| enum | { local_string_length = 63 } |
Protected Member Functions | |
| void | init () |
| Init. | |
Protected Attributes | |
| CL_MemoryPool * | pool |
| size_type | data_capacity |
| CharType | local_string [local_string_length+1] |
| CharType * | data_ptr |
| size_type | data_length |
Basic string container. Extends StringData with operations that work on string data.
|
|||||
|
Reimplemented from CL_StringData< CharType, ReferenceClass, StdString >. Reimplemented in CL_TempStringContainer< CharType, ReferenceClass, StdString >. |
|
|||||
|
Reimplemented from CL_StringData< CharType, ReferenceClass, StdString >. Reimplemented in CL_TempStringContainer< CharType, ReferenceClass, StdString >. |
|
|||||
|
Reimplemented from CL_StringData< CharType, ReferenceClass, StdString >. Reimplemented in CL_TempStringContainer< CharType, ReferenceClass, StdString >. |
|
|||||
|
Reimplemented from CL_StringDataTypes. Reimplemented in CL_TempStringContainer< CharType, ReferenceClass, StdString >. |
|
|||||
|
|
|
|||||||||
|
|
|
||||||||||
|
Constructs a StringContainer.
|
|
||||||||||
|
Constructs a StringContainer.
|
|
||||||||||
|
Constructs a StringContainer.
|
|
||||||||||
|
Constructs a StringContainer.
|
|
||||||||||||||||
|
Constructs a StringContainer.
|
|
||||||||||
|
Constructs a StringContainer.
|
|
||||||||||||||||
|
Constructs a StringContainer.
|
|
||||||||||||||||
|
Constructs a StringContainer.
|
|
|||||||||
|
|
|
||||||||||||||||
|
Append.
|
|
||||||||||||||||
|
Append.
|
|
||||||||||
|
Append.
|
|
||||||||||||||||
|
Append.
|
|
||||||||||
|
|
|
||||||||||||||||||||
|
Append.
|
|
||||||||||
|
Append.
|
|
||||||||||||||||
|
Assign.
|
|
||||||||||
|
Assign.
|
|
||||||||||||||||
|
Assign.
|
|
||||||||||||||||||||
|
Assign.
|
|
||||||||||
|
|
|
|||||||||
|
Begin.
|
|
|||||||||
|
Begin.
Reimplemented from CL_StringData< CharType, ReferenceClass, StdString >. Reimplemented in CL_TempStringContainer< CharType, ReferenceClass, StdString >. |
|
|||||||||
|
|
|
|||||||||
|
Capacity.
|
|
|||||||||
|
Clear.
|
|
||||||||||||||||||||||||
|
Compare.
|
|
||||||||||
|
Compare.
|
|
||||||||||||||||||||||||||||
|
Compare.
|
|
||||||||||||||||||||
|
Compare.
|
|
||||||||||
|
Compare.
|
|
||||||||||||||||||||
|
Copy.
|
|
|||||||||
|
Data.
Reimplemented from CL_StringData< CharType, ReferenceClass, StdString >. Reimplemented in CL_TempStringContainer< CharType, ReferenceClass, StdString >. |
|
|||||||||
|
Data.
Reimplemented from CL_StringData< CharType, ReferenceClass, StdString >. Reimplemented in CL_TempStringContainer< CharType, ReferenceClass, StdString >. |
|
|||||||||
|
Empty.
Reimplemented from CL_StringData< CharType, ReferenceClass, StdString >. Reimplemented in CL_TempStringContainer< CharType, ReferenceClass, StdString >. |
|
|||||||||
|
End.
|
|
|||||||||
|
End.
Reimplemented from CL_StringData< CharType, ReferenceClass, StdString >. Reimplemented in CL_TempStringContainer< CharType, ReferenceClass, StdString >. |
|
||||||||||||||||
|
Erase.
|
|
||||||||||||||||
|
Erase.
|
|
||||||||||
|
Erase.
|
|
||||||||||||||||
|
Find.
|
|
||||||||||||||||
|
Find.
|
|
||||||||||||||||||||
|
Find.
|
|
||||||||||||||||
|
Find.
|
|
||||||||||||||||
|
Find first not of.
|
|
||||||||||||||||
|
Find first not of.
|
|
||||||||||||||||||||
|
Find first not of.
|
|
||||||||||||||||
|
Find first not of.
|
|
||||||||||||||||
|
Find first of.
|
|
||||||||||||||||
|
Find first of.
|
|
||||||||||||||||||||
|
Find first of.
|
|
||||||||||||||||
|
Find first of.
|
|
||||||||||||||||
|
Find last not of.
|
|
||||||||||||||||
|
Find last not of.
|
|
||||||||||||||||||||
|
Find last not of.
|
|
||||||||||||||||
|
Find last not of.
|
|
||||||||||||||||
|
Find last of.
|
|
||||||||||||||||
|
Find last of.
|
|
||||||||||||||||||||
|
Find last of.
|
|
||||||||||||||||
|
Find last of.
|
|
|||||||||
|
Init.
|
|
||||||||||||||||||||
|
Insert.
|
|
||||||||||||||||||||
|
Insert.
|
|
||||||||||||||||
|
Insert.
|
|
||||||||||||||||||||||||
|
Insert.
|
|
||||||||||||||||
|
Insert.
|
|
||||||||||||||||||||
|
Insert.
|
|
||||||||||||||||
|
Insert.
|
|
|||||||||
|
Length.
Reimplemented from CL_StringData< CharType, ReferenceClass, StdString >. Reimplemented in CL_TempStringContainer< CharType, ReferenceClass, StdString >. |
|
|||||||||
|
Max size.
|
|
|||||||||
|
ReferenceClass.
Reimplemented from CL_StringData< CharType, ReferenceClass, StdString >. Reimplemented in CL_TempStringContainer< CharType, ReferenceClass, StdString >. |
|
|||||||||
|
StdString.
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
Push back.
|
|
||||||||||||||||||||||||
|
Replace.
|
|
||||||||||||||||||||
|
Replace.
|
|
||||||||||||||||||||||||
|
Replace.
|
|
||||||||||||||||||||
|
Replace.
|
|
||||||||||||||||||||||||
|
Replace.
|
|
||||||||||||||||||||
|
Replace.
|
|
||||||||||||||||||||||||
|
Replace.
|
|
||||||||||||||||||||||||||||
|
Replace.
|
|
||||||||||||||||||||
|
Replace.
|
|
||||||||||
|
Reserve.
|
|
||||||||||||||||
|
Resize.
|
|
||||||||||
|
Resize.
|
|
||||||||||||||||
|
Rfind.
|
|
||||||||||||||||
|
Rfind.
|
|
||||||||||||||||||||
|
Rfind.
|
|
||||||||||||||||
|
Rfind.
|
|
|||||||||
|
Size.
Reimplemented from CL_StringData< CharType, ReferenceClass, StdString >. Reimplemented in CL_TempStringContainer< CharType, ReferenceClass, StdString >. |
|
||||||||||||||||
|
Substr.
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|
|
|
|||||
|
|
1.4.6