Ignore:
Timestamp:
Jun 11, 2008, 10:10:26 PM (16 years ago)
Author:
dai_9181
Message:

リンカの依存関係解決モジュールを製作中

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/ab_common/include/Lexical/Class.h

    r632 r637  
    1818
    1919public:
    20     ClassPrototype( const NamespaceScopes &namespaceScopes, const std::string &name )
    21         : Prototype( namespaceScopes, name )
     20    ClassPrototype( const Symbol &symbol )
     21        : Prototype( symbol )
    2222        , DynamicMethodsPrototype()
    2323    {
     
    9292
    9393        ar & BOOST_SERIALIZATION_BASE_OBJECT_NVP( ClassPrototype );
     94
     95        if( ActiveBasic::Common::Environment::IsRemoveExternal() )
     96        {
     97            if( this->IsExternal() )
     98            {
     99                this->NeedResolve();
     100                return;
     101            }
     102        }
     103
    94104        ar & BOOST_SERIALIZATION_NVP( classType );
    95105        ar & BOOST_SERIALIZATION_NVP( importedNamespaces );
     
    112122public:
    113123
    114     CClass( const NamespaceScopes &namespaceScopes, const NamespaceScopesCollection &importedNamespaces, const std::string &name );
    115     CClass( const NamespaceScopes &namespaceScopes,
     124    CClass( const Symbol &symbol, const NamespaceScopesCollection &importedNamespaces );
     125    CClass( const Symbol &symbol,
    116126        const NamespaceScopesCollection &importedNamespaces,
    117         const std::string &name, ClassType classType,
     127        ClassType classType,
    118128        const GenericTypes &formalGenericTypes,
    119129        const Types &superClassActualTypeParameters,
     
    455465    std::string GetStaticDefiningStringAsMemberOffsets() const;
    456466    void GetReferenceOffsetsInitializeBuffer( std::string &referenceOffsetsBuffer, int &numOfReference, int baseOffset = 0 ) const;
     467
     468    virtual bool Resolve();
    457469};
    458470
Note: See TracChangeset for help on using the changeset viewer.