|
MPD
0.20.15
|
A string pointer whose memory is managed by this class. More...
#include <Util.hxx>
Public Types | |
| typedef StringPointer< T >::value_type | value_type |
| typedef StringPointer< T >::reference_type | reference_type |
| typedef StringPointer< T >::const_reference_type | const_reference_type |
| typedef StringPointer< T >::pointer_type | pointer_type |
| typedef StringPointer< T >::const_pointer_type | const_pointer_type |
| typedef size_t | size_type |
Public Member Functions | |
| AllocatedString (std::nullptr_t n) | |
| AllocatedString (AllocatedString &&src) | |
| ~AllocatedString () | |
| AllocatedString & | operator= (AllocatedString &&src) |
| constexpr bool | operator== (std::nullptr_t) const |
| constexpr bool | operator!= (std::nullptr_t) const |
| constexpr bool | IsNull () const |
| constexpr const_pointer_type | c_str () const |
| bool | empty () const |
| reference_type | operator[] (size_type i) |
| const reference_type | operator[] (size_type i) const |
| pointer_type | Steal () |
| AllocatedString | Clone () const |
Static Public Member Functions | |
| static AllocatedString | Donate (pointer_type value) |
| static AllocatedString | Null () |
| static AllocatedString | Empty () |
| static AllocatedString | Duplicate (const_pointer_type src) |
| static AllocatedString | Duplicate (const_pointer_type begin, const_pointer_type end) |
| static AllocatedString | Duplicate (const_pointer_type begin, size_type length) |
Static Public Attributes | |
| static constexpr value_type | SENTINEL = '\0' |
A string pointer whose memory is managed by this class.
Unlike std::string, this object can hold a "nullptr" special value.
| typedef StringPointer<T>::const_pointer_type AllocatedString< T >::const_pointer_type |
Definition at line 50 of file AllocatedString.hxx.
| typedef StringPointer<T>::const_reference_type AllocatedString< T >::const_reference_type |
Definition at line 48 of file AllocatedString.hxx.
| typedef StringPointer<T>::pointer_type AllocatedString< T >::pointer_type |
Definition at line 49 of file AllocatedString.hxx.
| typedef StringPointer<T>::reference_type AllocatedString< T >::reference_type |
Definition at line 47 of file AllocatedString.hxx.
| typedef size_t AllocatedString< T >::size_type |
Definition at line 51 of file AllocatedString.hxx.
| typedef StringPointer<T>::value_type AllocatedString< T >::value_type |
Definition at line 46 of file AllocatedString.hxx.
|
inline |
Definition at line 62 of file AllocatedString.hxx.
|
inline |
Definition at line 64 of file AllocatedString.hxx.
|
inline |
Definition at line 67 of file AllocatedString.hxx.
|
inline |
Definition at line 118 of file AllocatedString.hxx.
|
inline |
Definition at line 140 of file AllocatedString.hxx.
|
inlinestatic |
Definition at line 71 of file AllocatedString.hxx.
|
static |
|
inlinestatic |
Definition at line 87 of file AllocatedString.hxx.
|
inlinestatic |
Definition at line 94 of file AllocatedString.hxx.
|
inlinestatic |
Definition at line 79 of file AllocatedString.hxx.
|
inline |
Definition at line 122 of file AllocatedString.hxx.
|
inline |
Definition at line 114 of file AllocatedString.hxx.
|
inlinestatic |
Definition at line 75 of file AllocatedString.hxx.
|
inline |
Definition at line 110 of file AllocatedString.hxx.
|
inline |
Definition at line 101 of file AllocatedString.hxx.
|
inline |
Definition at line 106 of file AllocatedString.hxx.
|
inline |
Definition at line 126 of file AllocatedString.hxx.
|
inline |
Definition at line 130 of file AllocatedString.hxx.
|
inline |
Definition at line 134 of file AllocatedString.hxx.
|
static |
Definition at line 53 of file AllocatedString.hxx.
1.8.14