1 #ifndef STLPLUS_PERSISTENT_TRIPLE
2 #define STLPLUS_PERSISTENT_TRIPLE
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 STL triple
12 ////////////////////////////////////////////////////////////////////////////////
13 #include "persistence_fixes.hpp"
14 #include "persistent_contexts.hpp"
17 ////////////////////////////////////////////////////////////////////////////////
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
);
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
);
32 } // end namespace stlplus
34 ////////////////////////////////////////////////////////////////////////////////
35 #include "persistent_triple.tpp"