AcMapObjPtrArray class

Land Desktop Development ARX CPP SDK

 

AcMapObjPtrArray class

Header file: MapColl.h.

template <class ApiObj> class AcMapObjPtrArray

The AcMapObjPtrArray class is used for dynamic object pointer arrays. It stores pointers to ApiObj objects in the member data. The application is responsible for allocating and freeing these objects.

To use this template for collecting objects of a particular class, you must define the operator= function for the class.

The AutoCAD Map ARX API uses AcMapObjPtrArray and AcMapObjArray instead of MFC collections to provide array services.

A dynamic object array can grow as needed at runtime.