libglass::RegisterObject Class Reference

#include <serial.h>

List of all members.

Public Member Functions

 RegisterObject (SerializableObject *o)


Detailed Description

This is a simple class that registers classes that derive from SerializableObject during static initialization. You must declare in your derived class a

 static RegisterObject ro; 

and initialize it with

 RegisterObject YourClass::ro = RegisterObject(new YourClass()); 

See also:
SerializableObject.

Definition at line 145 of file serial.h.


Constructor & Destructor Documentation

libglass::RegisterObject::RegisterObject ( SerializableObject o  ) 


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

Generated on Fri May 28 13:19:01 2010 for libGlass by  doxygen 1.5.8