Line | |
---|
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 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.