14 #ifndef __INCLUDED__SCOPIRA_TOOL_ITERATOR_H__ 15 #define __INCLUDED__SCOPIRA_TOOL_ITERATOR_H__ 19 #include <scopira/tool/object.h> 48 virtual bool valid(
void)
const = 0;
50 virtual void next(
void) = 0;
64 virtual bool valid(
void)
const {
return false; }
66 virtual void next(
void) { }
92 : m_imp(src.m_imp) { }
99 return m_imp->current();
104 return m_imp->valid();
110 assert(!rhs.m_imp.get());
114 bool operator ==(
int x)
const {
120 assert(!rhs.m_imp.get());
124 bool operator !=(
int x)
const {
130 assert(m_imp->valid());
Definition: archiveflow.h:20