Changeset 293 in dev for trunk/abdev/BasicCompiler_Common


Ignore:
Timestamp:
Aug 22, 2007, 11:09:26 AM (17 years ago)
Author:
dai_9181
Message:
 
Location:
trunk/abdev/BasicCompiler_Common/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/abdev/BasicCompiler_Common/include/Class.h

    r290 r293  
    9191        ar & BOOST_SERIALIZATION_NVP( classType );
    9292        ar & BOOST_SERIALIZATION_NVP( importedNamespaces );
     93        ar & BOOST_SERIALIZATION_NVP( formalGenericTypes );
    9394        ar & boost::serialization::make_nvp( "pSuperClass", const_cast<CClass *&>(pSuperClass) );
    9495        ar & BOOST_SERIALIZATION_NVP( blittableType );
  • trunk/abdev/BasicCompiler_Common/include/Type.h

    r290 r293  
    3939        {
    4040            ar & boost::serialization::make_nvp("pClass", const_cast<CClass *&>(pClass));
     41            ar & BOOST_SERIALIZATION_NVP( actualGenericTypes );
    4142        }
    4243        else
     
    193194    std::string name;
    194195    Type type;
     196
     197    // XMLシリアライズ用
     198private:
     199    friend class boost::serialization::access;
     200    template<class Archive> void serialize(Archive& ar, const unsigned int version)
     201    {
     202        trace_for_serialize( "serializing - GenericType" );
     203
     204        ar & BOOST_SERIALIZATION_NVP( name );
     205        ar & BOOST_SERIALIZATION_NVP( type );
     206    }
     207
    195208public:
    196209    GenericType( const std::string &name, const Type &type )
Note: See TracChangeset for help on using the changeset viewer.