Ignore:
Timestamp:
Jul 3, 2007, 3:49:18 AM (17 years ago)
Author:
dai_9181
Message:

jengaライブラリに一通りserializeメソッドを仕込んだ

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/jenga/include/smoothie/Prototype.h

    r200 r203  
    7979{
    8080    Prototype::Accessibility accessibility;
     81
     82    // XMLシリアライズ用
     83private:
     84    friend class boost::serialization::access;
     85    template<class Archive> void serialize(Archive& ar, const unsigned int version)
     86    {
     87        ar & BOOST_SERIALIZATION_NVP( accessibility );
     88    }
     89
    8190public:
    8291    MemberPrototype( Prototype::Accessibility accessibility )
Note: See TracChangeset for help on using the changeset viewer.