00001 // -*- c++ -*- 00002 //***************************************************************************** 00051 //***************************************************************************** 00052 00053 // include basic definitions 00054 #include "CCuddNavigator.h" 00055 00056 #ifndef CCuddLastIter_h_ 00057 #define CCuddLastIter_h_ 00058 00059 BEGIN_NAMESPACE_PBORI 00060 00067 class CCuddLastIter : 00068 public CCuddNavigator { 00069 00070 public: 00072 typedef std::forward_iterator_tag iterator_category; 00073 00075 typedef CCuddLastIter self; 00076 00078 typedef CCuddNavigator base; 00079 00081 CCuddLastIter(): base() {} 00082 CCuddLastIter(pointer_type ptr); 00083 00085 CCuddLastIter(const self&); 00086 00088 ~CCuddLastIter(); 00089 00091 self& operator++(); 00092 00094 self operator++(int); 00095 00096 protected: 00098 void terminateConstant(); 00099 }; 00100 00101 00102 END_NAMESPACE_PBORI 00103 00104 #endif