MPD
0.20.18
|
Simple OO wrapper for a const string pointer. More...
#include <StringPointer.hxx>
Public Types | |
typedef T | value_type |
typedef T & | reference_type |
typedef const T & | const_reference_type |
typedef T * | pointer_type |
typedef const T * | const_pointer_type |
Public Member Functions | |
StringPointer ()=default | |
constexpr | StringPointer (const_pointer_type _value) |
constexpr bool | IsNull () const |
Check if this is a "nulled" instance. More... | |
constexpr const_pointer_type | c_str () const |
bool | empty () const |
Static Public Attributes | |
static constexpr value_type | SENTINEL = '\0' |
Simple OO wrapper for a const string pointer.
Definition at line 37 of file StringPointer.hxx.
typedef const T* StringPointer< T >::const_pointer_type |
Definition at line 43 of file StringPointer.hxx.
typedef const T& StringPointer< T >::const_reference_type |
Definition at line 41 of file StringPointer.hxx.
typedef T* StringPointer< T >::pointer_type |
Definition at line 42 of file StringPointer.hxx.
typedef T& StringPointer< T >::reference_type |
Definition at line 40 of file StringPointer.hxx.
typedef T StringPointer< T >::value_type |
Definition at line 39 of file StringPointer.hxx.
|
default |
|
inline |
Definition at line 52 of file StringPointer.hxx.
|
inline |
Definition at line 63 of file StringPointer.hxx.
|
inline |
Definition at line 67 of file StringPointer.hxx.
|
inline |
Check if this is a "nulled" instance.
A "nulled" instance must not be used.
Definition at line 59 of file StringPointer.hxx.
|
static |
Definition at line 45 of file StringPointer.hxx.