HDK
|
#include <DEP_ContextOptionsFwd.h>
Public Member Functions | |
UT_COWReadHandle () | |
~UT_COWReadHandle () | |
UT_COWReadHandle (const UT_COWReadHandle< Data > &src) | |
UT_COWReadHandle (const UT_COWHandle< Data > &src) | |
const UT_COWReadHandle< Data > & | operator= (const UT_COWReadHandle< Data > &src) |
const UT_COWReadHandle< Data > & | operator= (const UT_COWHandle< Data > &src) |
void | resetHandle () |
Removes references, making this a null pointer. More... | |
bool | isNull () const |
Test if this is a NULL pointer. More... | |
const Data & | operator* () const |
const Data * | operator-> () const |
const Data * | get () const |
int | getRefCount () const |
This is a copy-on-write shared pointer to data. If you create a writehandle, it will uniquify the underlying data. Do not pass references to handles or pointers to them around. This can cause you to invalidate the tracking of copies. In any case, passing by value is fast.
Read Handles are copies of the original handle that have their internal data exposed. You are not allowed to edit them, so many read handles may be sharing the same underlying data.
Definition at line 15 of file DEP_ContextOptionsFwd.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |