]> Dogcows Code - chaz/yoink/blob - src/stlplus/persistence/persistent_enum.hpp
archiving support for releases
[chaz/yoink] / src / stlplus / persistence / persistent_enum.hpp
1 #ifndef STLPLUS_PERSISTENT_ENUM
2 #define STLPLUS_PERSISTENT_ENUM
3 ////////////////////////////////////////////////////////////////////////////////
4
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
9
10 // Persistence of enumeration types
11
12 ////////////////////////////////////////////////////////////////////////////////
13 #include "persistence_fixes.hpp"
14 #include "persistent_contexts.hpp"
15
16 ////////////////////////////////////////////////////////////////////////////////
17
18 namespace stlplus
19 {
20
21 template<typename T>
22 void dump_enum(dump_context&, const T& data) throw(persistent_dump_failed);
23
24 template<typename T>
25 void restore_enum(restore_context&, T& data) throw(persistent_restore_failed);
26
27 } // end namespace stlplus
28
29 ////////////////////////////////////////////////////////////////////////////////
30 #include "persistent_enum.tpp"
31 #endif
This page took 0.028669 seconds and 4 git commands to generate.