Ignore:
Timestamp:
Sep 24, 2007, 2:58:10 PM (17 years ago)
Author:
dai_9181
Message:

コンパイラ組み込みテンプレートエンジンを実装。
静的リンクライブラリ、デバッグ情報の内部形式をテキストからバイナリに変更した。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abdev/BasicCompiler_Common/include/Source.h

    r308 r322  
    11#pragma once
    22
     3#include <map>
     4#include <string>
    35#include <vector>
    4 #include <string>
    56
    67#include <windows.h>
     
    202203    void RemoveReturnLineUnderbar();
    203204
     205    void Initialize( const std::string &source );
     206
    204207public:
    205208    BasicSource(){}
     
    209212    {
    210213    }
     214    BasicSource( const std::string &source )
     215    {
     216        Initialize( source );
     217    }
    211218    ~BasicSource(){}
    212219
     
    257264};
    258265typedef std::vector<BasicSource> BasicSources;
     266
     267class SourceTemplate
     268{
     269    std::string source;
     270public:
     271    SourceTemplate( const std::string &filePath );
     272    ~SourceTemplate()
     273    {
     274    }
     275
     276    std::string GetResult( const std::map<std::string,std::string> &values );
     277};
Note: See TracChangeset for help on using the changeset viewer.