Last change
on this file since 829 was 829, checked in by イグトランス (egtra), 12 years ago |
svn:eol-styleとsvn:mime-type(文字コード指定含む)の設定
|
-
Property svn:eol-style
set to
native
-
Property svn:mime-type
set to
text/plain; charset=Shift_JIS
|
File size:
1.3 KB
|
Rev | Line | |
---|
[829] | 1 | #include <iosfwd>
|
---|
| 2 | #include <string>
|
---|
| 3 |
|
---|
| 4 | #pragma once
|
---|
| 5 |
|
---|
| 6 | namespace Jenga{
|
---|
| 7 | namespace Common{
|
---|
| 8 |
|
---|
| 9 | template<class T_xml_schema> class BoostSerializationSupport{
|
---|
| 10 | virtual const char *RootTagName() const = 0;
|
---|
| 11 |
|
---|
| 12 | void echo( const char *msg ) const;
|
---|
| 13 |
|
---|
| 14 | public:
|
---|
| 15 | bool ReadXml( std::istream& ifs, bool isShowExceptionMessage = true );
|
---|
| 16 | bool WriteXml( std::ostream& ofs, bool isShowExceptionMessage = true ) const;
|
---|
| 17 | bool ReadXml( const std::string &xmlFilePath, bool isShowExceptionMessage = true );
|
---|
| 18 | bool WriteXml( const std::string &xmlFilePath, bool isShowExceptionMessage = true ) const;
|
---|
| 19 | bool ReadXmlString( const std::string &xmlString );
|
---|
| 20 | bool WriteXmlString( std::string &xmlString ) const;
|
---|
| 21 |
|
---|
| 22 | bool ReadBinaryFile( const std::string &filePath, bool isShowExceptionMessage = true );
|
---|
| 23 | bool WriteBinaryFile( const std::string &filePath, bool isShowExceptionMessage = true ) const;
|
---|
| 24 | bool ReadBinaryString( const std::string &binaryString );
|
---|
| 25 | bool WriteBinaryString( std::string &binaryString ) const;
|
---|
| 26 |
|
---|
| 27 | /*
|
---|
| 28 | ビルドに時間がかかるので外しておく
|
---|
| 29 | bool ReadText( const std::string &filePath, bool isShowExceptionMessage = true );
|
---|
| 30 | bool WriteText( const std::string &filePath, bool isShowExceptionMessage = true ) const;
|
---|
| 31 | bool ReadTextString( const std::string &textString );
|
---|
| 32 | bool WriteTextString( std::string &textString ) const;
|
---|
| 33 |
|
---|
| 34 | bool ReadXmlFromString( const std::string &xmlBuffer );
|
---|
| 35 | */
|
---|
| 36 | };
|
---|
| 37 |
|
---|
| 38 |
|
---|
| 39 | }}
|
---|
Note:
See
TracBrowser
for help on using the repository browser.