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 121 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 126 of file XMLLoadSave.h.

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


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

Tekkotsu v2.4.1
Generated Tue Aug 16 16:35:13 2005 by Doxygen 1.4.4