#ifndef STLPLUS_PERSISTENT_DIGRAPH #define STLPLUS_PERSISTENT_DIGRAPH //////////////////////////////////////////////////////////////////////////////// // Author: Andy Rushton // Copyright: (c) Southampton University 1999-2004 // (c) Andy Rushton 2004-2009 // License: BSD License, see ../docs/license.html // Persistence of STLplus digraph //////////////////////////////////////////////////////////////////////////////// #include "persistence_fixes.hpp" #include "persistent_contexts.hpp" #include "digraph.hpp" //////////////////////////////////////////////////////////////////////////////// namespace stlplus { // digraph template void dump_digraph(dump_context&, const digraph& data, DN dump_node, DA dump_arc) throw(persistent_dump_failed); template void restore_digraph(restore_context&, digraph& data, RN restore_node, RA restore_arc) throw(persistent_restore_failed); // node iterator template void dump_digraph_iterator(dump_context& str, const digraph_iterator& data) throw(persistent_dump_failed); template void restore_digraph_iterator(restore_context& str, digraph_iterator& data) throw(persistent_restore_failed); // arc iterator template void dump_digraph_arc_iterator(dump_context& str, const digraph_arc_iterator& data) throw(persistent_dump_failed); template void restore_digraph_arc_iterator(restore_context& str, digraph_arc_iterator& data) throw(persistent_restore_failed); } // end namespace stlplus //////////////////////////////////////////////////////////////////////////////// #include "persistent_digraph.tpp" #endif