CFx SDK Documentation
2023 SP0
|
#include <AECPropertyDef.h>
Public Types | |
enum | Type { eInteger = 0 , eReal = 1 , eText = 2 , eBool = 3 , eAutoIncrement = 4 , eCharIncrement = 5 , eList = 6 , eGraphics = 7 } |
Protected Types | |
enum | Flags { kLocked = 1 , kVisible = 2 , kReadOnly = 4 } |
Protected Attributes | |
OdUInt32 | m_iIndex |
OdString | m_strName |
Type | m_eType |
bool | m_bAutomatic |
std::vector< AECQueryInfo > | m_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. 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 () | |
AEC Property Definition.
<group TA_API_Subobjects_Property>
Definition at line 36 of file AECPropertyDef.h.
|
protected |
Enumerator | |
---|---|
kLocked | |
kVisible | |
kReadOnly |
Definition at line 282 of file AECPropertyDef.h.
enum AECPropertyDef::Type |
Property type.
Enumerator | |
---|---|
eInteger | |
eReal | |
eText | |
eBool | |
eAutoIncrement | |
eCharIncrement | |
eList | |
eGraphics |
Definition at line 44 of file AECPropertyDef.h.
void AECPropertyDef::AddQueryInfo | ( | const AECQueryInfo & | cQueryInfo | ) |
Adds query information object.
Adds query info for given class and property name.
void AECPropertyDef::ClearQueryInfos | ( | ) |
Removes all query informations.
OdDbObjectId AECPropertyDef::GetDataFormat | ( | ) | const |
Returns Object ID of data format (AECDbScheduleDataFormat) for this property definition.
const AECVariant& AECPropertyDef::GetDefaultValue | ( | ) | const |
Returns the default value.
const OdString& AECPropertyDef::GetGlobalName | ( | ) | const |
Returns global property name.
OdUInt32 AECPropertyDef::GetIndex | ( | ) | const |
DOM.
Returns index of property definition.
AECVariant AECPropertyDef::GetInitialValue | ( | ) | const |
Returns initial property value.
const OdString& AECPropertyDef::GetName | ( | ) | const |
Returns property name.
OdUInt32 AECPropertyDef::GetOrder | ( | ) | const |
Returns order.
const AECQueryInfo& AECPropertyDef::GetQueryInfoByIndex | ( | OdUInt32 | iIndex | ) | const |
Returns query information object by index.
Throws eInvalidIndex in case of invalid index.
OdUInt32 AECPropertyDef::GetQueryInfoCount | ( | ) | const |
Returns the number of query information objects.
Type AECPropertyDef::GetType | ( | ) | const |
Returns type of property value.
bool AECPropertyDef::GetUseNameAsDesctiption | ( | ) | const |
Returns whether the name from some certain source should be used as description.
bool AECPropertyDef::IsAppliedTo | ( | const OdString & | strClassName, |
AECQueryInfo * | rQueryInfo | ||
) | const |
Returns whether property definition is applicable for entity with specified name.
bool AECPropertyDef::IsAutomatic | ( | ) | const |
Returns whether property is automatically queried.
bool AECPropertyDef::IsDefaultUnspecified | ( | ) | const |
bool AECPropertyDef::IsLocked | ( | ) | const |
bool AECPropertyDef::IsReadOnly | ( | ) | const |
bool AECPropertyDef::IsVisible | ( | ) | const |
Removes query information object by index.
Throws eInvalidIndex in case of invalid index.
void AECPropertyDef::SetDataFormat | ( | OdDbObjectId | idDataFormat | ) |
Sets Object ID of data format (AECDbScheduleDataFormat) for this property definition.
void AECPropertyDef::SetDefaultIsUnspecified | ( | bool | bUnspec | ) |
void AECPropertyDef::SetDefaultValue | ( | const AECVariant & | vtValue | ) |
Sets the default value.
void AECPropertyDef::SetIsAutomatic | ( | bool | bIsAutomatic | ) |
Sets whether property is automatically queried.
void AECPropertyDef::SetLocked | ( | bool | bLocked | ) |
void AECPropertyDef::SetReadOnly | ( | bool | bReadOnly | ) |
void AECPropertyDef::SetUseNameAsDesctiption | ( | bool | bUseNameAsDesctiption | ) |
Sets whether the name from some certain source should be used as description.
void AECPropertyDef::SetVisible | ( | bool | bVisible | ) |
|
protected |
Definition at line 261 of file AECPropertyDef.h.
|
protected |
Definition at line 297 of file AECPropertyDef.h.
|
protected |
Definition at line 258 of file AECPropertyDef.h.
|
protected |
Definition at line 270 of file AECPropertyDef.h.
|
protected |
Definition at line 255 of file AECPropertyDef.h.
|
protected |
Definition at line 288 of file AECPropertyDef.h.
|
protected |
Definition at line 294 of file AECPropertyDef.h.
|
protected |
Definition at line 276 of file AECPropertyDef.h.
|
protected |
Definition at line 277 of file AECPropertyDef.h.
|
protected |
Definition at line 264 of file AECPropertyDef.h.
|
protected |
Definition at line 249 of file AECPropertyDef.h.
|
protected |
Definition at line 291 of file AECPropertyDef.h.
|
protected |
Definition at line 280 of file AECPropertyDef.h.
|
protected |
Definition at line 252 of file AECPropertyDef.h.
|
protected |
Definition at line 273 of file AECPropertyDef.h.
|
protected |
Definition at line 267 of file AECPropertyDef.h.