Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

#define kObjR | ( |  | TypeName_T,
|  |  | T_object
| ) |  |

Declares a local "obj" (this-pointer) variable and initializes it from an object handle, without type-checking.

The "R" suffix refers to "raw" (unchecked) access. This macro should be used in (and only in) class initializer methods, where type information has not yet been established for the object.

Parameters

  TypeName_T | Class type name (e.g. kObject).
  T_object | Class instance (e.g. object).