59 restriction_(_restriction)
163 std::cerr <<
"TODO :--" << std::endl;
183 _object = _object->
next();
186 while ( (_object !=
objectRoot()) && !dynamic_cast<BaseObjectData* > (_object) )
187 _object = _object->
next();
BaseObjectData * operator*()
dereference the iterator
bool operator!=(const ObjectIterator &_rhs) const
compare iterators
bool operator==(const ObjectIterator &_rhs) const
compare iterators
BaseObject *& objectRoot()
Get the root of the object structure.
const QStringList SOURCE_OBJECTS("source")
Iterable object range.
BaseObjectData * pos_
current position of the iterator
bool dataType(DataType _type) const
DLLEXPORT ObjectIterator objectsEnd()
Return Iterator to Object End.
IteratorRestriction restriction_
Restriction of the iterator.
ObjectIterator & operator--()
last element
QStringList IteratorRestriction
Iterable object range.
void proceedToNextBaseObjectData(BaseObject *&_object)
ObjectIterator & operator=(const ObjectIterator &_rhs)
assign iterators
ObjectIterator & operator++()
next element
const QStringList TARGET_OBJECTS("target")
Iterable object range.
DataType dataType_
returned data types of the iterator
ObjectIterator(IteratorRestriction _restriction=ALL_OBJECTS, DataType _dataType=DATA_ALL)
Use this constructor for iterating through your data.
const DataType DATA_ALL(UINT_MAX)
Identifier for all available objects.
pointer operator->()
dereference