#include <string_reference.h>
Inheritance diagram for CL_StringReference< CharType, 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 |
| CharType * | data () |
| Data. | |
| CL_StringReference () | |
| CL_StringReference (const StdString &source) | |
| Constructs a StringReference. | |
| CL_StringReference (const CL_StringReference &source) | |
| Constructs a StringReference. | |
| CL_StringReference (const CL_StringData< CharType, CL_StringReference< CharType, StdString >, StdString > &source) | |
| Constructs a StringReference. | |
| CL_StringReference (const char *c_str) | |
| Constructs a StringReference. | |
| CL_StringReference (const char *c_str, size_type length, bool null_terminated) | |
| Constructs a StringReference. | |
| CL_StringReference (const wchar_t *wc_str) | |
| Constructs a StringReference. | |
| CL_StringReference (const wchar_t *wc_str, size_type length, bool null_terminated) | |
| Constructs a StringReference. | |
| ~CL_StringReference () | |
| const CharType * | c_str () const |
| void | set_length (size_type length) |
| Set length. | |
| CL_StringReference< CharType, StdString > & | operator= (const CL_StringReference< CharType, StdString > &source) |
| CL_StringReference< CharType, StdString > & | operator= (const CL_StringData< CharType, CL_StringReference< CharType, StdString >, StdString > &source) |
| CL_StringReference< CharType, StdString > & | operator= (const char *c_str) |
| CL_StringReference< CharType, StdString > & | operator= (const wchar_t *c_str) |
| 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. | |
| operator CL_StringReference< CharType, StdString > () const | |
| ReferenceClass. | |
| 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 (CharTypec, 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 (CharTypec, 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 (CharTypec, 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 (CharTypec, 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 (CharTypec, 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 (CharTypec, size_type pos=npos) const |
| Find last not of. | |
| CL_StringReference< CharType, StdString > | 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 Member Functions | |
| void | clear () const |
| Clear. | |
| void | create_temp (const CharType *data, size_type length) const |
| Create temp. | |
Protected Attributes | |
| bool | null_terminated |
| bool | temporary |
| CharType * | data_ptr |
| size_type | data_length |
Reference to string data. Extends the basic CL_StringData template with container functionality required when converting to or from C strings.
|
|||||
|
Reimplemented from CL_StringData< CharType, CL_StringReference< CharType, StdString >, StdString >. |
|
|||||
|
Reimplemented from CL_StringData< CharType, CL_StringReference< CharType, StdString >, StdString >. |
|
|||||
|
Reimplemented from CL_StringData< CharType, CL_StringReference< CharType, StdString >, StdString >. |
|
|||||
|
Reimplemented from CL_StringDataTypes. |
|
|||||||||
|
|
|
||||||||||
|
Constructs a StringReference.
|
|
||||||||||
|
Constructs a StringReference.
|
|
||||||||||
|
Constructs a StringReference.
|
|
||||||||||
|
Constructs a StringReference.
|
|
||||||||||||||||||||
|
Constructs a StringReference.
|
|
||||||||||
|
Constructs a StringReference.
|
|
||||||||||||||||||||
|
Constructs a StringReference.
|
|
|||||||||
|
|
|
|
Begin.
|
|
|||||||||
|
Begin.
Reimplemented from CL_StringData< CharType, CL_StringReference< CharType, StdString >, StdString >. |
|
|||||||||
|
|
|
|||||||||
|
Clear.
|
|
||||||||||||||||||||
|
Compare.
|
|
|
Compare.
|
|
||||||||||||||||||||||||
|
Compare.
|
|
||||||||||||||||
|
Compare.
|
|
|
Compare.
|
|
||||||||||||||||
|
Create temp.
|
|
|||||||||
|
Data.
Reimplemented from CL_StringData< CharType, CL_StringReference< CharType, StdString >, StdString >. |
|
|||||||||
|
Reimplemented from CL_StringData< CharType, CL_StringReference< CharType, StdString >, StdString >. |
|
|||||||||
|
Empty.
Reimplemented from CL_StringData< CharType, CL_StringReference< CharType, StdString >, StdString >. |
|
|
End.
|
|
|||||||||
|
End.
Reimplemented from CL_StringData< CharType, CL_StringReference< CharType, StdString >, StdString >. |
|
||||||||||||
|
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.
|
|
|||||||||
|
Length.
Reimplemented from CL_StringData< CharType, CL_StringReference< CharType, StdString >, StdString >. |
|
|
ReferenceClass.
|
|
|
StdString.
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
|
|
|
|
|
|
||||||||||||
|
Rfind.
|
|
||||||||||||
|
Rfind.
|
|
||||||||||||||||
|
Rfind.
|
|
||||||||||||
|
Rfind.
|
|
||||||||||
|
Set length.
|
|
|||||||||
|
Size.
Reimplemented from CL_StringData< CharType, CL_StringReference< CharType, StdString >, StdString >. |
|
||||||||||||
|
Substr.
|
|
|
|
|
|
|
|
|
|
|
|||||
|
|
|
|||||
|
|
1.4.6