#include "../common.h" #include bool Prototype::IsEqualSymbol( const NamespaceScopes &namespaceScopes, const string &name ) const { if( GetName() != name ){ return false; } return NamespaceScopes::IsSameArea( GetNamespaceScopes(), namespaceScopes ); } bool Prototype::IsEqualSymbol( const Prototype &prototype ) const { return IsEqualSymbol( prototype.GetNamespaceScopes(), prototype.GetName() ); } bool Prototype::IsEqualSymbol( const string &fullName ) const { char AreaName[VN_SIZE] = ""; //オブジェクト変数 char NestName[VN_SIZE] = ""; //入れ子メンバ bool isNest = SplitMemberName( fullName.c_str(), AreaName, NestName ); return IsEqualSymbol( NamespaceScopes( AreaName ), NestName ); }