Ignore:
Timestamp:
Jul 2, 2007, 9:55:12 AM (17 years ago)
Author:
dai_9181
Message:
 
File:
1 edited

Legend:

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

    r194 r200  
    55#include <boost/foreach.hpp>
    66
     7#include <jenga/include/common/BoostXmlSupport.h>
     8
    79using namespace std;
    810
    911class NamespaceScopes : public vector<string>
    1012{
     13    // XMLシリアライズ用
     14private:
     15    friend class boost::serialization::access;
     16    template<class Archive> void serialize(Archive& ar, const unsigned int version)
     17    {
     18        ar & boost::serialization::make_nvp("vector_string", boost::serialization::base_object<vector<string>>(*this));
     19    }
     20
     21
    1122public:
    1223    NamespaceScopes(){}
     
    7384class NamespaceScopesCollection : public vector<NamespaceScopes>
    7485{
     86    // XMLシリアライズ用
     87private:
     88    friend class boost::serialization::access;
     89    template<class Archive> void serialize(Archive& ar, const unsigned int version)
     90    {
     91        ar & boost::serialization::make_nvp("vector_NamespaceScopes", boost::serialization::base_object<vector<NamespaceScopes>>(*this));
     92    }
     93
    7594public:
    7695    bool IsExist( const NamespaceScopes &namespaceScopes ) const
Note: See TracChangeset for help on using the changeset viewer.