]> Dogcows Code - chaz/yoink/blob - src/stlplus/persistence/persistent_int.hpp
testing new non-autotools build system
[chaz/yoink] / src / stlplus / persistence / persistent_int.hpp
1 #ifndef STLPLUS_PERSISTENT_INT
2 #define STLPLUS_PERSISTENT_INT
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 basic integer types
11
12 ////////////////////////////////////////////////////////////////////////////////
13 #include "persistence_fixes.hpp"
14 #include "persistent_contexts.hpp"
15
16 namespace stlplus
17 {
18
19 void dump_char(dump_context&, const char& data) throw(persistent_dump_failed);
20 void restore_char(restore_context&, char& data) throw(persistent_restore_failed);
21
22 void dump_signed_char(dump_context&, const signed char& data) throw(persistent_dump_failed);
23 void restore_signed_char(restore_context&, signed char& data) throw(persistent_restore_failed);
24
25 void dump_unsigned_char(dump_context&, const unsigned char& data) throw(persistent_dump_failed);
26 void restore_unsigned_char(restore_context&, unsigned char& data) throw(persistent_restore_failed);
27
28 void dump_short(dump_context&, const short& data) throw(persistent_dump_failed);
29 void restore_short(restore_context&, short& data) throw(persistent_restore_failed);
30
31 void dump_unsigned_short(dump_context&, const unsigned short& data) throw(persistent_dump_failed);
32 void restore_unsigned_short(restore_context&, unsigned short& data) throw(persistent_restore_failed);
33
34 void dump_int(dump_context&, const int& data) throw(persistent_dump_failed);
35 void restore_int(restore_context&, int& data) throw(persistent_restore_failed);
36
37 void dump_unsigned(dump_context&, const unsigned& data) throw(persistent_dump_failed);
38 void restore_unsigned(restore_context&, unsigned& data) throw(persistent_restore_failed);
39
40 void dump_long(dump_context&, const long& data) throw(persistent_dump_failed);
41 void restore_long(restore_context&, long& data) throw(persistent_restore_failed);
42
43 void dump_unsigned_long(dump_context&, const unsigned long& data) throw(persistent_dump_failed);
44 void restore_unsigned_long(restore_context&, unsigned long& data) throw(persistent_restore_failed);
45
46 ////////////////////////////////////////////////////////////////////////////////
47
48 } // end namespace stlplus
49
50 #endif
This page took 0.034931 seconds and 4 git commands to generate.