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

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.