|
Jpp
|
Implementation of object iteration from STD container. More...
#include <JSTDObjectIterator.hh>
Public Types | |
| typedef JCategory< typename T::value_type, !JClass< typename T::reference >::is_constant >::value_type | value_type |
| typedef JRewindableObjectIterator< value_type >::pointer_type | pointer_type |
Public Member Functions | |
| JSTDObjectIterator () | |
| Default constructor. More... | |
| JSTDObjectIterator (T begin, T end) | |
| Constructor. More... | |
| virtual void | rewind () |
| Rewind. More... | |
| virtual bool | hasNext () |
| Check availability of next element. More... | |
| virtual const pointer_type & | next () |
| Get next element. More... | |
| virtual skip_type | skip (const skip_type ns) |
| Skip items. More... | |
Protected Attributes | |
| T | __begin |
| T | __end |
| T | __i |
Private Attributes | |
| pointer_type | ps |
Implementation of object iteration from STD container.
Definition at line 25 of file JSTDObjectIterator.hh.
| typedef JCategory<typename T::value_type, !JClass<typename T::reference>::is_constant>::value_type JLANG::JSTDObjectIterator< T >::value_type |
Definition at line 30 of file JSTDObjectIterator.hh.
| typedef JRewindableObjectIterator<value_type>::pointer_type JLANG::JSTDObjectIterator< T >::pointer_type |
Definition at line 31 of file JSTDObjectIterator.hh.
|
inline |
|
inline |
Constructor.
| begin | begin of data |
| end | end of data |
Definition at line 46 of file JSTDObjectIterator.hh.
|
inlinevirtual |
Rewind.
Implements JLANG::JRewindable< JCategory< T::value_type, !JClass< T::reference >::is_constant >::value_type >.
Definition at line 57 of file JSTDObjectIterator.hh.
|
inlinevirtual |
Check availability of next element.
Implements JLANG::JObjectIterator< JCategory< T::value_type, !JClass< T::reference >::is_constant >::value_type >.
Definition at line 68 of file JSTDObjectIterator.hh.
|
inlinevirtual |
Get next element.
Implements JLANG::JObjectIterator< JCategory< T::value_type, !JClass< T::reference >::is_constant >::value_type >.
Definition at line 79 of file JSTDObjectIterator.hh.
|
inlinevirtual |
Skip items.
| ns | number of items to skip |
Reimplemented from JLANG::JObjectIterator< JCategory< T::value_type, !JClass< T::reference >::is_constant >::value_type >.
Definition at line 96 of file JSTDObjectIterator.hh.
|
protected |
Definition at line 108 of file JSTDObjectIterator.hh.
|
protected |
Definition at line 109 of file JSTDObjectIterator.hh.
|
protected |
Definition at line 110 of file JSTDObjectIterator.hh.
|
private |
Definition at line 112 of file JSTDObjectIterator.hh.
1.8.16