|
CFx SDK Documentation
2023 SP0
|
#include <AECInstanceBasedValue.h>
Public Types | |
| enum | Operator { eAddition = 0 , eSubstraction = 1 , eDivision = 2 , eMultiplication = 3 } |
Public Member Functions | |
| double | GetBaseValue () const |
| void | SetBaseValue (double dBaseValue) |
| double | GetOperand () const |
| void | SetOperand (double dOperand) |
| Operator | GetOperator () const |
| void | SetOperator (Operator eOperator) |
| bool | UseBaseValue () const |
| void | SetUseBaseValue (bool bUseBaseValue) |
| double | GetValue (double dBase) const |
Public Member Functions inherited from AECImpObj | |
| const OdString & | GetDescription () const |
| void | SetDescription (const OdString &strDescription) |
| virtual void | onObjectLoaded () |
| virtual void | SubClose () |
| DOM. More... | |
| 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. More... | |
| void | SetOwner (AECImpObj *pOwner) |
| DOM. More... | |
| class AECSIBase * | GetImpl () const |
| DOM. More... | |
| virtual OdResult | dwgInFieldsEx20 (AECDbDwgFiler *pFiler) |
| DOM. More... | |
| virtual OdResult | dwgInFieldsEx1 (AECDbDwgFiler *pFiler) |
| DOM. More... | |
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 |
| bool | isKindOf (const OdRxClass *pClass) const |
| virtual OdRxObjectPtr | clone () const |
| virtual OdRx::Ordering | comparedTo (const OdRxObject *pOther) const |
| virtual bool | isEqualTo (const OdRxObject *pOther) const |
Protected Attributes | |
| double | m_dBaseValue |
| double | m_dOperand |
| Operator | m_eOperator |
| bool | m_bUseBaseValue |
Protected Attributes inherited from AECImpObj | |
| class AECSIBase * | m_pImp |
| DOM. More... | |
| 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 () | |
Instance Based Value.for Wall.
<group TA_API_Subobjects_Wall>
Definition at line 34 of file AECInstanceBasedValue.h.
Contains set of possible operators.
| Enumerator | |
|---|---|
| eAddition | |
| eSubstraction | |
| eDivision | |
| eMultiplication | |
Definition at line 42 of file AECInstanceBasedValue.h.
| double AECInstanceBasedValue::GetBaseValue | ( | ) | const |
Returns base value.
| double AECInstanceBasedValue::GetOperand | ( | ) | const |
Returns operand.
| Operator AECInstanceBasedValue::GetOperator | ( | ) | const |
Returns the operator.
| double AECInstanceBasedValue::GetValue | ( | double | dBase | ) | const |
Returns the recalculated value with respect to "Use Base Value" flag, Operator and Operand.
| void AECInstanceBasedValue::SetBaseValue | ( | double | dBaseValue | ) |
Sets base value.
| void AECInstanceBasedValue::SetOperand | ( | double | dOperand | ) |
Sets operand.
| void AECInstanceBasedValue::SetUseBaseValue | ( | bool | bUseBaseValue | ) |
Sets "Use Base Value" flag.
| bool AECInstanceBasedValue::UseBaseValue | ( | ) | const |
Returns if the operator and operand are valid.
|
protected |
Definition at line 108 of file AECInstanceBasedValue.h.
|
protected |
Definition at line 99 of file AECInstanceBasedValue.h.
|
protected |
Definition at line 102 of file AECInstanceBasedValue.h.
|
protected |
Definition at line 105 of file AECInstanceBasedValue.h.