|
CFx SDK Documentation 2024 SP0
|
#include <AECDisplayThemeRuleBase.h>
Public Types | |
| enum | DataType { eUInt32 = 1 , eString = 3 , eDouble = 4 } |
| enum | Condition { eEqualTo = 1 , eNotEqualTo = 2 , eLessThan = 3 , eLessThanOrEqualTo = 4 , eGreaterThan = 5 , eGreaterThanOrEqualTo = 6 } |
| enum | Operator { eAnd = 0 , eOr = 1 } |
Public Member Functions | |
| DataType | GetType () const |
| void | SetType (DataType eType) |
| Condition | GetCondition () const |
| void | SetCondition (Condition eCondition) |
| Operator | GetOperator () const |
| void | SetOperator (Operator eOperator) |
| const AECVariant & | GetValue () const |
| void | SetValue (const AECVariant &vValue) |
| OdUInt32 | GetSubRuleCount () const |
| AECDisplayThemeRuleBaseSubPtr | GetSubRuleByIndex (OdUInt32 iIndex) const |
| AECImpArraySubPtr | GetSubRules () const |
| virtual bool | IsAppliedTo (const OdDbObjectId &idEntity) const |
Public Member Functions inherited from AECImpObj | |
| const OdString & | GetDescription () const |
| void | SetDescription (const OdString &strDescription) |
| virtual void | onObjectLoaded () |
| virtual void | SubClose () |
| DOM. | |
| OdRxObject * | GetOwner () const |
| OdRxObject * | GetOwner (OdRxClass *pClass) const |
| void | addRefSubPtr () |
| void | releaseSubPtr () |
| void | assertReadEnabled () const |
| void | assertWriteEnabled (bool autoUndo=true, bool recordModified=true) |
| bool | isReadEnabled () const |
| bool | isWriteEnabled () const |
| OdDbDatabase * | database () const |
| void | copyFrom (const OdRxObject *pOther) |
| virtual OdUInt16 | minSupportedVersion () const |
| void | SetOwner (OdDbObject *pOwner) |
| DOM. | |
| void | SetOwner (AECImpObj *pOwner) |
| DOM. | |
| class AECSIBase * | GetImpl () const |
| DOM. | |
| virtual OdResult | dwgInFieldsEx20 (AECDbDwgFiler *pFiler) |
| DOM. | |
| virtual OdResult | dwgInFieldsEx1 (AECDbDwgFiler *pFiler) |
| DOM. | |
Public Member Functions inherited from OdRxObjectImpl< OdRxObject, AECImpObj > | |
| OdRxObjectImpl () | |
| void | addRef () |
| void | release () |
| long | numRefs () const |
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 | |
| OdUInt8 | m_flags |
| AECImpArray | m_aRules |
| DataType | m_eDataType |
| Condition | m_eCondition |
| Operator | m_eOperator |
| AECVariant | m_vValue |
Protected Attributes inherited from AECImpObj | |
| class AECSIBase * | m_pImp |
| DOM. | |
| OdUInt16 | m_iMinSupportedVersion |
Additional Inherited Members | |
Static Public Member Functions inherited from OdRxObjectImpl< OdRxObject, AECImpObj > | |
| static OdSmartPtr< AECImpObj > | createObject () |
Static Public Member Functions inherited from OdRxObject | |
| static OdRxObjectPtr | cast (const OdRxObject *pointer) |
| static OdRxClass * | desc () |
Protected Member Functions inherited from OdRxObjectImpl< OdRxObject, AECImpObj > | |
| ODRX_HEAP_OPERATORS () | |
Display Theme Rule Base.
<group TA_API_Subobjects_Display_Components>
Definition at line 39 of file AECDisplayThemeRuleBase.h.
Rule condition.
| Enumerator | |
|---|---|
| eEqualTo | |
| eNotEqualTo | |
| eLessThan | |
| eLessThanOrEqualTo | |
| eGreaterThan | |
| eGreaterThanOrEqualTo | |
Definition at line 57 of file AECDisplayThemeRuleBase.h.
Rule data type.
| Enumerator | |
|---|---|
| eUInt32 | |
| eString | |
| eDouble | |
Definition at line 47 of file AECDisplayThemeRuleBase.h.
| Condition AECDisplayThemeRuleBase::GetCondition | ( | ) | const |
Returns condition.
| Operator AECDisplayThemeRuleBase::GetOperator | ( | ) | const |
Returns operator.
| AECDisplayThemeRuleBaseSubPtr AECDisplayThemeRuleBase::GetSubRuleByIndex | ( | OdUInt32 | iIndex | ) | const |
Returns the sub tule by index.
| OdUInt32 AECDisplayThemeRuleBase::GetSubRuleCount | ( | ) | const |
Returns the number of sub rules.
| AECImpArraySubPtr AECDisplayThemeRuleBase::GetSubRules | ( | ) | const |
Returns the array of sub rules.
| DataType AECDisplayThemeRuleBase::GetType | ( | ) | const |
Returns data type.
| const AECVariant & AECDisplayThemeRuleBase::GetValue | ( | ) | const |
Returns value.
|
virtual |
Returns whether this rule is applied to specified entity.
Reimplemented in AECDisplayThemeScheduleDataRule.
| void AECDisplayThemeRuleBase::SetValue | ( | const AECVariant & | vValue | ) |
Sets value.
|
protected |
Definition at line 143 of file AECDisplayThemeRuleBase.h.
|
protected |
Definition at line 149 of file AECDisplayThemeRuleBase.h.
|
protected |
Definition at line 146 of file AECDisplayThemeRuleBase.h.
|
protected |
Definition at line 152 of file AECDisplayThemeRuleBase.h.
|
protected |
Definition at line 140 of file AECDisplayThemeRuleBase.h.
|
protected |
Definition at line 155 of file AECDisplayThemeRuleBase.h.