Changeset 2921 for trunk/src/python_Iterator.cpp
- Timestamp:
- 04/07/14 10:28:37 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/python_Iterator.cpp
r2580 r2921 11 11 12 12 void python_Iterator() { 13 class_<STIdxIter Acc>("iterator")13 class_<STIdxIter2>("iterator") 14 14 .def( init < const string &, const vector<string> & > () ) 15 .def("current", &STIdxIterAcc::currentSTL) 16 .def("pastEnd", &STIdxIterAcc::pastEnd) 17 .def("next", &STIdxIterAcc::next) 18 .def("getrows", &STIdxIterAcc::getRowsSTL) 15 #ifdef HAVE_LIBPYRAP 16 .def("current", &STIdxIter2::currentValue) 17 #endif 18 .def("pastEnd", &STIdxIter2::pastEnd) 19 .def("next", &STIdxIter2::next) 20 .def("getrows", &STIdxIter2::getRowsSTL) 19 21 ; 20 22 };
Note: See TracChangeset
for help on using the changeset viewer.