|
CFx SDK Documentation
2023 SP0
|
#include <AECImpArray.h>
Public Member Functions | |
| OdUInt32 | GetSize () const |
| void | Reserve (OdUInt32 reserveLength) |
| AECImpObjSubPtr | operator[] (OdUInt32 iIndex) const |
| AECImpObjSubPtr | GetAt (OdUInt32 iIndex) const |
| OdUInt32 | Insert (AECImpObj *pSubobject) |
| OdUInt32 | Insert (OdUInt32 iIndex, AECImpObj *pSubobject) |
| AECImpObjPtr | RemoveAt (OdUInt32 iIndex) |
| OdUInt32 | Find (AECImpObj *pObj) const |
| OdUInt32 | Remove (AECImpObj *pObj) |
| void | Clear () |
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 | |
| OdArray< AECImpObjPtr > | m_aSubObjects |
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 () | |
Array of AEC sub-objects.
<group TA_API_Subobjects_General>
Definition at line 34 of file AECImpArray.h.
| void AECImpArray::Clear | ( | ) |
Clears the array.
Finds specified sub-object's index. Returns (OdUInt32)-1 if nor found.
| AECImpObjSubPtr AECImpArray::GetAt | ( | OdUInt32 | iIndex | ) | const |
Returns the sub-object by the specified index.
Throws:
Cause eInvalidIndex Specified index is out of bounds
| OdUInt32 AECImpArray::GetSize | ( | ) | const |
Returns the number of entities in array.
Appends specified sub-object to the end of array.
Appends specified sub-object to the specified position.
| AECImpObjSubPtr AECImpArray::operator[] | ( | OdUInt32 | iIndex | ) | const |
Returns the sub-object by the specified index.
Throws:
Cause eInvalidIndex Specified index is out of bounds
| AECImpObjPtr AECImpArray::RemoveAt | ( | OdUInt32 | iIndex | ) |
Removes sub-object at the specified index.
Sets the physical length of this Array object to the specified reserve length if the reserve length is greater than its physical length.
| reserveLength | [in] Minimum physical length. |
|
protected |
Definition at line 113 of file AECImpArray.h.