Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kStream_Init | ( | kStream | stream,
|  | kType | type,
|  | kAlloc | allocator
| ) |  |
| protected

Protected method called by derived classes to initialize the kStream base class.

This method should typically be called as the first statement in derived initializer methods.

Parameters

  stream | Stream instance (not yet initialized).
  type | Object type (required).
  allocator | Memory allocator (required).

Returns
  Operation status.