]> Dogcows Code - chaz/yoink/blob - src/stlplus/persistence/persistent_triple.hpp
testing new non-autotools build system
[chaz/yoink] / src / stlplus / persistence / persistent_triple.hpp
1 #ifndef STLPLUS_PERSISTENT_TRIPLE
2 #define STLPLUS_PERSISTENT_TRIPLE
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 triple
11
12 ////////////////////////////////////////////////////////////////////////////////
13 #include "persistence_fixes.hpp"
14 #include "persistent_contexts.hpp"
15 #include "triple.hpp"
16
17 ////////////////////////////////////////////////////////////////////////////////
18
19 namespace stlplus
20 {
21
22 template<typename T1, typename T2, typename T3, typename D1, typename D2, typename D3>
23 void dump_triple(dump_context&, const stlplus::triple<T1,T2,T3>& data,
24 D1 dump_fn1, D2 dump_fn2, D3 dump_fn3)
25 throw(persistent_dump_failed);
26
27 template<typename T1, typename T2, typename T3, typename R1, typename R2, typename R3>
28 void restore_triple(restore_context&, stlplus::triple<T1,T2,T3>& data,
29 R1 restore_fn1, R2 restore_fn2, R3 restore_fn3)
30 throw(persistent_restore_failed);
31
32 } // end namespace stlplus
33
34 ////////////////////////////////////////////////////////////////////////////////
35 #include "persistent_triple.tpp"
36 #endif
This page took 0.03207 seconds and 4 git commands to generate.