Last change
on this file since 829 was 829, checked in by イグトランス (egtra), 12 years ago |
svn:eol-styleとsvn:mime-type(文字コード指定含む)の設定
|
-
Property svn:eol-style
set to
native
-
Property svn:mime-type
set to
text/plain; charset=Shift_JIS
|
File size:
425 bytes
|
Rev | Line | |
---|
[829] | 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.