HDK
|
#include <UT_COWValue.h>
Protected Types | |
typedef T | element_type |
Protected Member Functions | |
Rep () | |
Rep (const T &data) | |
Rep (T &&data) | |
template<typename... Args> | |
Rep (std::in_place_t, Args &&...args) | |
Rep (ImmortalTag) | |
Rep (const Rep &other)=delete | |
Rep & | operator= (const Rep &other)=delete |
~Rep () | |
bool | isUnique () const |
bool | isImmortal () const |
exint | refCount () const |
T * | data () |
const T * | data () const |
Static Protected Member Functions | |
static const Rep * | getStaticEmpty () |
Friends | |
class | UT_COWValue< T > |
The actual control block for a value referenced by (potentially multiple) UT_COWValues
These can be in one of three states:
Immortal Reps are used to provide a cheap global default-constructed version of the contained type.
Definition at line 158 of file UT_COWValue.h.
|
protected |
Definition at line 170 of file UT_COWValue.h.
|
inlineprotected |
Definition at line 172 of file UT_COWValue.h.
|
inlineprotected |
Definition at line 173 of file UT_COWValue.h.
|
inlineprotected |
Definition at line 174 of file UT_COWValue.h.
|
inlineprotected |
Definition at line 176 of file UT_COWValue.h.
|
inlineexplicitprotected |
Construct the global immortal Rep for this type – should only be called by getStaticEmpty().
Definition at line 182 of file UT_COWValue.h.
|
protecteddelete |
|
inlineprotected |
Definition at line 189 of file UT_COWValue.h.
|
inlineprotected |
Definition at line 204 of file UT_COWValue.h.
|
inlineprotected |
Definition at line 205 of file UT_COWValue.h.
|
inlinestaticprotected |
Return the global static immortal default-constructed Rep for the type.
Definition at line 209 of file UT_COWValue.h.
|
inlineprotected |
Definition at line 195 of file UT_COWValue.h.
|
inlineprotected |
Definition at line 191 of file UT_COWValue.h.
|
protecteddelete |
|
inlineprotected |
Definition at line 199 of file UT_COWValue.h.
|
friend |
Definition at line 160 of file UT_COWValue.h.