![]() |
aGrUM
0.20.3
a C++ library for (probabilistic) graphical models
|
#include <ticpprc.h>
Public Member Functions | |
TiCppRCImp (TiCppRC *tiCppRC) | |
Initializes m_tiCppRC pointer, and set reference count to 1. More... | |
void | Nullify () |
Allows the TiCppRC object to set the pointer to itself ( m_tiCppRc ) to nullptr when the TiCppRC object is deleted. More... | |
void | IncRef () |
Increment Reference Count. More... | |
void | DecRef () |
Decrement Reference Count. More... | |
void | InitRef () |
Set Reference Count to 1 - dangerous! - Use only if you are sure of the consequences. More... | |
TiCppRC * | Get () |
Get internal pointer to the TiCppRC object - not reference counted, use at your own risk. More... | |
bool | IsNull () |
Returns state of internal pointer - will be null if the object was deleted. More... | |
TiCppRCImp::TiCppRCImp | ( | TiCppRC * | tiCppRC | ) |
Initializes m_tiCppRC pointer, and set reference count to 1.
Definition at line 952 of file ticpp.cpp.
void TiCppRCImp::DecRef | ( | ) |
Decrement Reference Count.
Definition at line 958 of file ticpp.cpp.
Referenced by ticpp::Attribute::Attribute(), ticpp::Attribute::operator=(), ticpp::Attribute::~Attribute(), and ticpp::NodeImp< TiXmlDeclaration >::~NodeImp().
TiCppRC * TiCppRCImp::Get | ( | ) |
Get internal pointer to the TiCppRC object - not reference counted, use at your own risk.
Definition at line 971 of file ticpp.cpp.
void TiCppRCImp::IncRef | ( | ) |
Increment Reference Count.
Definition at line 956 of file ticpp.cpp.
Referenced by ticpp::Attribute::Attribute(), ticpp::Node::InsertAfterChild(), ticpp::Node::InsertBeforeChild(), ticpp::Node::LinkEndChild(), ticpp::NodeImp< TiXmlDeclaration >::NodeImp(), ticpp::Attribute::operator=(), and ticpp::Node::ReplaceChild().
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.
Referenced by ticpp::Attribute::Attribute().
bool TiCppRCImp::IsNull | ( | ) |
Returns state of internal pointer - will be null if the object was deleted.
Definition at line 973 of file ticpp.cpp.
Referenced by ticpp::Base::ValidatePointer().
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.
|
private |
|
private |