summaryrefslogtreecommitdiff
path: root/shared/serialize.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:07:15 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:07:15 +0200
commit8318453bf9d4fd50b137ff6c6fc8d1fd22aa6395 (patch)
tree975c6e590c31e56007006a23e7b15d0245d75b08 /shared/serialize.h
parent3.6 (diff)
downloadFreeFileSync-8318453bf9d4fd50b137ff6c6fc8d1fd22aa6395.tar.gz
FreeFileSync-8318453bf9d4fd50b137ff6c6fc8d1fd22aa6395.tar.bz2
FreeFileSync-8318453bf9d4fd50b137ff6c6fc8d1fd22aa6395.zip
3.7
Diffstat (limited to 'shared/serialize.h')
-rw-r--r--shared/serialize.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/shared/serialize.h b/shared/serialize.h
index f1c4dc49..201d184e 100644
--- a/shared/serialize.h
+++ b/shared/serialize.h
@@ -32,12 +32,12 @@ protected:
ReadInputStream(wxInputStream& stream, const wxString& errorObjName) : stream_(stream), errorObjName_(errorObjName) {}
template <class T>
- T readNumberC(); //checked read operation
+ T readNumberC(); //throw FileError(), checked read operation
- Zstring readStringC(); //checked read operation
+ Zstring readStringC(); //throw FileError(), checked read operation
typedef boost::shared_ptr<std::vector<char> > CharArray;
- CharArray readArrayC();
+ CharArray readArrayC(); //throw FileError()
void check();
@@ -60,11 +60,11 @@ protected:
WriteOutputStream(const wxString& errorObjName, wxOutputStream& stream) : stream_(stream), errorObjName_(errorObjName) {}
template <class T>
- void writeNumberC(T number); //checked write operation
+ void writeNumberC(T number); //throw FileError(), checked write operation
- void writeStringC(const Zstring& str); //checked write operation
+ void writeStringC(const Zstring& str); //throw FileError(), checked write operation
- void writeArrayC(const std::vector<char>& buffer);
+ void writeArrayC(const std::vector<char>& buffer); //throw FileError()
void check();
bgstack15