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