1 #ifndef STLPLUS_PERSISTENT_ENUM
2 #define STLPLUS_PERSISTENT_ENUM
3 ////////////////////////////////////////////////////////////////////////////////
5 // Author: Andy Rushton
6 // Copyright: (c) Southampton University 1999-2004
7 // (c) Andy Rushton 2004-2009
8 // License: BSD License, see ../docs/license.html
10 // Persistence of enumeration types
12 ////////////////////////////////////////////////////////////////////////////////
13 #include "persistence_fixes.hpp"
14 #include "persistent_contexts.hpp"
16 ////////////////////////////////////////////////////////////////////////////////
22 void dump_enum(dump_context
&, const T
& data
) throw(persistent_dump_failed
);
25 void restore_enum(restore_context
&, T
& data
) throw(persistent_restore_failed
);
27 } // end namespace stlplus
29 ////////////////////////////////////////////////////////////////////////////////
30 #include "persistent_enum.tpp"