nn::nex::DuplicatedObject::DynamicCast Member Function

Syntax

static DuplicatedObject * DynamicCast(
     DuplicatedObject * pDO
);

Parameters

Name Description
in pDO Specifies a pointer to a duplicated object.

Return Values

Returns a pointer to the duplicated object specified by pDO. The returned pointer is cast to an appropriate type.

Value Description
NULL Returned when the pointer to the duplicated object specified by pDO was not an expected type. For example, NULL is returned when AvatarDynamicCast was called but pDO was not an Avatar type.

Description

Dynamically casts a pointer to a duplicated object.

Uses runtime information to dynamically cast the specified DuplicatedObject*-type pointer. This static function is automatically generated by the Data Definition Language (DDL) compiler. For example, when a class named Avatar is declared in the DDL file, you can call the Avatar::DynamicCast function to use this feature. There is no support for directly calling the DuplicatedObject::DynamicCast function.

Revision History

2012/01/26
Initial version.

CONFIDENTIAL