1 #ifndef STLPLUS_PERSISTENT_DIGRAPH
2 #define STLPLUS_PERSISTENT_DIGRAPH
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 STLplus digraph
12 ////////////////////////////////////////////////////////////////////////////////
13 #include "persistence_fixes.hpp"
14 #include "persistent_contexts.hpp"
15 #include "digraph.hpp"
17 ////////////////////////////////////////////////////////////////////////////////
24 template<typename NT
, typename AT
, typename DN
, typename DA
>
25 void dump_digraph(dump_context
&, const digraph
<NT
,AT
>& data
, DN dump_node
, DA dump_arc
)
26 throw(persistent_dump_failed
);
28 template<typename NT
, typename AT
, typename RN
, typename RA
>
29 void restore_digraph(restore_context
&, digraph
<NT
,AT
>& data
, RN restore_node
, RA restore_arc
)
30 throw(persistent_restore_failed
);
34 template<typename NT
, typename AT
, typename NRef
, typename NPtr
>
35 void dump_digraph_iterator(dump_context
& str
, const digraph_iterator
<NT
,AT
,NRef
,NPtr
>& data
)
36 throw(persistent_dump_failed
);
38 template<typename NT
, typename AT
, typename NRef
, typename NPtr
>
39 void restore_digraph_iterator(restore_context
& str
, digraph_iterator
<NT
,AT
,NRef
,NPtr
>& data
)
40 throw(persistent_restore_failed
);
44 template<typename NT
, typename AT
, typename NRef
, typename NPtr
>
45 void dump_digraph_arc_iterator(dump_context
& str
, const digraph_arc_iterator
<NT
,AT
,NRef
,NPtr
>& data
)
46 throw(persistent_dump_failed
);
48 template<typename NT
, typename AT
, typename NRef
, typename NPtr
>
49 void restore_digraph_arc_iterator(restore_context
& str
, digraph_arc_iterator
<NT
,AT
,NRef
,NPtr
>& data
)
50 throw(persistent_restore_failed
);
52 } // end namespace stlplus
54 ////////////////////////////////////////////////////////////////////////////////
55 #include "persistent_digraph.tpp"