BDE 4.14.0 Production release
Loading...
Searching...
No Matches
balb::PerformanceMonitor::ConstIterator Class Reference

#include <balb_performancemonitor.h>

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 ()
 Create an instance of this class having an invalid value.
 
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 balb_performancemonitor

Member Typedef Documentation

◆ difference_type

Defines a type alias for the type of the result of the difference between the addresses of two value types.

◆ iterator_category

Defines a type alias for the tag type that represents the iterator concept this class models.

◆ pointer

Defines a type alias for a pointer to this iterator's value type.

◆ reference

Defines a type alias for a reference to this iterator's value type.

◆ value_type

Defines a type alias for the type of the result of dereferencing this iterator.

Constructor & Destructor Documentation

◆ ConstIterator()

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

Member Function Documentation

◆ operator!=()

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

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.

◆ operator*()

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

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

◆ operator++() [1/2]

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

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.

◆ operator++() [2/2]

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

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.

◆ operator->()

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

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

◆ operator==()

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

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.

Friends And Related Symbol Documentation

◆ PerformanceMonitor

friend class PerformanceMonitor
friend

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