| 
            Last change
 on this file since 820 was             812, checked in by イグトランス (egtra), 15 years ago           | 
        
        
          | 
             
LexicalAnalyzer_Typedef.cppをcompiler-implへ移動。 
 
           | 
        
        
          | 
            File size:
            453 bytes
           | 
        
      
      
| Line |   | 
|---|
| 1 | #include <map>
 | 
|---|
| 2 | #include <string>
 | 
|---|
| 3 | 
 | 
|---|
| 4 | #pragma once
 | 
|---|
| 5 | 
 | 
|---|
| 6 | namespace Jenga{
 | 
|---|
| 7 | namespace Common{
 | 
|---|
| 8 | 
 | 
|---|
| 9 | 
 | 
|---|
| 10 | class SourceTemplate
 | 
|---|
| 11 | {
 | 
|---|
| 12 | public:
 | 
|---|
| 13 |     class Values
 | 
|---|
| 14 |         : public std::map<std::string,std::string>
 | 
|---|
| 15 |     {
 | 
|---|
| 16 |     public:
 | 
|---|
| 17 |         void Insert( const std::string &tagName, const std::string &value );
 | 
|---|
| 18 |     };
 | 
|---|
| 19 | 
 | 
|---|
| 20 |     SourceTemplate( const std::string &filePath );
 | 
|---|
| 21 |     std::string GetResult( const std::map<std::string,std::string> &values );
 | 
|---|
| 22 | 
 | 
|---|
| 23 | private:
 | 
|---|
| 24 |     std::string source;
 | 
|---|
| 25 | };
 | 
|---|
| 26 | 
 | 
|---|
| 27 | 
 | 
|---|
| 28 | }}
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.