Changeset 187 in dev for trunk/jenga/include/smoothie
- Timestamp:
- Jun 25, 2007, 5:40:36 AM (17 years ago)
- Location:
- trunk/jenga/include/smoothie
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/jenga/include/smoothie/Member.h
r181 r187 53 53 } 54 54 55 CMember( Prototype::Accessibility accessibility, const string &name, const Type & type, bool isConst, const string &initializeExpression, const string &constructParameter )55 CMember( Prototype::Accessibility accessibility, const string &name, const Type &newType, bool isConst, const string &initializeExpression, const string &constructParameter ) 56 56 : MemberPrototype( accessibility ) 57 57 , name( name ) 58 , type( type )58 , type( newType ) 59 59 , isConst( isConst ) 60 60 , initializeExpression( initializeExpression ) -
trunk/jenga/include/smoothie/ObjectModule.h
r181 r187 1 1 #pragma once 2 3 #include <jenga/include/common/BoostXmlSupport.h> 2 4 3 5 #include "TypeDef.h" … … 7 9 8 10 // プロジェクト中に存在するメタ情報 9 class Meta{ 11 class Meta : public Jenga::Common::BoostXmlSupport<Meta> 12 { 10 13 Classes *pClasses; 11 14 ProcPointers *pProcPointers; … … 47 50 // blittable型 48 51 BlittableTypes blittableTypes; 52 53 // XMLシリアライズ用 54 private: 55 virtual const char *RootTagName() const 56 { 57 return "meta"; 58 } 59 friend class boost::serialization::access; 60 template<class Archive> void serialize(Archive& ar, const unsigned int version) 61 { 62 //ar & BOOST_SERIALIZATION_NVP( pClasses ); 63 } 49 64 }; 65 66 67 #define DEF_XML_SCHEMA( node ) BOOST_CLASS_IMPLEMENTATION( node, boost::serialization::object_serializable ); 68 69 // ノード クラスを追加したらここでも定義する 70 DEF_XML_SCHEMA( Meta ) 71 72 #undef DEF_XML_SCHEMA
Note:
See TracChangeset
for help on using the changeset viewer.