Ignore:
Timestamp:
May 1, 2008, 11:03:14 PM (16 years ago)
Author:
dai_9181
Message:

ヘッダファイルを整理中

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/BasicCompiler_Common/src/BoostSerializationSupport.cpp

    r522 r523  
    5353    MessageBox( NULL, msg, "XMLシリアライズの例外", MB_OK );
    5454}
    55 template<class T_xml_schema> bool BoostSerializationSupport<T_xml_schema>::ReadXml( istream& ifs, bool isShowExceptionMessage )
     55template<class T_xml_schema> bool BoostSerializationSupport<T_xml_schema>::ReadXml( std::istream& ifs, bool isShowExceptionMessage )
    5656{
    5757    bool isSuccessful = false;
     
    8686    return true;
    8787}
    88 template<class T_xml_schema> bool BoostSerializationSupport<T_xml_schema>::WriteXml( ostream& ofs, bool isShowExceptionMessage ) const
     88template<class T_xml_schema> bool BoostSerializationSupport<T_xml_schema>::WriteXml( std::ostream& ofs, bool isShowExceptionMessage ) const
    8989{
    9090    bool isSuccessful = false;
     
    119119    return true;
    120120}
    121 template<class T_xml_schema> bool BoostSerializationSupport<T_xml_schema>::ReadXml( const string &xmlFilePath, bool isShowExceptionMessage )
     121template<class T_xml_schema> bool BoostSerializationSupport<T_xml_schema>::ReadXml( const std::string &xmlFilePath, bool isShowExceptionMessage )
    122122{
    123123    // 入力アーカイブの作成
     
    131131    return result;
    132132}
    133 template<class T_xml_schema> bool BoostSerializationSupport<T_xml_schema>::WriteXml( const string &xmlFilePath, bool isShowExceptionMessage ) const
     133template<class T_xml_schema> bool BoostSerializationSupport<T_xml_schema>::WriteXml( const std::string &xmlFilePath, bool isShowExceptionMessage ) const
    134134{
    135135    // 出力アーカイブの作成
     
    201201}
    202202
    203 template<class T_xml_schema> bool BoostSerializationSupport<T_xml_schema>::ReadBinaryFile( const string &filePath, bool isShowExceptionMessage )
    204 {
    205     // 入力アーカイブの作成
    206     std::ifstream ifs( filePath.c_str(), ios::in | ios::binary );
     203template<class T_xml_schema> bool BoostSerializationSupport<T_xml_schema>::ReadBinaryFile( const std::string &filePath, bool isShowExceptionMessage )
     204{
     205    // 入力アーカイブの作成
     206    std::ifstream ifs( filePath.c_str(), std::ios::in | std::ios::binary );
    207207
    208208    bool isSuccessful = false;
     
    239239    return true;
    240240}
    241 template<class T_xml_schema> bool BoostSerializationSupport<T_xml_schema>::WriteBinaryFile( const string &filePath, bool isShowExceptionMessage ) const
     241template<class T_xml_schema> bool BoostSerializationSupport<T_xml_schema>::WriteBinaryFile( const std::string &filePath, bool isShowExceptionMessage ) const
    242242{
    243243    // 出力アーカイブの作成
    244     std::ofstream ofs( filePath.c_str(), ios::out | ios::binary );
     244    std::ofstream ofs( filePath.c_str(), std::ios::out | std::ios::binary );
    245245
    246246    bool isSuccessful = false;
     
    283283
    284284    // 入力アーカイブの作成
    285     std::istringstream iss( binaryString, ios::in | ios::binary );
     285    std::istringstream iss( binaryString, std::ios::in | std::ios::binary );
    286286
    287287    try{
     
    306306{
    307307    // 出力アーカイブの作成
    308     std::ostringstream oss( "", ios::out | ios::binary );
     308    std::ostringstream oss( "", std::ios::out | std::ios::binary );
    309309
    310310    bool isSuccessful = false;
     
    332332/*
    333333ビルドに時間がかかるので外しておく
    334 template<class T_xml_schema> bool BoostSerializationSupport<T_xml_schema>::ReadText( const string &filePath, bool isShowExceptionMessage )
     334template<class T_xml_schema> bool BoostSerializationSupport<T_xml_schema>::ReadText( const std::string &filePath, bool isShowExceptionMessage )
    335335{
    336336    // 入力アーカイブの作成
     
    370370    return true;
    371371}
    372 template<class T_xml_schema> bool BoostSerializationSupport<T_xml_schema>::WriteText( const string &filePath, bool isShowExceptionMessage ) const
     372template<class T_xml_schema> bool BoostSerializationSupport<T_xml_schema>::WriteText( const std::string &filePath, bool isShowExceptionMessage ) const
    373373{
    374374    // 出力アーカイブの作成
Note: See TracChangeset for help on using the changeset viewer.