]> Dogcows Code - chaz/yoink/blob - src/stlplus/persistence/persistent_digraph.hpp
testing new non-autotools build system
[chaz/yoink] / src / stlplus / persistence / persistent_digraph.hpp
1 #ifndef STLPLUS_PERSISTENT_DIGRAPH
2 #define STLPLUS_PERSISTENT_DIGRAPH
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 STLplus digraph
11
12 ////////////////////////////////////////////////////////////////////////////////
13 #include "persistence_fixes.hpp"
14 #include "persistent_contexts.hpp"
15 #include "digraph.hpp"
16
17 ////////////////////////////////////////////////////////////////////////////////
18
19 namespace stlplus
20 {
21
22 // digraph
23
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);
27
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);
31
32 // node iterator
33
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);
37
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);
41
42 // arc iterator
43
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);
47
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);
51
52 } // end namespace stlplus
53
54 ////////////////////////////////////////////////////////////////////////////////
55 #include "persistent_digraph.tpp"
56 #endif
This page took 0.031278 seconds and 4 git commands to generate.