Quick Links:

bal | bbl | bdl | bsl

Public Member Functions | Friends

ball::AttributeContainerListIterator Class Reference

#include <ball_attributecontainerlist.h>

List of all members.

Public Member Functions

 AttributeContainerListIterator ()
 AttributeContainerListIterator (const AttributeContainerListIterator &original)
 AttributeContainerListIterator (AttributeContainerList_Node *position)
AttributeContainerListIteratoroperator= (const AttributeContainerListIterator &rhs)
AttributeContainerListIterator operator++ (int)
AttributeContainerListIterator operator++ ()
const AttributeContaineroperator* () const
bool valid () const

Friends

class AttributeContainerList
bool operator== (const AttributeContainerListIterator &, const AttributeContainerListIterator &)

Detailed Description

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


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


Friends And Related Function Documentation

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).


The documentation for this class was generated from the following file: