![]() |
Home · Modules · Classes · Namespaces · Functions |
The QxtBdbTreeIterator class provides a tree iterator on QxtBdbtree More...
#include <QxtBdbTreeIterator>
The QxtBdbTreeIterator class provides a tree iterator on QxtBdbtree
TODO: {implicitshared}
See also QxtBdbTree.
Constructs an invalid QxtBdbTreeIterator
It's an error to use this to iterate, access data, etc..
Copies the other iterator.
The underlying cursor is duped, meaning the position will be copied, but the copy can be used independently.
Destructs the iterator.
The underlying cursors will be closed.
Appends an item to the children of this one, and returns an iterator to it. If insertion fails, an invalid iterator is returned.
Returns the first child of this item, or an invalid QxtBdbTreeIterator if there are none.
TODO returns
TODO
Returns true if the iterator seems to point to a valid location.
Calls to value() might fail anyway (but not crash), in case of concurrent access. If you want to be 100% sure value() will return valid data, while using multiple threads, then you have to track changes yourself.
TODO returns
Returns the next sibling of this item, or an invalid QxtBdbTreeIterator if this is the last one.
Returns the parent of this item, or an invalid QxtBdbTreeIterator if this is the root item.
TODO t
Returns the previous sibling of this item, or an invalid QxtBdbTreeIterator if this is the last one.
TODO value
See also value().
Returns the value, the iterator is currently pointing to. It is an error to call value() when isValid() returns false. In case an database error ocures, like the item been deleted, value() will return a default constructed T.
See also setValue().
See also value().
Returns an iterator, j items next to this one. If there is no such item, the returned iterator is invalid.
See also next().
This prefix operator increments the item by one. If there are no more items, the iterator becomes invalid.
This postfix operator makes a copy of the item, then increments itself and returns the copy. If there are no more items, the iterator becomes invalid.
Increments the item by j. If there are no more items, the iterator becomes invalid.
Returns an iterator, j previous next to this one. If there is no such item, the returnediterator is invalid.
See also previous().
This prefix operator decrements the item by one. If there are no more items, the iterator becomes invalid.
This postfix operator makes a copy of the item, then decrements itself and returns the copy. If there are no more items, the iterator becomes invalid.
Decrements the item by j. If there are no more items, the iterator becomes invalid.
Copies the other iterator.
The underlying cursor is duped, meaning the position will be copied, but the copy can be used independently
Copyright © 2007-2010 Qxt Foundation |
Qxt 0.6.1 |