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