MySQLaux 0.6 is free software from Langensoft written by Thomas Langen.

Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

MySQLaux::GarbageCollector Class Reference

Garbage collector, governs correct (de)allocation of row fields. More...

#include <GarbageCollector.h>

List of all members.

Public Methods

 GarbageCollector ()
 Constructor. More...

 ~GarbageCollector ()
 Destructor. More...

string status () const
 Get status. More...

GarbageCollector& operator+= (MySQLaux::Field *&field)
 Register field pointer, or increase its reference count. More...

GarbageCollector& operator-= (MySQLaux::Field *&field)
 Decrease reference count of field pointer, or unregister it. More...

bool is_referenced (MySQLaux::Field *&field)
 Check whether field is referenced. More...


Detailed Description

Garbage collector, governs correct (de)allocation of row fields.

Definition at line 36 of file GarbageCollector.h.


Constructor & Destructor Documentation

MySQLaux::GarbageCollector::GarbageCollector ( ) [inline]
 

Constructor.

Definition at line 44 of file GarbageCollector.h.

00044                        {}
00045 

MySQLaux::GarbageCollector::~GarbageCollector ( ) [inline]
 

Destructor.

Definition at line 49 of file GarbageCollector.h.

00049                         {}
00050 


Member Function Documentation

bool MySQLaux::GarbageCollector::is_referenced ( MySQLaux::Field *& field )
 

Check whether field is referenced.

GarbageCollector & MySQLaux::GarbageCollector::operator+= ( MySQLaux::Field *& field )
 

Register field pointer, or increase its reference count.

GarbageCollector & MySQLaux::GarbageCollector::operator-= ( MySQLaux::Field *& field )
 

Decrease reference count of field pointer, or unregister it.

string MySQLaux::GarbageCollector::status ( ) const
 

Get status.


The documentation for this class was generated from the following file:
Generated at Fri Apr 6 11:20:14 2001 for MySQLaux by doxygen1.2.5 written by Dimitri van Heesch, © 1997-2001