16#ifndef __albaStorable_h__
17#define __albaStorable_h__
19#include "albaConfigure.h"
Abstract superclass for all ALBA classes implementing RTTI APIs.
albaStorable is an interface for serializable objects.
virtual int InternalRestore(albaStorageElement *node)=0
This is called by Restore() and must be reimplemented by subclasses The element from which the object...
int Restore(albaStorageElement *element)
Restore this object from an XML document.
virtual int InternalStore(albaStorageElement *node)=0
This is called by Store() and must be reimplemented by subclasses.
bool IsStorable()
return true if the object should be stored
static albaStorable * SafeCastToObject(albaObject *o)
convenience function for dynamic casting
int Store(albaStorageElement *element)
Storing this object as part of an XML document.
albaObject * CastToObject()
safe cast to albaObject, to be used with double inheritance from albaObject and albaStorable
bool m_Storable
if this flag is set to false the object does not store itself
Abstract class representing the interface for the unit of information stored in the storage.