Changeset 212 in dev


Ignore:
Timestamp:
Jul 16, 2007, 11:35:35 PM (17 years ago)
Author:
dai_9181
Message:

BoostXmlSupportクラスの名前をBoostSerializationSupportに変更

Location:
trunk/abdev
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/abdev/BasicCompiler32/MakePeHdr.cpp

    r210 r212  
    206206    compiler.GetMeta().GetDllProcs().Iterator_Init();
    207207
    208 
    209     if( !compiler.GetMeta().Write( Jenga::Common::Environment::GetAppDir() + "\\meta_test.xml" ) )
     208/*
     209    if( !compiler.GetMeta().WriteXml( Jenga::Common::Environment::GetAppDir() + "\\meta_test.xml" ) )
    210210    {
    211211        MessageBox(0,"XML書き込みに失敗","test",0);
    212212    }
    213213    MetaImpl *pTempMeta = new MetaImpl();
    214     if( !pTempMeta->Read( Jenga::Common::Environment::GetAppDir() + "\\meta_test.xml" ) )
     214    if( !pTempMeta->ReadXml( Jenga::Common::Environment::GetAppDir() + "\\meta_test.xml" ) )
    215215    {
    216216        MessageBox(0,"XML読み込みに失敗","test",0);
     217    }
     218*/
     219    if( !compiler.GetMeta().WriteBinaly( Jenga::Common::Environment::GetAppDir() + "\\meta_test.dat" ) )
     220    {
     221        MessageBox(0,"バイナリ書き込みに失敗","test",0);
     222    }
     223    MetaImpl *pTempMeta = new MetaImpl();
     224    if( !pTempMeta->ReadBinaly( Jenga::Common::Environment::GetAppDir() + "\\meta_test.dat" ) )
     225    {
     226        MessageBox(0,"バイナリ読み込みに失敗","test",0);
    217227    }
    218228    compiler.GetMeta() = (*pTempMeta);
  • trunk/abdev/BasicCompiler32/stdafx.h

    r206 r212  
    1515#include <boost/foreach.hpp>
    1616
    17 #include <jenga/include/common/BoostXmlSupport.h>
     17#include <jenga/include/common/BoostSerializationSupport.h>
    1818
    1919#include "../BasicCompiler_Common/common.h"
     20
     21#include <Class.h>
     22#include <Compiler.h>
     23#include <NamespaceSupporter.h>
  • trunk/abdev/BasicCompiler_Common/BasicCompiler.cpp

    r206 r212  
    553553{
    554554    Jenga::Common::LoggerSetting loggerSetting;
    555     bool result = loggerSetting.Read( Jenga::Common::Environment::GetAppDir() + "\\logger.setting.xml" );
    556 
    557     MessageBeep(0);
     555    bool result = loggerSetting.WriteXml( Jenga::Common::Environment::GetAppDir() + "\\logger.setting.xml" );
    558556}
    559557
  • trunk/abdev/BasicCompiler_Common/include/MetaImpl.h

    r209 r212  
    11#pragma once
    22
    3 #include <jenga/include/common/BoostXmlSupport.h>
     3#include <jenga/include/common/BoostSerializationSupport.h>
    44
    55#include <option.h>
     
    1111#include <Const.h>
    1212
    13 class MetaImpl : public Jenga::Common::BoostXmlSupport<MetaImpl>
     13class MetaImpl : public Jenga::Common::BoostSerializationSupport<MetaImpl>
    1414{
    1515    // 名前空間
  • trunk/abdev/BasicCompiler_Common/include/Prototype.h

    r206 r212  
    44#include <vector>
    55
    6 #include <jenga/include/common/BoostXmlSupport.h>
     6#include <jenga/include/common/BoostSerializationSupport.h>
    77
    88#include <Symbol.h>
  • trunk/abdev/BasicCompiler_Common/include/Symbol.h

    r210 r212  
    44#include <string>
    55
    6 #include <jenga/include/common/BoostXmlSupport.h>
     6#include <jenga/include/common/BoostSerializationSupport.h>
    77
    88#include <jenga/include/smoothie/Namespace.h>
  • trunk/abdev/BasicCompiler_Common/include/Type.h

    r206 r212  
    77
    88#include <jenga/include/common/Exception.h>
    9 #include <jenga/include/common/BoostXmlSupport.h>
     9#include <jenga/include/common/BoostSerializationSupport.h>
    1010#include <jenga/include/smoothie/BasicFixed.h>
    1111
  • trunk/abdev/BasicCompiler_Common/include/option.h

    r210 r212  
    2323
    2424// ログ生成しない場合はこの下の行をコメントアウトする
    25 #define USE_TRACE
     25#ifdef _DEBUG
     26    #define USE_TRACE
     27#else
     28    #define USE_TRACE
     29#endif
    2630
    27 // オーバーロードに関するログを生成する
    28 //#define USE_TRACE_FOR_OVERLOAD
     31#ifdef USE_TRACE
     32    // オーバーロードに関するログを生成する
     33    //#define USE_TRACE_FOR_OVERLOAD
    2934
    30 // モジュールサイズに関するログを生成する
    31 //#define USE_TRACE_FOR_SIZE
     35    // モジュールサイズに関するログを生成する
     36    //#define USE_TRACE_FOR_SIZE
    3237
    33 // XMLシリアライズに関するログを生成する
    34 //#define USE_TRACE_FOR_SERIALIZE
     38    // XMLシリアライズに関するログを生成する
     39    #define USE_TRACE_FOR_SERIALIZE
    3540
    36 // ソースコードステップに関するログを生成する
    37 #define USE_TRACE_FOR_SOURCECODESTEP
     41    // ソースコードステップに関するログを生成する
     42    #define USE_TRACE_FOR_SOURCECODESTEP
     43#endif
    3844
    3945
Note: See TracChangeset for help on using the changeset viewer.