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:
647 bytes
|
Rev | Line | |
---|
[829] | 1 | #pragma once
|
---|
| 2 |
|
---|
| 3 | class Configuration
|
---|
| 4 | : public Jenga::Common::BoostSerializationSupport<Configuration>
|
---|
| 5 | {
|
---|
| 6 | std::string abdevRootRelativePath;
|
---|
| 7 |
|
---|
| 8 | public:
|
---|
| 9 | Configuration()
|
---|
| 10 | {
|
---|
| 11 | }
|
---|
| 12 |
|
---|
| 13 | const std::string &GetAbdevRootRelativePath() const
|
---|
| 14 | {
|
---|
| 15 | return abdevRootRelativePath;
|
---|
| 16 | }
|
---|
| 17 |
|
---|
| 18 | // XMLシリアライズ用
|
---|
| 19 | private:
|
---|
| 20 | virtual const char *RootTagName() const
|
---|
| 21 | {
|
---|
| 22 | return "configuration";
|
---|
| 23 | }
|
---|
| 24 | friend class boost::serialization::access;
|
---|
| 25 | template<class Archive> void serialize(Archive& ar, const unsigned int version)
|
---|
| 26 | {
|
---|
| 27 | ar & BOOST_SERIALIZATION_NVP( abdevRootRelativePath );
|
---|
| 28 | }
|
---|
| 29 |
|
---|
| 30 | Configuration(Configuration const&);
|
---|
| 31 | Configuration& operator =(Configuration const&);
|
---|
| 32 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.