Quick Links: |
#include <ball_attributecontainerlist.h>
Public Member Functions | |
AttributeContainerListIterator () | |
AttributeContainerListIterator (const AttributeContainerListIterator &original) | |
AttributeContainerListIterator (AttributeContainerList_Node *position) | |
AttributeContainerListIterator & | operator= (const AttributeContainerListIterator &rhs) |
AttributeContainerListIterator | operator++ (int) |
AttributeContainerListIterator | operator++ () |
const AttributeContainer * | operator* () const |
bool | valid () const |
Friends | |
class | AttributeContainerList |
bool | operator== (const AttributeContainerListIterator &, const AttributeContainerListIterator &) |
This class provides an STL-style iterator over a sequence of AttributeContainer
object addresses. The behavior of the operator*
method is undefined unless the iterator is at a valid position in the sequence of AttributeContainer
object addresses (i.e., not the "end") and the referenced element has not been removed since the iterator was constructed.
See Component ball_attributecontainerlist
ball::AttributeContainerListIterator::AttributeContainerListIterator | ( | ) |
Create an uninitialized iterator.
ball::AttributeContainerListIterator::AttributeContainerListIterator | ( | const AttributeContainerListIterator & | original | ) |
Create an iterator having the same value as the specified original
one.
ball::AttributeContainerListIterator::AttributeContainerListIterator | ( | AttributeContainerList_Node * | position | ) |
Create an iterator at the specified position
.
AttributeContainerListIterator& ball::AttributeContainerListIterator::operator= | ( | const AttributeContainerListIterator & | rhs | ) |
Assign this iterator the value of the specified rhs
and return a modifiable reference to this iterator.
AttributeContainerListIterator ball::AttributeContainerListIterator::operator++ | ( | int | ) |
Advance this iterator to the next attribute container in the list and return the value of this iterator. The behavior is undefined unless the iterator is at a valid position in the list.
AttributeContainerListIterator ball::AttributeContainerListIterator::operator++ | ( | ) |
Advance this iterator to the next attribute container in the list and return the value of the iterator prior to this method call. The behavior is undefined unless the iterator is at a valid position in the list.
const AttributeContainer* ball::AttributeContainerListIterator::operator* | ( | ) | const |
Return the address of the non-modifiable attribute container at which this iterator is positioned. The behavior is undefined unless this iterator is at a valid position in the list.
bool ball::AttributeContainerListIterator::valid | ( | ) | const |
Return true
if this iterator is at a valid position in the sequence of AttributeContainer
addresses and false
otherwise.
friend class AttributeContainerList [friend] |
bool operator== | ( | const AttributeContainerListIterator & | , | |
const AttributeContainerListIterator & | ||||
) | [friend] |
Return true
if the specified lhs
and the specified rhs
iterators have the same value and false
otherwise. Two iterators have the same value if they refer to the same position in the same list, or if both iterators are at an invalid position in the list (i.e., the "end" of the list, or the default constructed value).