source: dev/trunk/ab5.0/jenga/include/common/BoostSerializationSupport.h@ 523

Last change on this file since 523 was 523, checked in by dai_9181, 16 years ago

ヘッダファイルを整理中

File size: 1.3 KB
RevLine 
[215]1#pragma once
2
3namespace Jenga{
4namespace Common{
5
6template<class T_xml_schema> class BoostSerializationSupport{
7 virtual const char *RootTagName() const = 0;
8
9 void echo( const char *msg ) const;
10
11public:
[523]12 bool ReadXml( std::istream& ifs, bool isShowExceptionMessage = true );
13 bool WriteXml( std::ostream& ofs, bool isShowExceptionMessage = true ) const;
[264]14 bool ReadXml( const std::string &xmlFilePath, bool isShowExceptionMessage = true );
15 bool WriteXml( const std::string &xmlFilePath, bool isShowExceptionMessage = true ) const;
[279]16 bool ReadXmlString( const std::string &xmlString );
17 bool WriteXmlString( std::string &xmlString ) const;
[215]18
[322]19 bool ReadBinaryFile( const std::string &filePath, bool isShowExceptionMessage = true );
20 bool WriteBinaryFile( const std::string &filePath, bool isShowExceptionMessage = true ) const;
21 bool ReadBinaryString( const std::string &binaryString );
22 bool WriteBinaryString( std::string &binaryString ) const;
[215]23
[404]24/*
25ビルドに時間がかかるので外しておく
[264]26 bool ReadText( const std::string &filePath, bool isShowExceptionMessage = true );
27 bool WriteText( const std::string &filePath, bool isShowExceptionMessage = true ) const;
28 bool ReadTextString( const std::string &textString );
29 bool WriteTextString( std::string &textString ) const;
[215]30
[264]31 bool ReadXmlFromString( const std::string &xmlBuffer );
[404]32*/
[215]33};
34
35
36}}
Note: See TracBrowser for help on using the repository browser.