Rev | Line | |
---|
[170] | 1 | #include <jenga/include/smoothie/BasicFixed.h>
|
---|
[171] | 2 | #include <jenga/include/smoothie/Class.h>
|
---|
[170] | 3 |
|
---|
| 4 | bool Prototype::IsEqualSymbol( const NamespaceScopes &namespaceScopes, const string &name ) const
|
---|
| 5 | {
|
---|
| 6 | if( GetName() != name ){
|
---|
| 7 | return false;
|
---|
| 8 | }
|
---|
| 9 |
|
---|
| 10 | return NamespaceScopes::IsSameArea( GetNamespaceScopes(), namespaceScopes );
|
---|
| 11 | }
|
---|
| 12 | bool Prototype::IsEqualSymbol( const Prototype &prototype ) const
|
---|
| 13 | {
|
---|
| 14 | return IsEqualSymbol( prototype.GetNamespaceScopes(), prototype.GetName() );
|
---|
| 15 | }
|
---|
| 16 | bool Prototype::IsEqualSymbol( const string &fullName ) const
|
---|
| 17 | {
|
---|
| 18 | char AreaName[VN_SIZE] = ""; //オブジェクト変数
|
---|
| 19 | char NestName[VN_SIZE] = ""; //入れ子メンバ
|
---|
[171] | 20 | bool isNest = CClass::SplitName( fullName.c_str(), AreaName, NestName );
|
---|
[170] | 21 |
|
---|
| 22 | return IsEqualSymbol( NamespaceScopes( AreaName ), NestName );
|
---|
| 23 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.