From: <bl...@us...> - 2003-04-29 07:02:43
|
Update of /cvsroot/cpptool/rfta/src/rfta In directory sc8-pr-cvs1:/tmp/cvs-serv24415/src/rfta Modified Files: CodeModelStatements.cpp Log Message: * added enumerator to compound statement Index: CodeModelStatements.cpp =================================================================== RCS file: /cvsroot/cpptool/rfta/src/rfta/CodeModelStatements.cpp,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** CodeModelStatements.cpp 10 Apr 2003 08:37:50 -0000 1.18 --- CodeModelStatements.cpp 29 Apr 2003 07:02:39 -0000 1.19 *************** *** 8,11 **** --- 8,12 ---- #include <rfta/refactoring/CodeModelStatements.h> #include <rfta/refactoring/CodeModelVisitor.h> + #include <xtl/GetAtEnumerator.h> #include <stdexcept> *************** *** 69,72 **** --- 70,81 ---- return statementsTracker_.getAt( index ); } + + + Xtl::Enumerator<StatementPtr> + CompoundStatement::getStatements() const + { + return Xtl::enumGetAt( *this, &CompoundStatement::getStatementAt, 0, getStatementCount() ); + } + void |