Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdRxObjectPtr Class
Syntax
C++
class OdRxObjectPtr : public OdBaseObjectPtr;

 

This class provides the non-typified implementation of smart pointers for instances of classes derived from the OdRxObject class.

SmartPointers relieve the programmer of having to determine when objects are no longer needed, or having to delete them at that time. 

Each object referenced by a SmartPointer (henceforth 'referenced object') maintains a reference count; i.e., how many SmartPointers are referencing it. When the reference counter reaches zero, the referenced object is deleted.

OdRxObjectPtrOdRxObjectPtr

File: RxObject.h 

Module: API Reference 

TD_Db 

Example of Assigning Smart Pointers 

Example of a Non-Typified Smart Pointer 

Overview of Smart Pointer Classes 

The OdSmartPtr class

Show:
No members matching the current filter
Copyright © 2002-2022. Open Design Alliance All rights reserved.