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

#include <AECPropertyDefFormula.h>

Inheritance diagram for AECPropertyDefFormula:
AECPropertyDef AECImpObj OdRxObjectImpl< OdRxObject, AECImpObj > OdRxObject

Classes

struct  Variable
 

Public Member Functions

const OdStringGetOperators () const
 
void SetOperators (const OdString &strOperators)
 
OdUInt32 GetVariableCount () const
 
void SetVariables (const std::vector< Variable > &vVariables)
 
const VariableGetVariableByIndex (OdUInt32 iIndex) const
 
- Public Member Functions inherited from AECPropertyDef
OdUInt32 GetIndex () const
 DOM.
 
void SetIndex (OdUInt32 iIndex)
 
const OdStringGetName () const
 
void SetName (const OdString &strName)
 
const OdStringGetGlobalName () const
 
void SetGlobalName (const OdString &gname)
 
Type GetType () const
 
void SetType (Type eType)
 
bool IsAutomatic () const
 
void SetIsAutomatic (bool bIsAutomatic)
 
OdUInt32 GetQueryInfoCount () const
 
const AECQueryInfoGetQueryInfoByIndex (OdUInt32 iIndex) const
 
void AddQueryInfo (const AECQueryInfo &cQueryInfo)
 
void AddQueryInfo (OdRxClass *pDesc, const OdString &strPropertyName)
 
void RemoveQueryInfoByIndex (OdUInt32 iIndex)
 
void ClearQueryInfos ()
 
OdDbObjectId GetDataFormat () const
 
void SetDataFormat (OdDbObjectId idDataFormat)
 
const AECVariantGetDefaultValue () const
 
void SetDefaultValue (const AECVariant &vtValue)
 
AECVariant GetInitialValue () const
 
bool GetUseNameAsDesctiption () const
 
void SetUseNameAsDesctiption (bool bUseNameAsDesctiption)
 
bool IsReadOnly () const
 
void SetReadOnly (bool bReadOnly)
 
bool IsVisible () const
 
void SetVisible (bool bVisible)
 
bool IsLocked () const
 
void SetLocked (bool bLocked)
 
OdUInt32 GetOrder () const
 
void SetOrder (OdUInt32 iOrder)
 
bool IsAppliedTo (const OdString &strClassName, AECQueryInfo *rQueryInfo) const
 
bool IsDefaultUnspecified () const
 
void SetDefaultIsUnspecified (bool bUnspec)
 
- 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

OdString m_strOperatorSequence
 
std::vector< Variablem_aVariables
 
- Protected Attributes inherited from AECPropertyDef
OdUInt32 m_iIndex
 
OdString m_strName
 
Type m_eType
 
bool m_bAutomatic
 
std::vector< AECQueryInfom_aQueryInformation
 
OdDbHardPointerId m_hpidScheduleDataFormat
 
AECVariant m_vDefaultValue
 
bool m_bDefIsUnspecified
 
AECUnitType m_unitType
 
OdDbHardPointerId m_hpidList
 
OdDbHardPointerId m_hpidListItem
 
OdString m_sGlobalName
 
OdUInt8 m_flags
 
OdUInt32 m_iOrder
 
OdUInt8 m_flags2
 
bool m_bAppended
 
- Protected Attributes inherited from AECImpObj
class AECSIBase * m_pImp
 DOM.
 
OdUInt16 m_iMinSupportedVersion
 

Additional Inherited Members

- Public Types inherited from AECPropertyDef
enum  Type {
  eInteger = 0 , eReal = 1 , eText = 2 , eBool = 3 ,
  eAutoIncrement = 4 , eCharIncrement = 5 , eList = 6 , eGraphics = 7
}
 
- 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 Types inherited from AECPropertyDef
enum  Flags { kLocked = 1 , kVisible = 2 , kReadOnly = 4 }
 
- Protected Member Functions inherited from OdRxObjectImpl< OdRxObject, AECImpObj >
 ODRX_HEAP_OPERATORS ()
 

Detailed Description

AEC Formula Property Definition.

<group TA_API_Subobjects_Property>

Definition at line 35 of file AECPropertyDefFormula.h.

Member Function Documentation

◆ GetOperators()

const OdString & AECPropertyDefFormula::GetOperators ( ) const

Returns the sequence of operators.

◆ GetVariableByIndex()

const Variable & AECPropertyDefFormula::GetVariableByIndex ( OdUInt32  iIndex) const

Returns the variable by index.

Remarks
Throws eInvalidIndex in case of invalid index.

◆ GetVariableCount()

OdUInt32 AECPropertyDefFormula::GetVariableCount ( ) const

Returns the number of variables.

◆ SetOperators()

void AECPropertyDefFormula::SetOperators ( const OdString strOperators)

Sets the sequence of operators.

◆ SetVariables()

void AECPropertyDefFormula::SetVariables ( const std::vector< Variable > &  vVariables)

Sets the new variables (AECPropertyDefFormula::Variable).

Member Data Documentation

◆ m_aVariables

std::vector<Variable> AECPropertyDefFormula::m_aVariables
protected

Definition at line 87 of file AECPropertyDefFormula.h.

◆ m_strOperatorSequence

OdString AECPropertyDefFormula::m_strOperatorSequence
protected

Definition at line 84 of file AECPropertyDefFormula.h.


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