CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Attributes | List of all members
AECDisplayThemeRuleBase Class Reference

#include <AECDisplayThemeRuleBase.h>

Inheritance diagram for AECDisplayThemeRuleBase:
AECImpObj OdRxObjectImpl< OdRxObject, AECImpObj > OdRxObject AECDisplayThemeScheduleDataRule

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 AECVariantGetValue () 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 OdStringGetDescription () const
 
void SetDescription (const OdString &strDescription)
 
virtual void onObjectLoaded ()
 
virtual void SubClose ()
 DOM.
 
OdRxObjectGetOwner () const
 
OdRxObjectGetOwner (OdRxClass *pClass) const
 
void addRefSubPtr ()
 
void releaseSubPtr ()
 
void assertReadEnabled () const
 
void assertWriteEnabled (bool autoUndo=true, bool recordModified=true)
 
bool isReadEnabled () const
 
bool isWriteEnabled () const
 
OdDbDatabasedatabase () 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 OdRxObjectqueryX (const OdRxClass *pClass) const
 
virtual OdRxObjectx (const OdRxClass *pClass) const
 
virtual OdRxClassisA () 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< AECImpObjcreateObject ()
 
- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 
- Protected Member Functions inherited from OdRxObjectImpl< OdRxObject, AECImpObj >
 ODRX_HEAP_OPERATORS ()
 

Detailed Description

Display Theme Rule Base.

<group TA_API_Subobjects_Display_Components>

Definition at line 39 of file AECDisplayThemeRuleBase.h.

Member Enumeration Documentation

◆ Condition

Rule condition.

Enumerator
eEqualTo 
eNotEqualTo 
eLessThan 
eLessThanOrEqualTo 
eGreaterThan 
eGreaterThanOrEqualTo 

Definition at line 57 of file AECDisplayThemeRuleBase.h.

◆ DataType

Rule data type.

Enumerator
eUInt32 
eString 
eDouble 

Definition at line 47 of file AECDisplayThemeRuleBase.h.

◆ Operator

Rule operator.

Enumerator
eAnd 
eOr 

Definition at line 70 of file AECDisplayThemeRuleBase.h.

Member Function Documentation

◆ GetCondition()

Condition AECDisplayThemeRuleBase::GetCondition ( ) const

Returns condition.

◆ GetOperator()

Operator AECDisplayThemeRuleBase::GetOperator ( ) const

Returns operator.

◆ GetSubRuleByIndex()

AECDisplayThemeRuleBaseSubPtr AECDisplayThemeRuleBase::GetSubRuleByIndex ( OdUInt32  iIndex) const

Returns the sub tule by index.

◆ GetSubRuleCount()

OdUInt32 AECDisplayThemeRuleBase::GetSubRuleCount ( ) const

Returns the number of sub rules.

◆ GetSubRules()

AECImpArraySubPtr AECDisplayThemeRuleBase::GetSubRules ( ) const

Returns the array of sub rules.

◆ GetType()

DataType AECDisplayThemeRuleBase::GetType ( ) const

Returns data type.

◆ GetValue()

const AECVariant & AECDisplayThemeRuleBase::GetValue ( ) const

Returns value.

◆ IsAppliedTo()

virtual bool AECDisplayThemeRuleBase::IsAppliedTo ( const OdDbObjectId idEntity) const
virtual

Returns whether this rule is applied to specified entity.

Reimplemented in AECDisplayThemeScheduleDataRule.

◆ SetCondition()

void AECDisplayThemeRuleBase::SetCondition ( Condition  eCondition)

Sets condition.

◆ SetOperator()

void AECDisplayThemeRuleBase::SetOperator ( Operator  eOperator)

Sets operator.

◆ SetType()

void AECDisplayThemeRuleBase::SetType ( DataType  eType)

Sets data type.

◆ SetValue()

void AECDisplayThemeRuleBase::SetValue ( const AECVariant vValue)

Sets value.

Member Data Documentation

◆ m_aRules

AECImpArray AECDisplayThemeRuleBase::m_aRules
protected

Definition at line 143 of file AECDisplayThemeRuleBase.h.

◆ m_eCondition

Condition AECDisplayThemeRuleBase::m_eCondition
protected

Definition at line 149 of file AECDisplayThemeRuleBase.h.

◆ m_eDataType

DataType AECDisplayThemeRuleBase::m_eDataType
protected

Definition at line 146 of file AECDisplayThemeRuleBase.h.

◆ m_eOperator

Operator AECDisplayThemeRuleBase::m_eOperator
protected

Definition at line 152 of file AECDisplayThemeRuleBase.h.

◆ m_flags

OdUInt8 AECDisplayThemeRuleBase::m_flags
protected

Definition at line 140 of file AECDisplayThemeRuleBase.h.

◆ m_vValue

AECVariant AECDisplayThemeRuleBase::m_vValue
protected

Definition at line 155 of file AECDisplayThemeRuleBase.h.


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