CFx SDK Documentation  2023 SP0
Public Types | Public Member Functions | Protected Attributes | List of all members
AECInstanceBasedValue Class Reference

#include <AECInstanceBasedValue.h>

Inheritance diagram for AECInstanceBasedValue:
AECImpObj OdRxObjectImpl< OdRxObject, AECImpObj > OdRxObject AECSlabStyleCompInstanceBasedValue

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 OdStringGetDescription () const
 
void SetDescription (const OdString &strDescription)
 
virtual void onObjectLoaded ()
 
virtual void SubClose ()
 DOM. More...
 
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. 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 OdRxObjectqueryX (const OdRxClass *pClass) const
 
virtual OdRxObjectx (const OdRxClass *pClass) const
 
virtual OdRxClassisA () 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< 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

Instance Based Value.for Wall.

<group TA_API_Subobjects_Wall>

Definition at line 34 of file AECInstanceBasedValue.h.

Member Enumeration Documentation

◆ Operator

Contains set of possible operators.

Enumerator
eAddition 
eSubstraction 
eDivision 
eMultiplication 

Definition at line 42 of file AECInstanceBasedValue.h.

Member Function Documentation

◆ GetBaseValue()

double AECInstanceBasedValue::GetBaseValue ( ) const

Returns base value.

◆ GetOperand()

double AECInstanceBasedValue::GetOperand ( ) const

Returns operand.

◆ GetOperator()

Operator AECInstanceBasedValue::GetOperator ( ) const

Returns the operator.

◆ GetValue()

double AECInstanceBasedValue::GetValue ( double  dBase) const

Returns the recalculated value with respect to "Use Base Value" flag, Operator and Operand.

◆ SetBaseValue()

void AECInstanceBasedValue::SetBaseValue ( double  dBaseValue)

Sets base value.

◆ SetOperand()

void AECInstanceBasedValue::SetOperand ( double  dOperand)

Sets operand.

◆ SetOperator()

void AECInstanceBasedValue::SetOperator ( Operator  eOperator)

Sets the operator.

◆ SetUseBaseValue()

void AECInstanceBasedValue::SetUseBaseValue ( bool  bUseBaseValue)

Sets "Use Base Value" flag.

◆ UseBaseValue()

bool AECInstanceBasedValue::UseBaseValue ( ) const

Returns if the operator and operand are valid.

Member Data Documentation

◆ m_bUseBaseValue

bool AECInstanceBasedValue::m_bUseBaseValue
protected

Definition at line 108 of file AECInstanceBasedValue.h.

◆ m_dBaseValue

double AECInstanceBasedValue::m_dBaseValue
protected

Definition at line 99 of file AECInstanceBasedValue.h.

◆ m_dOperand

double AECInstanceBasedValue::m_dOperand
protected

Definition at line 102 of file AECInstanceBasedValue.h.

◆ m_eOperator

Operator AECInstanceBasedValue::m_eOperator
protected

Definition at line 105 of file AECInstanceBasedValue.h.


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