22#define TIXML_USE_TICPP
25#ifndef TICPPRC_INCLUDED
26#define TICPPRC_INCLUDED
62 std::vector< ticpp::Base* >
TiCppRC * m_tiCppRC
Holds pointer to an object inheriting TiCppRC.
void DecRef()
Decrement Reference Count.
int m_count
Holds reference count to me, and to the node I point to.
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 obje...
bool IsNull()
Returns state of internal pointer - will be null if the object was deleted.
void IncRef()
Increment 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.
Base class for reference counting functionality.
void DeleteSpawnedWrappers()
Delete all container objects we've spawned with 'new'.
TiCppRC()
Constructor Spawns new reference counter with a pointer to this.
TiCppRCImp * m_tiRC
Pointer to reference counter.
virtual ~TiCppRC()
Destructor Nullifies the pointer to this held by the reference counter Decrements reference count.
std::vector< ticpp::Base * > m_spawnedWrappers
Remember all wrappers that we've created with 'new' - ( e.g.
Wrapper around TiXmlBase.
ticpp is a TinyXML wrapper that uses a lot more C++ ideals.