|
Zen API
|
|
protected |
Protected virtual method that clones (makes a deep copy of) the specified source object.
This method can be overridden in derived classes to support kObject_Clone.
There is no requirement to call kObject_VClone from derived VClone methods.
Types that override this virtual method should also provide a framework constructor via the kAddFrameworkConstructor or kAddPrivateFrameworkConstructor macros.
| object | Object instance (initialized via framework constructor). |
| source | Object to be cloned (required). |
| valueAllocator | Value memory allocator; can optionally be used by types that support a separate allocator for value content (e.g., kArray1). |
| context | Context for copy operation (allocator specific; not usually provided). |