Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
#define kObjN (   TypeName_T,
  VarName_obj,
  T_object 
)

Declares a local this-pointer variable with a specified name and initializes it from a type-checked object handle.

The "N" suffix refers to providing a "named" this-variable. This macro should be used when accessing the instance fields of an object other than the current object (i.e., other instances of the same class, for example in assignment/copy methods, or instances of friend classes).

Parameters
TypeName_TClass type name (e.g. kObject).
VarName_objThis variable name (e.g. obj).
T_objectClass instance (e.g. object).