HDK
|
#include <DEP_ContextOptionsFwd.h>
Public Member Functions | |
UT_COWHandle () | |
UT_COWHandle (const UT_COWHandle< Data > &src) | |
virtual | ~UT_COWHandle () |
const UT_COWHandle< Data > & | operator= (const UT_COWHandle< Data > &src) |
void | allocate () |
Calls the default constructor on the object. More... | |
void | allocateIfNeeded () |
Calls the default constructor on the object. More... | |
bool | isNull () const |
If the underlying object is allocatd. More... | |
void | copy (const Data *src) |
void | steal (Data *src) |
void | resetHandle () |
int | getRefCount () const |
Returns the number of shared pointer references to the same Data. More... | |
Friends | |
template<typename OtherData > | |
class | UT_COWReadHandle |
Grant our friends direct access. More... | |
template<typename OtherData > | |
class | UT_COWTransientReadHandle |
template<typename OtherData > | |
class | UT_COWWriteHandle |
A plain handle is an opaque refernce to the data. You can't read or write to it with this sort of handle, but you can copy and store it. Assign a plain handle into a ReadHandle or a WriteHandle to gain more privelages.
Definition at line 18 of file DEP_ContextOptionsFwd.h.
|
inline |
|
inline |
|
inlinevirtual |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |