API Reference > Classes > PRC Database Auxiliary Classes > OdPrcCommandContext Class
OdPrcCommandContext Class
OdPrcCommandContext
Syntax
C++
class OdPrcCommandContext : public OdEdCommandContext;

PrcCommandContext.h

This class defines the interface for I/O operations and database access for custom commands during their execution.

Client applications that invoke custom commands should use an instance of this class (or a subclass) to pass to the OdEdCommandStack::executeCommand function. Using this class instead of a true instance of OdEdCommandContext provides custom commands with database access. 

 

Returns a database pointer for using in a custom command. 
Returns the user IO object for this CommandContext object. 
Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.