Changeset 349 in dev for trunk/abdev/BasicCompiler_Common


Ignore:
Timestamp:
Oct 13, 2007, 11:45:58 AM (17 years ago)
Author:
dai_9181
Message:

インターフェイス実装中…

Location:
trunk/abdev/BasicCompiler_Common
Files:
2 edited

Legend:

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

    r348 r349  
    562562    mutable const CClass *pStringClass;
    563563    mutable const CClass *pObjectClass;
     564    mutable const CClass *pInterfaceInfo;
    564565    const CClass *GetStringClassPtr() const;
    565566    const CClass *GetObjectClassPtr() const;
     567    const CClass *GetInterfaceInfoClassPtr() const;
    566568};
  • trunk/abdev/BasicCompiler_Common/src/Class.cpp

    r348 r349  
    15281528
    15291529            if( pobj_c->GetName() == "Object"
    1530                 || pobj_c->GetFullName() == "ActiveBasic.Core.InterfaceInfo"
    15311530                || dwClassType == ESC_TYPE )
    15321531            {
     
    19881987    return pObjectClass;
    19891988}
     1989const 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.