API Reference > Classes > PRC Protocol Extensions Classes > ExPrcCommandContext Class > ExPrcCommandContext Methods > createObject Method > ExPrcCommandContext::createObject Method (OdEdBaseIO*, OdPrcFile*)
ExPrcCommandContext::createObject Method (OdEdBaseIO*, OdPrcFile*)
Syntax
C++
static OdPrcCommandContextPtr createObject(OdEdBaseIO* pIOStream, OdPrcFile* pDb);
Parameters 
Description 
OdEdBaseIO* pIOStream 
[in] A pointer to a stream buffer for user input/output operations.  
OdPrcFile* pDb 
[in] A pointer to a .prc database.  

Returns a smart pointer to the newly created object.

Creates an instance of the ExPrcCommandContext class.

Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.