]> Dogcows Code - chaz/yoink/blobdiff - src/stlplus/persistence/persistent_digraph.hpp
testing new non-autotools build system
[chaz/yoink] / src / stlplus / persistence / persistent_digraph.hpp
diff --git a/src/stlplus/persistence/persistent_digraph.hpp b/src/stlplus/persistence/persistent_digraph.hpp
new file mode 100644 (file)
index 0000000..fcc57a0
--- /dev/null
@@ -0,0 +1,56 @@
+#ifndef STLPLUS_PERSISTENT_DIGRAPH\r
+#define STLPLUS_PERSISTENT_DIGRAPH\r
+////////////////////////////////////////////////////////////////////////////////\r
+\r
+//   Author:    Andy Rushton\r
+//   Copyright: (c) Southampton University 1999-2004\r
+//              (c) Andy Rushton           2004-2009\r
+//   License:   BSD License, see ../docs/license.html\r
+\r
+//   Persistence of STLplus digraph\r
+\r
+////////////////////////////////////////////////////////////////////////////////\r
+#include "persistence_fixes.hpp"\r
+#include "persistent_contexts.hpp"\r
+#include "digraph.hpp"\r
+\r
+////////////////////////////////////////////////////////////////////////////////\r
+\r
+namespace stlplus\r
+{\r
+\r
+  // digraph\r
+\r
+  template<typename NT, typename AT, typename DN, typename DA>\r
+  void dump_digraph(dump_context&, const digraph<NT,AT>& data, DN dump_node, DA dump_arc)\r
+    throw(persistent_dump_failed);\r
+\r
+  template<typename NT, typename AT, typename RN, typename RA>\r
+  void restore_digraph(restore_context&, digraph<NT,AT>& data, RN restore_node, RA restore_arc)\r
+    throw(persistent_restore_failed);\r
+\r
+  // node iterator\r
+\r
+  template<typename NT, typename AT, typename NRef, typename NPtr>\r
+  void dump_digraph_iterator(dump_context& str, const digraph_iterator<NT,AT,NRef,NPtr>& data)\r
+    throw(persistent_dump_failed);\r
+\r
+  template<typename NT, typename AT, typename NRef, typename NPtr>\r
+  void restore_digraph_iterator(restore_context& str, digraph_iterator<NT,AT,NRef,NPtr>& data)\r
+    throw(persistent_restore_failed);\r
+\r
+  // arc iterator\r
+\r
+  template<typename NT, typename AT, typename NRef, typename NPtr>\r
+  void dump_digraph_arc_iterator(dump_context& str, const digraph_arc_iterator<NT,AT,NRef,NPtr>& data)\r
+    throw(persistent_dump_failed);\r
+\r
+  template<typename NT, typename AT, typename NRef, typename NPtr>\r
+  void restore_digraph_arc_iterator(restore_context& str, digraph_arc_iterator<NT,AT,NRef,NPtr>& data)\r
+    throw(persistent_restore_failed);\r
+\r
+} // end namespace stlplus\r
+\r
+  ////////////////////////////////////////////////////////////////////////////////\r
+#include "persistent_digraph.tpp"\r
+#endif\r
This page took 0.029593 seconds and 4 git commands to generate.