MySQL 8.4.2
Source Code Documentation
meter_iterator Class Reference

Public Member Functions

bool init (uint start=0)
 Create meter iterator. More...
 
bool next ()
 Advance meter iterator to next value. More...
 
PFS_meter_classget_current () const
 

Private Attributes

uint m_meter_idx {0}
 

Member Function Documentation

◆ get_current()

PFS_meter_class * meter_iterator::get_current ( ) const
inline

◆ init()

bool meter_iterator::init ( uint  start = 0)
inline

Create meter iterator.

Sets the iterator to the first matching element (if any) or at eof.

Parameters
startstart position within the meter array
Return values
false: found
true: not found or error initializing

◆ next()

bool meter_iterator::next ( void  )
inline

Advance meter iterator to next value.

Sets the iterator to the next matching element (if any) or at eof.

Return values
false: found
true: not found

Member Data Documentation

◆ m_meter_idx

uint meter_iterator::m_meter_idx {0}
private

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