MySQL 8.4.2
Source Code Documentation
Row< T > Class Template Reference

A row of result or a row of metadata A row is a collection of Column values or Column metadata. More...

#include <protocol_local_v2.h>

Public Member Functions

const T & operator[] (const unsigned int column_index) const
 
T * get_column (const unsigned int column_index) const
 
size_t size () const
 
 Row (T *column_array_arg, size_t column_count_arg)
 
T * get_column_array ()
 

Private Attributes

T * m_column_array
 
size_t m_column_count
 

Detailed Description

template<typename T>
class Row< T >

A row of result or a row of metadata A row is a collection of Column values or Column metadata.

Template Parameters
Ttype of the result set

Constructor & Destructor Documentation

◆ Row()

template<typename T >
Row< T >::Row ( T *  column_array_arg,
size_t  column_count_arg 
)
inline

Member Function Documentation

◆ get_column()

template<typename T >
T * Row< T >::get_column ( const unsigned int  column_index) const
inline

◆ get_column_array()

template<typename T >
T * Row< T >::get_column_array ( )
inline

◆ operator[]()

template<typename T >
const T & Row< T >::operator[] ( const unsigned int  column_index) const
inline

◆ size()

template<typename T >
size_t Row< T >::size ( ) const
inline

Member Data Documentation

◆ m_column_array

template<typename T >
T* Row< T >::m_column_array
private

◆ m_column_count

template<typename T >
size_t Row< T >::m_column_count
private

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