Changeset 750 in dev for trunk/ab5.0/abdev/ab_common/src/Lexical/Method.cpp
- Timestamp:
- Sep 24, 2008, 2:02:16 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/ab_common/src/Lexical/Method.cpp
r640 r750 92 92 Methods::Methods( const Methods &methods ) 93 93 { 94 BOOST_FOREACH( CMethod *pMethod, methods )94 foreach( CMethod *pMethod, methods ) 95 95 { 96 96 this->push_back( new DynamicMethod( dynamic_cast<DynamicMethod &>(*pMethod) ) ); … … 101 101 { 102 102 Methods &methods = *this; 103 BOOST_FOREACH( CMethod *pMethod, methods )103 foreach( CMethod *pMethod, methods ) 104 104 { 105 105 delete pMethod; … … 122 122 //メソッドのオーバーライド 123 123 Methods &methods = *this; 124 BOOST_FOREACH( CMethod *pMethod, methods )124 foreach( CMethod *pMethod, methods ) 125 125 { 126 126 if( !pMethod->IsNotUse() && pMethod->GetUserProc().IsEqualForOverride( actualTypeParametersForThisMethods, pUserProc ) ) … … 145 145 { 146 146 const Methods &methods = *this; 147 BOOST_FOREACH( const CMethod *pMethod, methods ){147 foreach( const CMethod *pMethod, methods ){ 148 148 if( pMethod->GetUserProc().GetName() == name ) return true; 149 149 } … … 181 181 int count = 0; 182 182 const Methods &methods = *this; 183 BOOST_FOREACH( const CMethod *pMethod, methods )183 foreach( const CMethod *pMethod, methods ) 184 184 { 185 185 if( pMethod->IsVirtual() )
Note:
See TracChangeset
for help on using the changeset viewer.