MySQL 8.0.40
Source Code Documentation

Position of a double cursor, for iterations using 2 nested loops. More...

#include <pfs_engine_table.h>

Inheritance diagram for PFS_double_index:
[legend]

Public Member Functions

 PFS_double_index (uint index_1, uint index_2)
 Constructor. More...
 
void set_at (uint index_1, uint index_2)
 Set this index at a given position. More...
 
void set_at (const PFS_double_index *other)
 Set this index at a given position. More...
 
void set_after (const PFS_double_index *other)
 Set this index after a given position. More...
 

Public Attributes

uint m_index_1
 Outer index. More...
 
uint m_index_2
 Current index within index_1. More...
 

Detailed Description

Position of a double cursor, for iterations using 2 nested loops.

Constructor & Destructor Documentation

◆ PFS_double_index()

PFS_double_index::PFS_double_index ( uint  index_1,
uint  index_2 
)
inline

Constructor.

Parameters
index_1the first index initial value.
index_2the second index initial value.

Member Function Documentation

◆ set_after()

void PFS_double_index::set_after ( const PFS_double_index other)
inline

Set this index after a given position.

Parameters
othera position

◆ set_at() [1/2]

void PFS_double_index::set_at ( const PFS_double_index other)
inline

Set this index at a given position.

Parameters
othera position

◆ set_at() [2/2]

void PFS_double_index::set_at ( uint  index_1,
uint  index_2 
)
inline

Set this index at a given position.

Member Data Documentation

◆ m_index_1

uint PFS_double_index::m_index_1

Outer index.

◆ m_index_2

uint PFS_double_index::m_index_2

Current index within index_1.


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