69 restriction_(_restriction)
75 currentPos = currentPos->
next();
83 if (currentPos->
flags().contains(rest))
91 currentPos = currentPos->
next();
99 currentPos = currentPos->
next();
112 restriction_(_restriction)
143 currentPos = currentPos->
next();
151 if (currentPos->
flags().contains(rest))
159 currentPos = currentPos->
next();
166 currentPos = currentPos->
next();
181 std::cerr <<
"TODO :--" << std::endl;
BaseObjectIterator & operator=(const BaseObjectIterator &_rhs)
assign iterators
BaseObject * operator*()
dereference the iterator
BaseObjectIterator(IteratorRestriction _restriction=ALL_OBJECTS, DataType _dataType=DATA_ALL)
Use this constructor for iterating through your data.
DLLEXPORT BaseObjectIterator baseObjectsEnd()
Return Iterator to Object End.
bool dataType(DataType _type) const
pointer operator->()
dereference
BaseObjectIterator & operator--()
last element
BaseObject *& objectRoot()
Get the root of the object structure.
DataType dataType_
returned data types of the iterator
const DataType DATA_ALL(UINT_MAX)
Identifier for all available objects.
bool operator!=(const BaseObjectIterator &_rhs)
compare iterators
bool operator==(const BaseObjectIterator &_rhs)
compare iterators
QStringList IteratorRestriction
Iterable object range.
Core Data Iterator used to iterate over all objects (Including groups)
IteratorRestriction restriction_
Restriction of the iterator.
BaseObject * pos_
current position of the iterator
BaseObjectIterator & operator++()
next element