RxObject.h
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.
TD_Db
Example of Assigning Smart Pointers
Example of a Non-Typified Smart Pointer
Overview of Smart Pointer Classes
The OdSmartPtr class
|
Name |
Description |
|
Destructor for the non-typified smart pointer. | |
|
This is the overview for the OdRxObjectPtr constructor overload. |
|
Name |
Description |
|
Assigns the pointer of the specifed object to the smart pointer without incrementing its reference counter. | |
|
Releases the smart pointer reference to the referenced object without decrementing of the reference counter. | |
|
This is the overview for the get method overload. | |
|
Releases the smart pointer reference to the referenced object. |
|
Name |
Description |
|
This is !=, a member of class OdRxObjectPtr. | |
|
This is the overview for the = operator overload. | |
|
This is ==, a member of class OdRxObjectPtr. | |
|
This is the overview for the -> operator overload. | |
|
This is const OdRxObject*, a member of class OdRxObjectPtr. | |
|
This is the overview for the OdRxObject* operator overload. |
Copyright © 2002–2020. Open Design Alliance. All rights reserved.
|