source: dev/branches/egtra/ab5.0/abdev/BasicCompiler_Common/include/Configuration.h

Last change on this file was 817, checked in by イグトランス (egtra), 14 years ago

compilerにおいて、各クラスのコピー禁止を明確化、ならびにコピー可能なものにムーブコンストラクタ・ムーブ代入演算子を追加。

File size: 679 bytes
Line 
1#pragma once
2
3class Configuration
4 : public Jenga::Common::BoostSerializationSupport<Configuration>
5{
6 std::string abdevRootRelativePath;
7
8public:
9 Configuration()
10 {
11 }
12
13 const std::string &GetAbdevRootRelativePath() const
14 {
15 return abdevRootRelativePath;
16 }
17
18 // XMLシリアライズ用
19private:
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.