]> Dogcows Code - chaz/yoink/blob - src/stlplus/persistence/persistent_string.cpp
testing new non-autotools build system
[chaz/yoink] / src / stlplus / persistence / persistent_string.cpp
1 ////////////////////////////////////////////////////////////////////////////////
2
3 // Author: Andy Rushton
4 // Copyright: (c) Southampton University 1999-2004
5 // (c) Andy Rushton 2004-2009
6 // License: BSD License, see ../docs/license.html
7
8 ////////////////////////////////////////////////////////////////////////////////
9 #include "persistent_string.hpp"
10
11 ////////////////////////////////////////////////////////////////////////////////
12
13 void stlplus::dump_string(stlplus::dump_context& context, const std::string& data)
14 throw(stlplus::persistent_dump_failed)
15 {
16 stlplus::dump_basic_string(context, data, stlplus::dump_char);
17 }
18
19 void stlplus::restore_string(stlplus::restore_context& context, std::string& data)
20 throw(stlplus::persistent_restore_failed)
21 {
22 stlplus::restore_basic_string(context, data, stlplus::restore_char);
23 }
24
25 ////////////////////////////////////////////////////////////////////////////////
This page took 0.035089 seconds and 4 git commands to generate.