Changeset 190 in dev for trunk/jenga/include/smoothie/Class.h
- Timestamp:
- Jun 26, 2007, 12:05:36 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/jenga/include/smoothie/Class.h
r181 r190 1 1 #pragma once 2 3 #include <jenga/include/common/BoostXmlSupport.h> 2 4 3 5 #include "Prototype.h" … … 83 85 84 86 CClass( const NamespaceScopes &namespaceScopes, const NamespaceScopesCollection &importedNamespaces, const string &name ); 87 CClass() 88 : Prototype() 89 { 90 } 85 91 ~CClass(); 86 92 … … 259 265 CClass *pobj_NextClass; 260 266 261 267 // XMLシリアライズ用 268 private: 269 friend class boost::serialization::access; 270 template<class Archive> void serialize(Archive& ar, const unsigned int version) 271 { 272 ar & BOOST_SERIALIZATION_BASE_OBJECT_NVP( Prototype ); 273 ar & BOOST_SERIALIZATION_NVP( classType ); 274 } 275 276 277 public: 262 278 static bool SplitName( const char *desc, char *object, char *member, CClass::RefType &refType ){ 263 279 int lastIndex = -1; … … 305 321 class Classes 306 322 { 307 int hash(const char *name) const;323 int GetHashCode(const char *name) const; 308 324 void DestroyClass(CClass *pobj_c); 309 325 public: … … 318 334 319 335 virtual CClass *Create( const NamespaceScopes &namespaceScopes, const NamespaceScopesCollection &importedNamespaces, const char *name) = 0; 336 bool Insert( CClass *pClass ); 320 337 CClass *Add( const NamespaceScopes &namespaceScopes, const NamespaceScopesCollection &importedNamespaces, const char *name,int nowLine); 321 338 … … 360 377 ///////////////////// 361 378 private: 362 CClass **ppobj_IteClass;363 int iIteMaxNum;364 int iIteNextNum;365 public: 366 void Iterator_Init( void);367 void Iterator_Reset( void);368 BOOL Iterator_HasNext( void);369 CClass *Iterator_GetNext( void);370 int Iterator_GetMaxCount( void);379 mutable CClass **ppobj_IteClass; 380 mutable int iIteMaxNum; 381 mutable int iIteNextNum; 382 public: 383 void Iterator_Init() const; 384 void Iterator_Reset() const; 385 BOOL Iterator_HasNext() const; 386 CClass *Iterator_GetNext() const; 387 int Iterator_GetMaxCount() const; 371 388 };
Note:
See TracChangeset
for help on using the changeset viewer.