Quick Links:

bal | bbl | bdl | bsl

Public Types | Public Member Functions | Friends

balb::PerformanceMonitor::ConstIterator Class Reference

#include <balb_performancemonitor.h>

List of all members.

Public Types

typedef bsl::forward_iterator_tag iterator_category
typedef Statistics value_type
typedef bsl::ptrdiff_t difference_type
typedef const Statisticspointer
typedef const Statisticsreference

Public Member Functions

 ConstIterator ()
ConstIteratoroperator++ ()
ConstIterator operator++ (int)
reference operator* () const
pointer operator-> () const
bool operator== (const ConstIterator &rhs) const
bool operator!= (const ConstIterator &rhs) const

Friends

class PerformanceMonitor

Detailed Description

Provide a mechanism that models the "Forward Iterator" concept over a collection of non-modifiable performance statistics.

See Component balb_performancemonitor


Member Typedef Documentation


Constructor & Destructor Documentation

balb::PerformanceMonitor::ConstIterator::ConstIterator (  ) 

Create an instance of this class having an invalid value.


Member Function Documentation

ConstIterator& balb::PerformanceMonitor::ConstIterator::operator++ (  ) 

Advance this iterator to refer to the next collection of statistics for a monitored pid and return a reference to the modifiable value type of this iterator. If there is no next collection of statistics, this iterator will be set equal to end(). The behavior of this function is undefined unless this iterator is dereferenceable.

ConstIterator balb::PerformanceMonitor::ConstIterator::operator++ ( int   ) 

Advance this iterator to refer to the next collection of statistics for a monitored pid and return the iterator pointing to the previous modifiable value type. If there is no next collection of statistics, this iterator will be set equal to end(). The behavior of this function is undefined unless this iterator is dereferenceable.

reference balb::PerformanceMonitor::ConstIterator::operator* (  )  const

Return a reference to the non-modifiable value type of this iterator.

pointer balb::PerformanceMonitor::ConstIterator::operator-> (  )  const

Return a reference to the non-modifiable value type of this iterator.

bool balb::PerformanceMonitor::ConstIterator::operator== ( const ConstIterator rhs  )  const

Return true if the specified rhs iterator points to the same instance of the iterator's value type as "this" iterator, and false otherwise. The behavior of this function is undefined unless the rhs iterator and "this" iterator both iterate over the same collection of Statistics.

bool balb::PerformanceMonitor::ConstIterator::operator!= ( const ConstIterator rhs  )  const

Return true if the specified rhs iterator does not point to the same instance of the iterator's value type as "this" iterator, and false otherwise. The behavior of this function is undefined unless the rhs iterator and "this" iterator both iterate over the same collection of Statistics.


Friends And Related Function Documentation

friend class PerformanceMonitor [friend]

grant access to the private


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