MySQL 8.3.0
Source Code Documentation

Position of a cursor, for simple iterations. More...

#include <pfs_engine_table.h>

Inheritance diagram for PFS_simple_index:
[legend]

Public Member Functions

 PFS_simple_index (uint index)
 Constructor. More...
 
void set_at (uint index)
 Set this index at a given position. More...
 
void set_at (const PFS_simple_index *other)
 Set this index at a given position. More...
 
void set_after (const PFS_simple_index *other)
 Set this index after a given position. More...
 
void next ()
 Set this index to the next record. More...
 

Public Attributes

uint m_index
 Current row index. More...
 

Detailed Description

Position of a cursor, for simple iterations.

Constructor & Destructor Documentation

◆ PFS_simple_index()

PFS_simple_index::PFS_simple_index ( uint  index)
inline

Constructor.

Parameters
indexthe index initial value.

Member Function Documentation

◆ next()

void PFS_simple_index::next ( void  )
inline

Set this index to the next record.

◆ set_after()

void PFS_simple_index::set_after ( const PFS_simple_index other)
inline

Set this index after a given position.

Parameters
othera position

◆ set_at() [1/2]

void PFS_simple_index::set_at ( const PFS_simple_index other)
inline

Set this index at a given position.

Parameters
othera position

◆ set_at() [2/2]

void PFS_simple_index::set_at ( uint  index)
inline

Set this index at a given position.

Parameters
indexan index

Member Data Documentation

◆ m_index

uint PFS_simple_index::m_index

Current row index.


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