BDE 4.14.0 Production release
|
#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 Statistics * | pointer |
typedef const Statistics & | reference |
Public Member Functions | |
ConstIterator () | |
Create an instance of this class having an invalid value. | |
ConstIterator & | operator++ () |
ConstIterator | operator++ (int) |
reference | operator* () const |
pointer | operator-> () const |
bool | operator== (const ConstIterator &rhs) const |
bool | operator!= (const ConstIterator &rhs) const |
Friends | |
class | PerformanceMonitor |
Provide a mechanism that models the "Forward Iterator" concept over a collection of non-modifiable performance statistics.
typedef bsl::ptrdiff_t balb::PerformanceMonitor::ConstIterator::difference_type |
Defines a type alias for the type of the result of the difference between the addresses of two value types.
typedef bsl::forward_iterator_tag balb::PerformanceMonitor::ConstIterator::iterator_category |
Defines a type alias for the tag type that represents the iterator concept this class models.
typedef const Statistics* balb::PerformanceMonitor::ConstIterator::pointer |
Defines a type alias for a pointer to this iterator's value type.
typedef const Statistics& balb::PerformanceMonitor::ConstIterator::reference |
Defines a type alias for a reference to this iterator's value type.
Defines a type alias for the type of the result of dereferencing this iterator.
|
inline |
|
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.
|
inline |
Return a reference to the non-modifiable value type of this iterator.
|
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.
|
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.
|
inline |
Return a reference to the non-modifiable value type of this iterator.
|
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.
|
friend |