X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fstlplus%2Fpersistence%2Fpersistent_triple.hpp;fp=src%2Fstlplus%2Fpersistence%2Fpersistent_triple.hpp;h=d9e30d6ce5a07be48dee3446ac24115bea444e6d;hb=6b0a0d0efafe34d48ab344fca3b479553bd4e62c;hp=0000000000000000000000000000000000000000;hpb=85783316365181491a3e3c0c63659972477cebba;p=chaz%2Fyoink diff --git a/src/stlplus/persistence/persistent_triple.hpp b/src/stlplus/persistence/persistent_triple.hpp new file mode 100644 index 0000000..d9e30d6 --- /dev/null +++ b/src/stlplus/persistence/persistent_triple.hpp @@ -0,0 +1,36 @@ +#ifndef STLPLUS_PERSISTENT_TRIPLE +#define STLPLUS_PERSISTENT_TRIPLE +//////////////////////////////////////////////////////////////////////////////// + +// Author: Andy Rushton +// Copyright: (c) Southampton University 1999-2004 +// (c) Andy Rushton 2004-2009 +// License: BSD License, see ../docs/license.html + +// Persistence of STL triple + +//////////////////////////////////////////////////////////////////////////////// +#include "persistence_fixes.hpp" +#include "persistent_contexts.hpp" +#include "triple.hpp" + +//////////////////////////////////////////////////////////////////////////////// + +namespace stlplus +{ + + template + void dump_triple(dump_context&, const stlplus::triple& data, + D1 dump_fn1, D2 dump_fn2, D3 dump_fn3) + throw(persistent_dump_failed); + + template + void restore_triple(restore_context&, stlplus::triple& data, + R1 restore_fn1, R2 restore_fn2, R3 restore_fn3) + throw(persistent_restore_failed); + +} // end namespace stlplus + + //////////////////////////////////////////////////////////////////////////////// +#include "persistent_triple.tpp" +#endif