nn::nex::DuplicatedObject::Create Member Function

Syntax

static DuplicatedObject * Create(
     DOID idUserDefinedID
);

Parameters

Name Description
in idUserDefinedID Specifies the DOID of the duplicated object to create.

Return Values

Returns a pointer to the created local instance of the duplicated object.

Description

Creates a local instance of a duplicated object.

This static function is defined for each duplicated object class created by the Data Definition Language (DDL) compiler. For example, to create an Avatar class instance, call AvatarCreate(idUserDefinedID). No function named DuplicatedObject::Create is supported.

In this overloaded function, you can explicitly specify the DOID of the duplicated object to create. This value is generated by calling the IDGenerator::GenerateID function. The duplicated object handles of the ID generators for each duplicated object class can be obtained with a function called GetIDGenerator that is implemented in the source code automatically created by the DDL compiler.

See Also

Publish, CreateWellKnown

Revision History

2012/01/27
Initial version.

CONFIDENTIAL