CFx SDK Documentation 2024 SP0
|
#include <BcfFile.h>
Public Member Functions | |
ODRX_DECLARE_MEMBERS (OdBcfFile) | |
OdBcfFile () | |
virtual OdResult | inFields (TiXmlElement *pParent) ODRX_OVERRIDE |
virtual OdResult | outFields (TiXmlElement *pParent) const ODRX_OVERRIDE |
virtual bool | validate () const ODRX_OVERRIDE |
void | setFilename (const OdString &filenameValue) |
OdString & | getFilename () |
const OdString & | getFilename () const |
bool | isFilenameUnset () const |
void | setReference (const OdString &referenceValue) |
OdString & | getReference () |
const OdString & | getReference () const |
bool | isReferenceUnset () const |
void | setFileAttributes (const OdBcfFileAttributesGroup &fileAttributesValue) |
OdBcfFileAttributesGroup & | getFileAttributes () |
const OdBcfFileAttributesGroup & | getFileAttributes () const |
bool | isFileAttributesUnset () const |
void | setDate (const OdBcfTimeStampPtr &dateValue) |
OdBcfTimeStampPtr & | getDate () |
const OdBcfTimeStampPtr & | getDate () const |
bool | isDateUnset () const |
OdBcfFile & | operator= (const OdBcfFileData &val) |
Public Member Functions inherited from OdBcf::OdBcfElement | |
ODRX_DECLARE_MEMBERS (OdBcfElement) | |
virtual OdResult | inFields (TiXmlElement *pParent)=0 |
virtual OdResult | outFields (TiXmlElement *pParent) const =0 |
virtual bool | validate () const =0 |
Public Member Functions inherited from OdRxObject | |
ODRX_HEAP_OPERATORS () | |
OdRxObject () | |
virtual | ~OdRxObject () |
virtual OdRxObject * | queryX (const OdRxClass *pClass) const |
virtual OdRxObject * | x (const OdRxClass *pClass) const |
virtual OdRxClass * | isA () const |
virtual void | addRef ()=0 |
virtual void | release ()=0 |
virtual long | numRefs () const |
bool | isKindOf (const OdRxClass *pClass) const |
virtual OdRxObjectPtr | clone () const |
virtual void | copyFrom (const OdRxObject *pSource) |
virtual OdRx::Ordering | comparedTo (const OdRxObject *pOther) const |
virtual bool | isEqualTo (const OdRxObject *pOther) const |
Protected Attributes | |
friend | OdBcfSession |
Protected Attributes inherited from OdBcf::OdBcfFileData | |
OdString | m_filename |
OdString | m_reference |
OdBcfFileAttributesGroup | m_fileAttributes |
OdBcfTimeStampPtr | m_pDate |
Additional Inherited Members | |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
OdBcf::OdBcfFile::OdBcfFile | ( | ) |
Creates a new file object with default parameters.
OdBcfTimeStampPtr & OdBcf::OdBcfFile::getDate | ( | ) |
Retrieves the date of creation of the file object.
const OdBcfTimeStampPtr & OdBcf::OdBcfFile::getDate | ( | ) | const |
Retrieves the date of creation of the file object.
OdBcfFileAttributesGroup & OdBcf::OdBcfFile::getFileAttributes | ( | ) |
Retrieves the file attributes.
const OdBcfFileAttributesGroup & OdBcf::OdBcfFile::getFileAttributes | ( | ) | const |
Retrieves the file attributes.
OdString & OdBcf::OdBcfFile::getFilename | ( | ) |
Retrieves the related BIM file name.
const OdString & OdBcf::OdBcfFile::getFilename | ( | ) | const |
Retrieves the related BIM file name.
OdString & OdBcf::OdBcfFile::getReference | ( | ) |
Retrieves the reference for the file object.
const OdString & OdBcf::OdBcfFile::getReference | ( | ) | const |
Retrieves the reference for the file object.
|
virtual |
Reads XML data into ODA data structures.
pParent | [in] A pointer to the parent element of the data structure. |
Implements OdBcf::OdBcfElement.
bool OdBcf::OdBcfFile::isDateUnset | ( | ) | const |
Defines whether the file creation date is not initialized.
bool OdBcf::OdBcfFile::isFileAttributesUnset | ( | ) | const |
Defines whether the file attributes are not initialized.
bool OdBcf::OdBcfFile::isFilenameUnset | ( | ) | const |
Defines whether the name of the related BIM file is not initialized.
bool OdBcf::OdBcfFile::isReferenceUnset | ( | ) | const |
Defines whether the reference value is not initialized.
OdBcf::OdBcfFile::ODRX_DECLARE_MEMBERS | ( | OdBcfFile | ) |
OdBcfFile & OdBcf::OdBcfFile::operator= | ( | const OdBcfFileData & | val | ) |
An assignment operator for BCF file objects. It assigns the \specified content represented with an <link OdBcf::OdBcfFileData, OdBcfFileData> class instance to the file object.
val | [in] An <link OdBcf::OdBcfFileData, OdBcfFileData> object that contains data to be assigned with the file object. |
|
virtual |
Writes data into XML structures.
pParent | [in] A pointer to the parent element of the data structure. |
Implements OdBcf::OdBcfElement.
void OdBcf::OdBcfFile::setDate | ( | const OdBcfTimeStampPtr & | dateValue | ) |
Sets a new date of creation for the file object.
dateValue | [in] An <link OdBcf::OdBcfTimeStamp, OdBcfTimeStamp> object that contains the new date value to be set. |
void OdBcf::OdBcfFile::setFileAttributes | ( | const OdBcfFileAttributesGroup & | fileAttributesValue | ) |
Sets file attributes.
fileAttributesValue | [in] An <link OdBcf::OdBcfFileAttributesGroup, OdBcfFileAttributesGroup> object that contains the file attributes. |
Sets a new name of the related BIM file.
filenameValue | [in] A string that contains the new full name of an IFC file. |
Sets a new reference value for the file object.
referenceValue | [in] A string that contains the new reference value. |
|
virtual |
Checks whether the file instance has all required fields initialized.
Implements OdBcf::OdBcfElement.