Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

XMLLoadSave::AutoInit Class Reference

#include <XMLLoadSave.h>

List of all members.


Detailed Description

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

Definition at line 125 of file XMLLoadSave.h.


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 12 of file XMLLoadSave.cc.

XMLLoadSave::AutoInit::~AutoInit (  ) 

if libxmlrefc is 1, calls libxml2 destruction functions

Definition at line 23 of file XMLLoadSave.cc.


Member Data Documentation

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

current number of XMLLoadSave subclass instances

Definition at line 130 of file XMLLoadSave.h.

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


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

Tekkotsu v4.0
Generated Thu Nov 22 00:58:50 2007 by Doxygen 1.5.4