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