Changeset 133 in dev for BasicCompiler_Common/include
- Timestamp:
- Jun 4, 2007, 8:57:05 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler_Common/include/Prototype.h
r131 r133 16 16 string name; 17 17 18 mutable bool isUsing; 19 18 20 public: 19 21 … … 21 23 : namespaceScopes( namespaceScopes ) 22 24 , name( name ) 25 , isUsing( false ) 23 26 { 24 27 } … … 38 41 } 39 42 43 //自身と等しいかどうかを確認 44 bool IsEquals( const Prototype *prototype ) const 45 { 46 if( this == prototype ){ 47 return true; 48 } 49 return false; 50 } 51 52 // 利用状況 53 bool IsUsing() const 54 { 55 return isUsing; 56 } 57 void Using() const 58 { 59 isUsing = true; 60 } 61 40 62 };
Note:
See TracChangeset
for help on using the changeset viewer.