]> Dogcows Code - chaz/yoink/blob - src/stlplus/persistence/persistent_set.hpp
testing new non-autotools build system
[chaz/yoink] / src / stlplus / persistence / persistent_set.hpp
1 #ifndef STLPLUS_PERSISTENT_SET
2 #define STLPLUS_PERSISTENT_SET
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 // Set of persistence routines for the STL classes
11
12 ////////////////////////////////////////////////////////////////////////////////
13 #include "persistence_fixes.hpp"
14 #include "persistent_contexts.hpp"
15 #include <set>
16
17 ////////////////////////////////////////////////////////////////////////////////
18
19 namespace stlplus
20 {
21
22 template<typename K, typename P, typename D>
23 void dump_set(dump_context&, const std::set<K,P>& data, D dump_fn)
24 throw(persistent_dump_failed);
25
26 template<typename K, typename P, typename R>
27 void restore_set(restore_context&, std::set<K,P>& data, R restore_fn)
28 throw(persistent_restore_failed);
29
30 } // end namespace stlplus
31
32 ////////////////////////////////////////////////////////////////////////////////
33 #include "persistent_set.tpp"
34 #endif
This page took 0.030344 seconds and 4 git commands to generate.