libmoost
moost::configurable::persistable Class Reference

Anything that inherits from this type guarantees that it can be persisted to/loaded from a stream. More...

#include <persistable.h>

Inheritance diagram for moost::configurable::persistable:

List of all members.

Public Member Functions

virtual void read (std::istream &source)=0
 load state from source
virtual void write (std::ostream &dest, int indent=0) const =0
 persist state to dest
virtual void set_default ()=0
 if this object can be used without deserializing (otherwise throw)
virtual ~persistable ()
 dtor

Detailed Description

Anything that inherits from this type guarantees that it can be persisted to/loaded from a stream.

Definition at line 35 of file persistable.h.


Constructor & Destructor Documentation

virtual moost::configurable::persistable::~persistable ( ) [inline, virtual]

dtor

Definition at line 45 of file persistable.h.


Member Function Documentation


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