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;
bool operator==(const BaseObjectIterator &_rhs)
compare iterators
BaseObjectIterator & operator=(const BaseObjectIterator &_rhs)
assign iterators
BaseObject *& objectRoot()
Get the root of the object structure.
bool dataType(DataType _type) const
BaseObject * operator*()
dereference the iterator
bool operator!=(const BaseObjectIterator &_rhs)
compare iterators
pointer operator->()
dereference
Core Data Iterator used to iterate over all objects (Including groups)
BaseObjectIterator(IteratorRestriction _restriction=ALL_OBJECTS, DataType _dataType=DATA_ALL)
Use this constructor for iterating through your data.
IteratorRestriction restriction_
Restriction of the iterator.
QStringList IteratorRestriction
Iterable object range.
BaseObject * pos_
current position of the iterator
BaseObjectIterator & operator--()
last element
BaseObjectIterator & operator++()
next element
DLLEXPORT BaseObjectIterator baseObjectsEnd()
Return Iterator to Object End.
DataType dataType_
returned data types of the iterator
const DataType DATA_ALL(UINT_MAX)
Identifier for all available objects.