UT_COWHandle< Data > Class Template Reference
List of all members.
class UT_COWHandle< Data >
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 53 of file UT_COW.h.
Constructor & Destructor Documentation
Default constructor creates a null pointer. To assign the pointer:
Definition at line 61 of file UT_COW.h.
Member Function Documentation
Calls the default constructor on the object.
Definition at line 92 of file UT_COW.h.
Makes a copy of the source data. This is the safest approach as the caller will retain ownership.
- This uses the Data copy constructor.
Definition at line 101 of file UT_COW.h.
Turns us into a null pointer, a useful way to end our use of a handle without having to play weird scope games.
Definition at line 118 of file UT_COW.h.
Be careful when initializing using this function. The handle will gain ownership of the provided pointer, so the caller should cease referring to it.
Definition at line 110 of file UT_COW.h.
Friends And Related Function Documentation
Grant our friends direct access.
Definition at line 147 of file UT_COW.h.
The documentation for this class was generated from the following file: