Ignore:
Timestamp:
Nov 30, 2007, 8:31:42 PM (17 years ago)
Author:
dai_9181
Message:
 
File:
1 edited

Legend:

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

    r375 r376  
    7777    mutable LONG_PTR vtblOffset;
    7878
     79    // 型パラメータ(実パラメータ)
     80    Types actualTypeParameters;
     81
    7982    // XMLシリアライズ用
    8083private:
     
    8790        ar & boost::serialization::make_nvp("pInterfaceClass", const_cast<CClass *&>(pInterfaceClass) );
    8891        ar & BOOST_SERIALIZATION_NVP( vtblOffset );
    89     }
    90 
    91 public:
    92     Interface( const CClass *pInterfaceClass );
     92        ar & BOOST_SERIALIZATION_NVP( actualTypeParameters );
     93    }
     94
     95public:
     96    Interface( const CClass *pInterfaceClass, const Types &actualTypeParameters );
    9397    Interface( const Interface &objInterface )
    9498        : DynamicMethodsPrototype( objInterface )
     
    111115    {
    112116        this->vtblOffset = vtblOffset;
     117    }
     118
     119    const Types &GetActualTypeParameters() const
     120    {
     121        return actualTypeParameters;
    113122    }
    114123};
     
    395404
    396405    // インターフェイス実装
    397     bool Implements( const CClass &interfaceClass, const Jenga::Common::Strings &typeParameters, int nowLine );
     406    bool Implements( const CClass &interfaceClass, const Types &actualTypeParameters, int nowLine );
    398407    bool Implements( const char *interfaceNames, int nowLine );
    399408
     
    582591public:
    583592    virtual void GetClass_recur(const char *lpszInheritsClass);
     593    void LookaheadClass( const char *className );
     594    bool LoopRefCheck( const CClass &objClass );
    584595    virtual void GetAllClassInfo();
    585596    virtual void Compile_System_InitializeUserTypes();
Note: See TracChangeset for help on using the changeset viewer.