API Reference > Classes > PRC Files, Structures and Assemblies > OdPrcFileStructure Class > OdPrcFileStructure Methods > addObject Method > OdPrcFileStructure::addObject Method (OdPrcReferencedBase *, OdUInt32)
OdPrcFileStructure::addObject Method (OdPrcReferencedBase *, OdUInt32)
Syntax
C++
void addObject(OdPrcReferencedBase * object, OdUInt32 uid);
Parameters 
Description 
OdPrcReferencedBase * object 
[in] A pointer to the PRC object to be added to a database.  
OdUInt32 uid 
[in] A unique identifier for the object to be added. 

Adds a PRC object to the database with a specified unique identifier. 

 

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