API Reference > Classes > Loader Classes > OdBmLoaderHostAppServices Class > OdBmLoaderHostAppServices Methods > OdBmLoaderHostAppServices::createDatabase Method
OdBmLoaderHostAppServices::createDatabase Method
Syntax
C++
virtual OdBmDatabasePtr createDatabase(bool createDefault = true) const;
Parameters 
Description 
defaultContent 
[in] If it is not equal to kNotInitialized, the newly created database will be populated with the default set of objects. 

Returns the newly created database.

Creates an instance of an OdBmDatabase object. This HostAppServices object will be associated with the newly created database. 

 

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