HDK
|
#include <DEP_ContextOptionsFwd.h>
Public Member Functions | |
UT_COWTransientReadHandle () | |
~UT_COWTransientReadHandle () | |
UT_COWTransientReadHandle (const UT_COWTransientReadHandle< Data > &src) | |
UT_COWTransientReadHandle (const UT_COWHandle< Data > &src) | |
const UT_COWTransientReadHandle < Data > & | operator= (const UT_COWTransientReadHandle< Data > &src) |
const UT_COWTransientReadHandle < 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 |
Transient Read Handles are simply accessors to the internal data of the original handle. Unlike normal read handles, transient read handles don't result in a tracked reference to the underlying data, and so have lower overhead, but are unsafe to use outside the scope of, or after any changes to, the original handle. Write handles will not be aware of any active transient read handles, so errors in this usage will not trigger assertions. In fact, no write handles to the underlying data should exist during the entire scope of a transient read handle.
You are not allowed to edit the underlying data, so many read handles may be sharing the same underlying data.
Definition at line 16 of file DEP_ContextOptionsFwd.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |