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