CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
OdIfc4::IfcOwnerHistory Class Reference

#include <IfcOwnerHistoryAutoImpl.h>

Inheritance diagram for OdIfc4::IfcOwnerHistory:
OdIfc4::OdIfc4Instance OdIfc::OdIfcInstance

Public Member Functions

const OdDAIObjectId & getOwningUser () const
 
void setOwningUser (const OdDAIObjectId &OwningUser)
 
const OdDAIObjectId & getOwningApplication () const
 
void setOwningApplication (const OdDAIObjectId &OwningApplication)
 
IfcStateEnum getState () const
 
void setState (IfcStateEnum State)
 
IfcChangeActionEnum getChangeAction () const
 
void setChangeAction (IfcChangeActionEnum ChangeAction)
 
int getLastModifiedDate () const
 
void setLastModifiedDate (int LastModifiedDate)
 
const OdDAIObjectId & getLastModifyingUser () const
 
void setLastModifyingUser (const OdDAIObjectId &LastModifyingUser)
 
const OdDAIObjectId & getLastModifyingApplication () const
 
void setLastModifyingApplication (const OdDAIObjectId &LastModifyingApplication)
 
int getCreationDate () const
 
void setCreationDate (int CreationDate)
 
 IfcOwnerHistory ()
 
virtual OdResult inFields (OdDAI::OdSpfFilerBase *rdFiler) override
 
virtual OdResult outFields (OdDAI::OdSpfFilerBase *wrFiler) override
 
virtual OdDAI::Entity * getInstanceType () const override
 
virtual OdRxValue getAttr (const char *attrName) const override
 
virtual bool comparedToEarlyImpl (const OdDAI::ApplicationInstance *pOther, OdRx::Ordering &ordering) const override
 
virtual void unsetAttr (const char *explicitAttrName) override
 
virtual bool testAttr (const char *explicitAttrName) const override
 
virtual bool putAttr (const char *explicitAttrName, const OdRxValue &val) override
 
virtual bool isKindOf (OdIfc::OdIfcEntityType entityType) const override
 
virtual OdIfc::OdIfcEntityType type () const override
 
virtual OdRxValue getAttr (const OdIfc::OdIfcAttribute attrDef) const override
 
virtual void unsetAttr (const OdIfc::OdIfcAttribute explicitAttrDef) override
 
virtual bool testAttr (const OdIfc::OdIfcAttribute explicitAttrDef) const override
 
virtual bool putAttr (const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val) override
 
- Public Member Functions inherited from OdIfc4::OdIfc4Instance
void setInverseCounterParts () override
 
- Public Member Functions inherited from OdIfc::OdIfcInstance
 ODRX_DECLARE_MEMBERS (OdIfcInstance)
 
 OdIfcInstance ()
 
 ~OdIfcInstance ()
 
bool isInstanceOf (OdIfcEntityType entityType) const
 
IfcOpResult resolved ()
 
void resolve (IfcOpResult resolved, void *resPtr)
 
void unresolve ()
 
virtual void setGsNode (OdGsCache *pGsNode)
 
virtual OdGsCachegsNode () const
 
virtual OdUInt32 subSetAttributes (OdGiDrawableTraits *traits) const
 
virtual bool subWorldDraw (OdGiWorldDraw *wd) const
 
virtual OdDbStub * ownerId () const
 

Protected Attributes

OdDAIObjectId m_OwningUser
 
OdDAIObjectId m_OwningApplication
 
OdDAI::Enum m_State
 
OdDAI::Enum m_ChangeAction
 
int m_LastModifiedDate
 
OdDAIObjectId m_LastModifyingUser
 
OdDAIObjectId m_LastModifyingApplication
 
int m_CreationDate
 
- Protected Attributes inherited from OdIfc::OdIfcInstance
voidm_resPtr
 
IfcOpResult m_resolved
 

Additional Inherited Members

- Static Public Member Functions inherited from OdIfc::OdIfcInstance
static const OdGePoint3dasPoint3d (const OdIfcInstance *inst)
 
static const OdGePoint2dasPoint2d (const OdIfcInstance *inst)
 
static const OdGeVector3dasVector3d (const OdIfcInstance *inst)
 
static const OdGeVector2dasVector2d (const OdIfcInstance *inst)
 
static const OdGeMatrix2dasMatrix2d (const OdIfcInstance *inst)
 
static const OdGeMatrix3dasMatrix3d (const OdIfcInstance *inst)
 
static OdIfcCompoundPtr asCompound (OdSmartPtr< OdIfcInstance > inst)
 
static const OdCmEntityColorasRgbColor (const OdIfcInstance *inst)
 

Detailed Description

IfcOwnerHistory defines all history and identification related information. To provide fast access it is directly attached to all independent objects, relationships and properties. IfcOwnerHistory identifies the creating and owning application and user for the associated object, and captures the last modifying application and user.

\changes

IFC4 changes: Attribute ChangeAction is now optional

Definition at line 53 of file Ifc4/IfcOwnerHistoryAutoImpl.h.

Constructor & Destructor Documentation

◆ IfcOwnerHistory()

OdIfc4::IfcOwnerHistory::IfcOwnerHistory ( )

Default constructor for the IfcOwnerHistory class.

Member Function Documentation

◆ comparedToEarlyImpl()

virtual bool OdIfc4::IfcOwnerHistory::comparedToEarlyImpl ( const OdDAI::ApplicationInstance * pOther,
OdRx::Ordering & ordering ) const
overridevirtual

Early-bound version of instances comparison.

Parameters
pOther[in] Other application instance.
ordering[out] Receives the ordering (comparison) status.
Returns
true if comparison was performed, false if method has no implementation, so late-bound version could be applied.
Remarks
If the method returns true, the ordering parameter can receive one of the following statuses:
Value Description kLessThan -1 This object < Other Object. kEqual 0 This object = Other Object. kGreaterThan 1 This object > Other Object. kNotOrderable 2 This class is not orderable.

◆ getAttr() [1/2]

virtual OdRxValue OdIfc4::IfcOwnerHistory::getAttr ( const char * attrName) const
overridevirtual

Returns an attribute value for the specified attribute name.

Parameters
attrName[in] Name of an attribute to query.
Returns
OdRxValue object that represents a generic variant type value.

◆ getAttr() [2/2]

virtual OdRxValue OdIfc4::IfcOwnerHistory::getAttr ( const OdIfc::OdIfcAttribute attrDef) const
overridevirtual

Returns an attribute value for the specified attribute definition.

Parameters
attrDef[in] Attribute definition to query.
Returns
OdRxValue object that represents a generic variant type value.

Reimplemented from OdIfc::OdIfcInstance.

◆ getChangeAction()

IfcChangeActionEnum OdIfc4::IfcOwnerHistory::getChangeAction ( ) const

Returns the value of ChangeAction attribute. This attribute represents enumeration that defines the actions associated with changes made to the object.

Returns
Returns the value of ChangeAction attribute.

◆ getCreationDate()

int OdIfc4::IfcOwnerHistory::getCreationDate ( ) const

Returns the value of CreationDate attribute. This attribute represents the date and time expressed in UTC (Universal Time Coordinated, formerly Greenwich Mean Time or GMT) when first created by the original OwningApplication. Once defined this value remains unchanged through the lifetime of the entity.

Returns
Returns the value of CreationDate attribute.

◆ getInstanceType()

virtual OdDAI::Entity * OdIfc4::IfcOwnerHistory::getInstanceType ( ) const
overridevirtual

Returns a type of a class instance.

Returns
Pointer to the <exref target=https://docs.opendesign.com/tkernel_api_cpp/OdDAI__Entity.html>>OdDAI::Entity</exref> type that determines an entity definition within a schema.

◆ getLastModifiedDate()

int OdIfc4::IfcOwnerHistory::getLastModifiedDate ( ) const

Returns the value of LastModifiedDate attribute. This attribute represents date and time expressed in UTC (Universal Time Coordinated, formerly Greenwich Mean Time or GMT) at which the last modification was made by last modifying user (LastModifyingUser attribute) and last modifying application (LastModifyingApplication attribute).

Returns
Returns the value of LastModifiedDate attribute.

◆ getLastModifyingApplication()

const OdDAIObjectId & OdIfc4::IfcOwnerHistory::getLastModifyingApplication ( ) const

Returns the value of LastModifyingApplication attribute. This attribute represents application used to make the last modification.

Returns
Returns the value of LastModifyingApplication attribute.

◆ getLastModifyingUser()

const OdDAIObjectId & OdIfc4::IfcOwnerHistory::getLastModifyingUser ( ) const

Returns the value of LastModifyingUser attribute. This attribute represents user who made the last modification using last modifying application (LastModifyingApplication attribute).

Returns
Returns the value of LastModifyingUser attribute.

◆ getOwningApplication()

const OdDAIObjectId & OdIfc4::IfcOwnerHistory::getOwningApplication ( ) const

Returns the value of OwningApplication attribute. This attribute represents reference to the application which currently "owns" this object on behalf of the owning user of the application. IFC includes the concept of ownership transfer from one application to another and therefore distinguishes between the Owning Application and Creating Application.

Returns
Returns the value of OwningApplication attribute.

◆ getOwningUser()

const OdDAIObjectId & OdIfc4::IfcOwnerHistory::getOwningUser ( ) const

Returns the value of OwningUser attribute. This attribute represents reference to the end user who currently "owns" this object. IFC includes the concept of ownership transfer from one user to another and therefore distinguishes between the Owning User and Creating User.

Returns
Returns the value of OwningUser attribute.

◆ getState()

IfcStateEnum OdIfc4::IfcOwnerHistory::getState ( ) const

Returns the value of State attribute. This attribute represents enumeration that defines the current access state of the object.

Returns
Returns the value of State attribute.

◆ inFields()

virtual OdResult OdIfc4::IfcOwnerHistory::inFields ( OdDAI::OdSpfFilerBase * rdFiler)
overridevirtual

Reads object's data from the specified filer.

Parameters
rdFiler[in] Pointer to a filer from which to read the data.
Returns
A value of OdResult type that contains the result of the method execution.

◆ isKindOf()

virtual bool OdIfc4::IfcOwnerHistory::isKindOf ( OdIfc::OdIfcEntityType entityType) const
overridevirtual

Checks whether the specified instance is the object derived from or belongs to this class.

Parameters
entityType[in] Entity to check.
Returns
true if the specified instance is the object derived from or belongs to this class, false otherwise.

Reimplemented from OdIfc::OdIfcInstance.

◆ outFields()

virtual OdResult OdIfc4::IfcOwnerHistory::outFields ( OdDAI::OdSpfFilerBase * wrFiler)
overridevirtual

Writes object's data the the specified filer.

Parameters
wrFiler[in] Pointer to a filer to which to write the data.
Returns
A value of OdResult type that contains the result of the method execution.

◆ putAttr() [1/2]

virtual bool OdIfc4::IfcOwnerHistory::putAttr ( const char * explicitAttrName,
const OdRxValue & val )
overridevirtual

Sets the specified attribute with a given value.

Parameters
explicitAttrName[in] Explicit name of the attribute to set.
val[in] Value to set.
Returns
true if the value is successfully set for the specified attribute, false otherwise.

Reimplemented from OdIfc::OdIfcInstance.

◆ putAttr() [2/2]

virtual bool OdIfc4::IfcOwnerHistory::putAttr ( const OdIfc::OdIfcAttribute explicitAttrDef,
const OdRxValue & val )
overridevirtual

Sets the specified attribute with a given value.

Parameters
explicitAttrDef[in] Explicit attribute definition to set.
val[in] Value to set.
Returns
true if the value is successfully set for the specified attribute, false otherwise.

Reimplemented from OdIfc::OdIfcInstance.

◆ setChangeAction()

void OdIfc4::IfcOwnerHistory::setChangeAction ( IfcChangeActionEnum ChangeAction)

Sets the value of ChangeAction attribute. This attribute represents enumeration that defines the actions associated with changes made to the object.

Parameters
ChangeAction[in] ChangeAction attribute to set.

◆ setCreationDate()

void OdIfc4::IfcOwnerHistory::setCreationDate ( int CreationDate)

Sets the value of CreationDate attribute. This attribute represents the date and time expressed in UTC (Universal Time Coordinated, formerly Greenwich Mean Time or GMT) when first created by the original OwningApplication. Once defined this value remains unchanged through the lifetime of the entity.

Parameters
CreationDate[in] Creation date to set.

◆ setLastModifiedDate()

void OdIfc4::IfcOwnerHistory::setLastModifiedDate ( int LastModifiedDate)

Sets the value of LastModifiedDate attribute. This attribute represents date and time expressed in UTC (Universal Time Coordinated, formerly Greenwich Mean Time or GMT) at which the last modification was made by last modifying user (LastModifyingUser attribute) and last modifying application (LastModifyingApplication attribute).

Parameters
LastModifiedDate[in] Last modified date to set.

◆ setLastModifyingApplication()

void OdIfc4::IfcOwnerHistory::setLastModifyingApplication ( const OdDAIObjectId & LastModifyingApplication)

Sets the value of LastModifyingApplication attribute. This attribute represents application used to make the last modification.

Parameters
LastModifyingApplication[in] Last modifying application to set.

◆ setLastModifyingUser()

void OdIfc4::IfcOwnerHistory::setLastModifyingUser ( const OdDAIObjectId & LastModifyingUser)

Sets the value of LastModifyingUser attribute. This attribute represents user who made the last modification using last modifying application (LastModifyingApplication attribute).

Parameters
LastModifyingUser[in] Last modifying user to set.

◆ setOwningApplication()

void OdIfc4::IfcOwnerHistory::setOwningApplication ( const OdDAIObjectId & OwningApplication)

Sets the value of OwningApplication attribute. This attribute represents reference to the application which currently "owns" this object on behalf of the owning user of the application. IFC includes the concept of ownership transfer from one application to another and therefore distinguishes between the Owning Application and Creating Application.

Parameters
OwningApplication[in] Owning application to set.

◆ setOwningUser()

void OdIfc4::IfcOwnerHistory::setOwningUser ( const OdDAIObjectId & OwningUser)

Sets the value of OwningUser attribute. This attribute represents reference to the end user who currently "owns" this object. IFC includes the concept of ownership transfer from one user to another and therefore distinguishes between the Owning User and Creating User.

Parameters
OwningUser[in] Owning user to set.

◆ setState()

void OdIfc4::IfcOwnerHistory::setState ( IfcStateEnum State)

Sets the value of State attribute. This attribute represents enumeration that defines the current access state of the object.

Parameters
State[in] Access state to set.

◆ testAttr() [1/2]

virtual bool OdIfc4::IfcOwnerHistory::testAttr ( const char * explicitAttrName) const
overridevirtual

Checks whether the specified attribute is set.

Parameters
explicitAttrName[in] Explicit name of the attribute to test.
Returns
true if the specified attribute is set, false otherwise.

Reimplemented from OdIfc::OdIfcInstance.

◆ testAttr() [2/2]

virtual bool OdIfc4::IfcOwnerHistory::testAttr ( const OdIfc::OdIfcAttribute explicitAttrDef) const
overridevirtual

Checks whether the specified attribute is set.

Parameters
explicitAttrDef[in] Attribute definition to test.
Returns
true if the specified attribute is set, false otherwise.

Reimplemented from OdIfc::OdIfcInstance.

◆ type()

virtual OdIfc::OdIfcEntityType OdIfc4::IfcOwnerHistory::type ( ) const
overridevirtual

Returns the type of this entity.

Returns
A value of the <exref target=https://docs.opendesign.com/tkernel_api_cpp/OdIfc__OdIfcEntityType.html>>OdIfc::OdIfcEntityType</exref> type that represents type of this entity.

Reimplemented from OdIfc::OdIfcInstance.

◆ unsetAttr() [1/2]

virtual void OdIfc4::IfcOwnerHistory::unsetAttr ( const char * explicitAttrName)
overridevirtual

Resets a value for the specified attribute.

Parameters
explicitAttrName[in] Explicit name of the attribute to reset.

Reimplemented from OdIfc::OdIfcInstance.

◆ unsetAttr() [2/2]

virtual void OdIfc4::IfcOwnerHistory::unsetAttr ( const OdIfc::OdIfcAttribute explicitAttrDef)
overridevirtual

Resets a value for the specified attribute.

Parameters
explicitAttrDef[in] Explicit definition that represents an attribute to reset.

Reimplemented from OdIfc::OdIfcInstance.

Member Data Documentation

◆ m_ChangeAction

OdDAI::Enum OdIfc4::IfcOwnerHistory::m_ChangeAction
protected

Definition at line 333 of file Ifc4/IfcOwnerHistoryAutoImpl.h.

◆ m_CreationDate

int OdIfc4::IfcOwnerHistory::m_CreationDate
protected

Definition at line 337 of file Ifc4/IfcOwnerHistoryAutoImpl.h.

◆ m_LastModifiedDate

int OdIfc4::IfcOwnerHistory::m_LastModifiedDate
protected

Definition at line 334 of file Ifc4/IfcOwnerHistoryAutoImpl.h.

◆ m_LastModifyingApplication

OdDAIObjectId OdIfc4::IfcOwnerHistory::m_LastModifyingApplication
protected

Definition at line 336 of file Ifc4/IfcOwnerHistoryAutoImpl.h.

◆ m_LastModifyingUser

OdDAIObjectId OdIfc4::IfcOwnerHistory::m_LastModifyingUser
protected

Definition at line 335 of file Ifc4/IfcOwnerHistoryAutoImpl.h.

◆ m_OwningApplication

OdDAIObjectId OdIfc4::IfcOwnerHistory::m_OwningApplication
protected

Definition at line 331 of file Ifc4/IfcOwnerHistoryAutoImpl.h.

◆ m_OwningUser

OdDAIObjectId OdIfc4::IfcOwnerHistory::m_OwningUser
protected

Definition at line 330 of file Ifc4/IfcOwnerHistoryAutoImpl.h.

◆ m_State

OdDAI::Enum OdIfc4::IfcOwnerHistory::m_State
protected

Definition at line 332 of file Ifc4/IfcOwnerHistoryAutoImpl.h.


The documentation for this class was generated from the following file: