CFx SDK Documentation 2024 SP0
|
#include <BcfArchive.h>
Static Public Member Functions | |
static OdSmartPtr< OdBcfArchive > | createObject (const OdBcfArchiveFolderPtr &rootDir, const OdBcfVersionPtr &pVersion, const OdBcfProjectExtensionPtr &pProjectExtension=OdBcfProjectExtensionPtr(), const OdBcfTopicFolderMap &topics=OdBcfTopicFolderMap(), bool changed=false) |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
Protected Member Functions | |
void | setRootDir (const OdBcfArchiveFolderPtr &rootDirValue) |
void | setVersion (const OdBcfVersionPtr &versionValue) |
OdBcfArchiveFolderPtr & | getRootDir () |
OdBcfVersionPtr & | getVersion () |
Protected Attributes | |
OdBcfVersionPtr | m_pVersion |
OdBcfProjectExtensionPtr | m_pProjectExtension |
OdBcfTopicFolderMap | m_topics |
OdGUID | m_archiveGUID |
OdBcfArchiveFolderPtr | m_rootDir |
bool | m_changed |
friend | OdBcfSession |
A class that provides functionality for working with project archive.
Definition at line 55 of file BcfArchive.h.
OdBcf::OdBcfArchive::OdBcfArchive | ( | ) |
Creates a new archive object with default parameters.
|
static |
Creates a new archive object.
rootDir | [in] A pointer to the archive root directory. |
pVersion | [in] A pointer to version of archive. |
pProjectExtension | [in] A pointer to project extension of archive. |
topics | [in] A map of topics in the archive. |
changed | [in] A flag that determines whether the archive was changed after creation (equal to true) or not (equal to false). |
const OdGUID & OdBcf::OdBcfArchive::getArchiveGUID | ( | ) | const |
Retrieves the archive's global unique identifier (GUID).
OdBcfProjectExtensionPtr & OdBcf::OdBcfArchive::getProjectExtension | ( | ) |
Retrieves the archive's project extension.
const OdBcfProjectExtensionPtr & OdBcf::OdBcfArchive::getProjectExtension | ( | ) | const |
Retrieves the archive's project extension.
|
protected |
Retrieves the archive's root directory.
const OdBcfArchiveFolderPtr & OdBcf::OdBcfArchive::getRootDir | ( | ) | const |
Retrieves the archive's root directory.
OdBcfTopicFolderMap & OdBcf::OdBcfArchive::getTopics | ( | ) |
Retrieves the archive's topic folders.
const OdBcfTopicFolderMap & OdBcf::OdBcfArchive::getTopics | ( | ) | const |
Retrieves the archive's topic folders.
|
protected |
Retrieves the archive's version.
const OdBcfVersionPtr & OdBcf::OdBcfArchive::getVersion | ( | ) | const |
Retrieves the archive's version.
bool OdBcf::OdBcfArchive::isArchiveGUIDUnset | ( | ) | const |
Defines whether the archive's global unique identifier (GUID) is not initialized.
bool OdBcf::OdBcfArchive::isProjectExtensionUnset | ( | ) | const |
Defines whether the archive's project extension is not initialized.
bool OdBcf::OdBcfArchive::isRootDirUnset | ( | ) | const |
Defines whether the archive's root directory is not initialized.
bool OdBcf::OdBcfArchive::isTopicsUnset | ( | ) | const |
Defines whether the archive's topic folders are not initialized.
bool OdBcf::OdBcfArchive::isVersionUnset | ( | ) | const |
Defines whether the archive's version is not initialized.
OdBcf::OdBcfArchive::ODRX_DECLARE_MEMBERS | ( | OdBcfArchive | ) |
void OdBcf::OdBcfArchive::setProjectExtension | ( | const OdBcfProjectExtensionPtr & | projectExtensionValue | ) |
Sets a new project extension object for the archive.
projectExtensionValue | [in] A smart pointer to the <link OdBcf::OdBcfProjectExtension, OdBcfProjectExtension> object to be set. |
|
protected |
Sets a new root directory for the archive.
rootDirValue | [in] A smart pointer to the <link OdBcf::OdBcfArchiveFolder, OdBcfArchiveFolder> object to be set as a root directory. |
void OdBcf::OdBcfArchive::setTopics | ( | const OdBcfTopicFolderMap & | topicsValue | ) |
Sets new topic folders for the archive.
topicsValue | [in] A smart pointer to the map of <link OdBcf::OdBcfTopicFolder, OdBcfTopicFolder> objects to be set as archive topics. |
|
protected |
Sets a new version for the archive.
versionValue | [in] A smart pointer to the <link OdBcf::OdBcfVersion, version> object to be set. |
|
virtual |
Checks whether the instance has all required fields initialized.
|
protected |
Definition at line 191 of file BcfArchive.h.
|
protected |
Definition at line 193 of file BcfArchive.h.
|
protected |
Definition at line 189 of file BcfArchive.h.
|
protected |
Definition at line 188 of file BcfArchive.h.
|
protected |
Definition at line 192 of file BcfArchive.h.
|
protected |
Definition at line 190 of file BcfArchive.h.
|
protected |
Definition at line 224 of file BcfArchive.h.