59 restriction_(_restriction)
163 std::cerr <<
"TODO :--" << std::endl;
183 _object = _object->
next();
186 while ( (_object !=
objectRoot()) && !dynamic_cast<BaseObjectData* > (_object) )
187 _object = _object->
next();
ObjectIterator & operator=(const ObjectIterator &_rhs)
assign iterators
const QStringList SOURCE_OBJECTS("source")
Iterable object range.
BaseObjectData * operator*()
dereference the iterator
bool dataType(DataType _type) const
IteratorRestriction restriction_
Restriction of the iterator.
const QStringList TARGET_OBJECTS("target")
Iterable object range.
QStringList IteratorRestriction
Iterable object range.
ObjectIterator & operator--()
last element
BaseObject *& objectRoot()
Get the root of the object structure.
DataType dataType_
returned data types of the iterator
bool operator==(const ObjectIterator &_rhs) const
compare iterators
BaseObjectData * pos_
current position of the iterator
bool operator!=(const ObjectIterator &_rhs) const
compare iterators
pointer operator->()
dereference
DLLEXPORT ObjectIterator objectsEnd()
Return Iterator to Object End.
ObjectIterator & operator++()
next element
ObjectIterator(IteratorRestriction _restriction=ALL_OBJECTS, DataType _dataType=DATA_ALL)
Use this constructor for iterating through your data.
const DataType DATA_ALL(UINT_MAX)
Identifier for all available objects.
void proceedToNextBaseObjectData(BaseObject *&_object)