#include <ticpprc.h>
|
| | TiCppRCImp (TiCppRC *tiCppRC) |
| | Initializes m_tiCppRC pointer, and set reference count to 1.
|
| void | Nullify () |
| | Allows the TiCppRC object to set the pointer to itself ( m_tiCppRc ) to nullptr when the TiCppRC object is deleted.
|
| void | IncRef () |
| | Increment Reference Count.
|
| void | DecRef () |
| | Decrement Reference Count.
|
| void | InitRef () |
| | Set Reference Count to 1 - dangerous!
|
| TiCppRC * | Get () |
| | Get internal pointer to the TiCppRC object - not reference counted, use at your own risk.
|
| bool | IsNull () |
| | Returns state of internal pointer - will be null if the object was deleted.
|
Definition at line 74 of file ticpprc.h.
◆ TiCppRCImp()
| TiCppRCImp::TiCppRCImp |
( |
TiCppRC * | tiCppRC | ) |
|
Initializes m_tiCppRC pointer, and set reference count to 1.
Definition at line 952 of file ticpp.cpp.
TiCppRC * m_tiCppRC
Holds pointer to an object inheriting TiCppRC.
int m_count
Holds reference count to me, and to the node I point to.
References m_count, and m_tiCppRC.
◆ DecRef()
| void TiCppRCImp::DecRef |
( |
| ) |
|
Decrement Reference Count.
Definition at line 958 of file ticpp.cpp.
958 {
960
963 delete this;
964 }
965}
References m_count, and m_tiCppRC.
◆ Get()
Get internal pointer to the TiCppRC object - not reference counted, use at your own risk.
Definition at line 971 of file ticpp.cpp.
References m_tiCppRC.
◆ IncRef()
| void TiCppRCImp::IncRef |
( |
| ) |
|
◆ InitRef()
| void TiCppRCImp::InitRef |
( |
| ) |
|
Set Reference Count to 1 - dangerous!
- Use only if you are sure of the consequences
Definition at line 967 of file ticpp.cpp.
References m_count.
◆ IsNull()
| bool TiCppRCImp::IsNull |
( |
| ) |
|
Returns state of internal pointer - will be null if the object was deleted.
Definition at line 973 of file ticpp.cpp.
References m_tiCppRC.
◆ Nullify()
| void TiCppRCImp::Nullify |
( |
| ) |
|
Allows the TiCppRC object to set the pointer to itself ( m_tiCppRc ) to nullptr when the TiCppRC object is deleted.
Definition at line 969 of file ticpp.cpp.
References m_tiCppRC.
◆ m_count
◆ m_tiCppRC
The documentation for this class was generated from the following files: