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