Changeset 509 in dev for trunk/ab5.0/abdev/ab_common/include
- Timestamp:
- Apr 29, 2008, 12:27:10 PM (17 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/ab_common/include/Symbol.h
r508 r509 1 1 #pragma once 2 2 3 #include <vector> 4 #include <string> 3 namespace ActiveBasic{ namespace Common{ namespace Lexical{ 5 4 6 #include <BoostSerializationSupport.h>7 8 using namespace std;9 5 10 6 class Symbol … … 13 9 14 10 NamespaceScopes namespaceScopes; 15 st ring name;11 std::string name; 16 12 17 13 // XMLシリアライズ用 … … 41 37 public: 42 38 bool isTargetObjectModule; 43 Symbol( const NamespaceScopes &namespaceScopes, const st ring &name )39 Symbol( const NamespaceScopes &namespaceScopes, const std::string &name ) 44 40 : namespaceScopes( namespaceScopes ) 45 41 , name( name ) … … 67 63 return namespaceScopes; 68 64 } 69 const st ring &GetName() const65 const std::string &GetName() const 70 66 { 71 67 return name; … … 74 70 75 71 // シンボル比較 76 bool IsEqualSymbol( const NamespaceScopes &namespaceScopes, const st ring &name ) const;72 bool IsEqualSymbol( const NamespaceScopes &namespaceScopes, const std::string &name ) const; 77 73 bool IsEqualSymbol( const Symbol &symbol ) const; 78 bool IsEqualSymbol( const char *fullName ) const;79 bool IsEqualSymbol( const string &fullName ) const80 {81 return IsEqualSymbol( fullName.c_str() );82 }83 74 }; 75 76 77 }}}
Note:
See TracChangeset
for help on using the changeset viewer.