]> Dogcows Code - chaz/yoink/blob - src/stlplus/persistence/persistent_list.hpp
archiving support for releases
[chaz/yoink] / src / stlplus / persistence / persistent_list.hpp
1 #ifndef STLPLUS_PERSISTENT_LIST
2 #define STLPLUS_PERSISTENT_LIST
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 STL list
11
12 ////////////////////////////////////////////////////////////////////////////////
13 #include "persistence_fixes.hpp"
14 #include "persistent_contexts.hpp"
15 #include <list>
16
17 ////////////////////////////////////////////////////////////////////////////////
18
19 namespace stlplus
20 {
21
22 template<typename T, typename D>
23 void dump_list(dump_context&, const std::list<T>& data, D dump_fn) throw(persistent_dump_failed);
24
25 template<typename T, typename R>
26 void restore_list(restore_context&, std::list<T>& data, R restore_fn) throw(persistent_restore_failed);
27
28 } // end namespace stlplus
29
30 ////////////////////////////////////////////////////////////////////////////////
31 #include "persistent_list.tpp"
32 #endif
This page took 0.030481 seconds and 4 git commands to generate.