Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

XMLLoadSave::AutoInit Class Reference

allows automatic (de)initialization of libxml when the first or last XMLLoadSave class is created or destroyed More...

#include <XMLLoadSave.h>


Detailed Description

allows automatic (de)initialization of libxml when the first or last XMLLoadSave class is created or destroyed

Definition at line 134 of file XMLLoadSave.h.

List of all members.

Public Member Functions

 AutoInit ()
 if libxmlrefc is 0, calls libxml2 initialization and configuration functions
 ~AutoInit ()
 if libxmlrefc is 1, calls libxml2 destruction functions

Static Protected Attributes

static unsigned int libxmlrefc = 0
 current number of XMLLoadSave subclass instances

Constructor & Destructor Documentation

XMLLoadSave::AutoInit::AutoInit (  ) 

if libxmlrefc is 0, calls libxml2 initialization and configuration functions

Definition at line 27 of file XMLLoadSave.cc.

XMLLoadSave::AutoInit::~AutoInit (  ) 

if libxmlrefc is 1, calls libxml2 destruction functions

Definition at line 39 of file XMLLoadSave.cc.


Member Data Documentation

unsigned int XMLLoadSave::AutoInit::libxmlrefc = 0 [static, protected]

current number of XMLLoadSave subclass instances

Definition at line 139 of file XMLLoadSave.h.

Referenced by AutoInit(), and ~AutoInit().


The documentation for this class was generated from the following files:

Tekkotsu v5.1CVS
Generated Mon May 9 04:59:19 2016 by Doxygen 1.6.3