CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
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.
 
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

OdArray< AECImpObjPtrm_aSubObjects
 
- Protected Attributes inherited from AECImpObj
class AECSIBase * m_pImp
 DOM.
 
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: