Changeset 349 in dev for trunk/abdev/BasicCompiler_Common
- Timestamp:
- Oct 13, 2007, 11:45:58 AM (17 years ago)
- Location:
- trunk/abdev/BasicCompiler_Common
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/include/Class.h
r348 r349 562 562 mutable const CClass *pStringClass; 563 563 mutable const CClass *pObjectClass; 564 mutable const CClass *pInterfaceInfo; 564 565 const CClass *GetStringClassPtr() const; 565 566 const CClass *GetObjectClassPtr() const; 567 const CClass *GetInterfaceInfoClassPtr() const; 566 568 }; -
trunk/abdev/BasicCompiler_Common/src/Class.cpp
r348 r349 1528 1528 1529 1529 if( pobj_c->GetName() == "Object" 1530 || pobj_c->GetFullName() == "ActiveBasic.Core.InterfaceInfo"1531 1530 || dwClassType == ESC_TYPE ) 1532 1531 { … … 1988 1987 return pObjectClass; 1989 1988 } 1989 const CClass *Classes::GetInterfaceInfoClassPtr() const 1990 { 1991 if( !pInterfaceInfo ){ 1992 // キャッシュしておく 1993 pInterfaceInfo = this->Find( "ActiveBasic.Core.InterfaceInfo" ); 1994 1995 if( !pInterfaceInfo ) 1996 { 1997 SmoothieException::Throw(); 1998 } 1999 return pInterfaceInfo; 2000 } 2001 return pInterfaceInfo; 2002 }
Note:
See TracChangeset
for help on using the changeset viewer.