MySQL 9.1.0
Source Code Documentation

Position of a triple cursor, for iterations using 3 nested loops. More...

#include <pfs_engine_table.h>

Inheritance diagram for PFS_triple_index:
[legend]

Public Member Functions

 PFS_triple_index (uint index_1, uint index_2, uint index_3)
 Constructor. More...
 
void set_at (uint index_1, uint index_2, uint index_3)
 Set this index at a given position. More...
 
void set_at (const PFS_triple_index *other)
 Set this index at a given position. More...
 
void set_after (const PFS_triple_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...
 
uint m_index_3
 Current index within index_2. More...
 

Detailed Description

Position of a triple cursor, for iterations using 3 nested loops.

Constructor & Destructor Documentation

◆ PFS_triple_index()

PFS_triple_index::PFS_triple_index ( uint  index_1,
uint  index_2,
uint  index_3 
)
inline

Constructor.

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

Member Function Documentation

◆ set_after()

void PFS_triple_index::set_after ( const PFS_triple_index other)
inline

Set this index after a given position.

Parameters
othera position

◆ set_at() [1/2]

void PFS_triple_index::set_at ( const PFS_triple_index other)
inline

Set this index at a given position.

Parameters
othera position

◆ set_at() [2/2]

void PFS_triple_index::set_at ( uint  index_1,
uint  index_2,
uint  index_3 
)
inline

Set this index at a given position.

Member Data Documentation

◆ m_index_1

uint PFS_triple_index::m_index_1

Outer index.

◆ m_index_2

uint PFS_triple_index::m_index_2

Current index within index_1.

◆ m_index_3

uint PFS_triple_index::m_index_3

Current index within index_2.


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