Changeset 215 in dev for trunk/abdev/BasicCompiler_Common


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

BoostSerializationSupportのクラステンプレートインスタンスを明示的に生成するようにした(コンパイル時間の短縮)

Location:
trunk/abdev/BasicCompiler_Common
Files:
6 added
11 edited

Legend:

Unmodified
Added
Removed
  • trunk/abdev/BasicCompiler_Common/Enum.cpp

    r206 r215  
    11#include "stdafx.h"
    2 
    3 #include <jenga/include/common/logger.h>
    42
    53#include <jenga/include/smoothie/Smoothie.h>
  • trunk/abdev/BasicCompiler_Common/Enum.h

    r182 r215  
    11#pragma once
    22
    3 #include <jenga/include/smoothie/Namespace.h>
     3#include <Namespace.h>
    44
    55class CEnumMember{
  • trunk/abdev/BasicCompiler_Common/include/MetaImpl.h

    r212 r215  
    11#pragma once
    22
    3 #include <jenga/include/common/BoostSerializationSupport.h>
     3#include <BoostSerializationSupport.h>
    44
    55#include <option.h>
     
    153153        return procPointers;
    154154    }
    155 
    156     bool AutoWrite( const std::string &filePath )
    157     {
    158         std::ofstream ofs( filePath.c_str() );
    159 
    160         bool isSuccessful = false;
    161         try{
    162             boost::archive::xml_oarchive oa(ofs);
    163 
    164             // ファイルから読込
    165             oa << boost::serialization::make_nvp( RootTagName(), *this );
    166 
    167             isSuccessful = true;
    168         }
    169         catch(...){
    170             // 失敗
    171         }
    172 
    173         // 入力を閉じる
    174         ofs.close();
    175 
    176         return isSuccessful;
    177     }
    178155};
  • trunk/abdev/BasicCompiler_Common/include/NamespaceSupporter.h

    r199 r215  
    11#pragma once
    22
    3 #include <jenga/include/smoothie/Namespace.h>
     3#include <Namespace.h>
    44
    55class NamespaceSupporter
  • trunk/abdev/BasicCompiler_Common/include/Procedure.h

    r210 r215  
    11#pragma once
    22
    3 #include <jenga/include/common/Hashmap.h>
    43#include <jenga/include/smoothie/Source.h>
    54
     5#include <Hashmap.h>
    66#include <option.h>
    77#include <Program.h>
  • trunk/abdev/BasicCompiler_Common/include/Program.h

    r168 r215  
    11#pragma once
    22
    3 #include <jenga/include/common/logger.h>
     3#include <logger.h>
    44
    55class Program
  • trunk/abdev/BasicCompiler_Common/include/Prototype.h

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

    r212 r215  
    44#include <string>
    55
    6 #include <jenga/include/common/BoostSerializationSupport.h>
     6#include <jenga/include/smoothie/LexicalAnalysis.h>
    77
    8 #include <jenga/include/smoothie/Namespace.h>
    9 #include <jenga/include/smoothie/LexicalAnalysis.h>
     8#include <BoostSerializationSupport.h>
     9#include <Namespace.h>
    1010
    1111using namespace std;
  • trunk/abdev/BasicCompiler_Common/include/Type.h

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

    r206 r215  
    44#include <string>
    55
    6 #include <jenga/include/smoothie/Namespace.h>
    7 
     6#include <Namespace.h>
    87#include <Type.h>
    98#include <Symbol.h>
  • trunk/abdev/BasicCompiler_Common/include/option.h

    r212 r215  
    2626    #define USE_TRACE
    2727#else
    28     #define USE_TRACE
     28    //#define USE_TRACE
    2929#endif
    3030
Note: See TracChangeset for help on using the changeset viewer.