Changeset 200 in dev for trunk/jenga/include/smoothie/Symbol.h
- Timestamp:
- Jul 2, 2007, 9:55:12 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/jenga/include/smoothie/Symbol.h
r190 r200 14 14 NamespaceScopes namespaceScopes; 15 15 string name; 16 17 // XMLシリアライズ用 18 private: 19 friend class boost::serialization::access; 20 template<class Archive> void serialize(Archive& ar, const unsigned int version) 21 { 22 ar & BOOST_SERIALIZATION_NVP( namespaceScopes ); 23 ar & BOOST_SERIALIZATION_NVP( name ); 24 } 25 16 26 public: 17 27 Symbol( const NamespaceScopes &namespaceScopes, const string &name ) … … 34 44 return name; 35 45 } 36 37 private:38 friend class boost::serialization::access;39 template<class Archive> void serialize(Archive& ar, const unsigned int version)40 {41 //ar & BOOST_SERIALIZATION_NVP( namespaceScopes );42 ar & BOOST_SERIALIZATION_NVP( name );43 }44 46 };
Note:
See TracChangeset
for help on using the changeset viewer.