Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kObject_VInitClone | ( | kObject | object,
|  | kObject | source,
|  | kAlloc | allocator
| ) |  |
| 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_VInitClone from derived VInitClone methods.

Parameters

  object | Object instance (not yet initialized).
  source | Object to be cloned (required).
  allocator | Memory allocator (required).

Returns
  Operation status.