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

#include <AECImpArray.h>

Inheritance diagram for AECImpArray:
AECImpObj OdRxObjectImpl< OdRxObject, AECImpObj > OdRxObject

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 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

OdArray< AECImpObjPtrm_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< 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

Array of AEC sub-objects.

<group TA_API_Subobjects_General>

Definition at line 34 of file AECImpArray.h.

Member Function Documentation

◆ Clear()

void AECImpArray::Clear ( )

Clears the array.

◆ Find()

OdUInt32 AECImpArray::Find ( AECImpObj pObj) const

Finds specified sub-object's index. Returns (OdUInt32)-1 if nor found.

◆ GetAt()

AECImpObjSubPtr AECImpArray::GetAt ( OdUInt32  iIndex) const

Returns the sub-object by the specified index.

Throws:

Cause eInvalidIndex Specified index is out of bounds

◆ GetSize()

OdUInt32 AECImpArray::GetSize ( ) const

Returns the number of entities in array.

◆ Insert() [1/2]

OdUInt32 AECImpArray::Insert ( AECImpObj pSubobject)

Appends specified sub-object to the end of array.

Returns
Index of the sub-object in array.

◆ Insert() [2/2]

OdUInt32 AECImpArray::Insert ( OdUInt32  iIndex,
AECImpObj pSubobject 
)

Appends specified sub-object to the specified position.

Returns
Index of the sub-object in array.

◆ operator[]()

AECImpObjSubPtr AECImpArray::operator[] ( OdUInt32  iIndex) const

Returns the sub-object by the specified index.

Throws:

Cause eInvalidIndex Specified index is out of bounds

◆ Remove()

OdUInt32 AECImpArray::Remove ( AECImpObj pObj)

Removes specified sub-object. Returns its index.

◆ RemoveAt()

AECImpObjPtr AECImpArray::RemoveAt ( OdUInt32  iIndex)

Removes sub-object at the specified index.

◆ Reserve()

void AECImpArray::Reserve ( OdUInt32  reserveLength)

Sets the physical length of this Array object to the specified reserve length if the reserve length is greater than its physical length.

Parameters
reserveLength[in] Minimum physical length.

Member Data Documentation

◆ m_aSubObjects

OdArray<AECImpObjPtr> AECImpArray::m_aSubObjects
protected

Definition at line 113 of file AECImpArray.h.


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