Changeset 523 in dev for trunk/ab5.0/jenga/include/common/BoostSerializationSupport.h
- Timestamp:
- May 1, 2008, 11:03:14 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/jenga/include/common/BoostSerializationSupport.h
r520 r523 1 1 #pragma once 2 3 #include <vector>4 #include <string>5 #include <fstream>6 #include <sstream>7 8 #include <boost/serialization/serialization.hpp>9 #include <boost/serialization/nvp.hpp>10 #include <boost/serialization/export.hpp>11 2 12 3 namespace Jenga{ 13 4 namespace Common{ 14 15 using namespace std;16 5 17 6 template<class T_xml_schema> class BoostSerializationSupport{ … … 21 10 22 11 public: 23 bool ReadXml( istream& ifs, bool isShowExceptionMessage = true );24 bool WriteXml( ostream& ofs, bool isShowExceptionMessage = true ) const;12 bool ReadXml( std::istream& ifs, bool isShowExceptionMessage = true ); 13 bool WriteXml( std::ostream& ofs, bool isShowExceptionMessage = true ) const; 25 14 bool ReadXml( const std::string &xmlFilePath, bool isShowExceptionMessage = true ); 26 15 bool WriteXml( const std::string &xmlFilePath, bool isShowExceptionMessage = true ) const;
Note:
See TracChangeset
for help on using the changeset viewer.