Close

Relief for ODA Team in Ukraine

Learn more
ODA PRC SDK
OdPrcHostAppServices::createDatabase Method
Syntax
C++
virtual OdPrcFilePtr createDatabase(DatabaseDefaultContent defaultContent = kDbDefault) const;

Creates an instance of an OdPrcFile object. 

 

Parameters
Description
defaultContent
[in] A default database content flag. It determines whether the newly created database is populated with the default set of objects (by default). If the parameter value is equal to kNotInitialized, the database default content is not initialized.

Returns the newly created database.

This HostAppServices object will be associated with the newly created database.

Copyright © 2002-2022. Open Design Alliance All rights reserved.