API Reference > OdBcf Namespace > Classes > OdBcfArchive Class > OdBcfArchive Methods > OdBcfArchive::createObject Method
OdBcfArchive::createObject Method
Syntax
C++
static OdSmartPtr<OdBcfArchive> createObject(const OdBcfArchiveFolderPtr & rootDir, const OdBcfVersionPtr & pVersion, const OdBcfProjectExtensionPtr & pProjectExtension = OdBcfProjectExtensionPtr(), const OdBcfTopicFolderMap & topics = OdBcfTopicFolderMap(), bool changed = false);
Parameters 
Description 
const OdBcfArchiveFolderPtr & rootDir 
[in] A pointer to the archive root directory.  
const OdBcfVersionPtr & pVersion 
[in] A pointer to version of archive.  
const OdBcfProjectExtensionPtr & pProjectExtension = OdBcfProjectExtensionPtr() 
[in] A pointer to project extension of archive.  
const OdBcfTopicFolderMap & topics = OdBcfTopicFolderMap() 
[in] A map of topics in the archive.  
bool changed = false 
[in] A flag that determines whether the archive was changed after creation (equal to true) or not (equal to false).  

A smart pointer to the created OdBcfArchive instance.

Creates a new archive object.

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