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