MySQL 8.0.40
Source Code Documentation
Gis_read_stream Class Reference

#include <gstream.h>

Public Types

enum  enum_tok_types {
  unknown , eostream , word , numeric ,
  l_bra , r_bra , comma
}
 

Public Member Functions

 Gis_read_stream (THD *thd, const CHARSET_INFO *charset, const char *buffer, int size)
 
 Gis_read_stream ()
 
 ~Gis_read_stream ()
 
enum enum_tok_types get_next_toc_type ()
 
bool get_next_word (LEX_CSTRING *)
 
bool get_next_number (double *)
 
bool check_next_symbol (char)
 
bool is_end_of_stream ()
 
void skip_space ()
 
bool skip_char (char skip)
 
void set_error_msg (const char *msg)
 
char * get_error_msg ()
 
THDthd ()
 

Protected Attributes

const char * m_cur
 
const char * m_limit
 
char * m_err_msg
 
const CHARSET_INFOm_charset
 

Private Attributes

THDm_thd
 

Member Enumeration Documentation

◆ enum_tok_types

Enumerator
unknown 
eostream 
word 
numeric 
l_bra 
r_bra 
comma 

Constructor & Destructor Documentation

◆ Gis_read_stream() [1/2]

Gis_read_stream::Gis_read_stream ( THD thd,
const CHARSET_INFO charset,
const char *  buffer,
int  size 
)
inline

◆ Gis_read_stream() [2/2]

Gis_read_stream::Gis_read_stream ( )
inline

◆ ~Gis_read_stream()

Gis_read_stream::~Gis_read_stream ( )
inline

Member Function Documentation

◆ check_next_symbol()

bool Gis_read_stream::check_next_symbol ( char  symbol)

◆ get_error_msg()

char * Gis_read_stream::get_error_msg ( )
inline

◆ get_next_number()

bool Gis_read_stream::get_next_number ( double *  d)

◆ get_next_toc_type()

enum Gis_read_stream::enum_tok_types Gis_read_stream::get_next_toc_type ( )

◆ get_next_word()

bool Gis_read_stream::get_next_word ( LEX_CSTRING res)

◆ is_end_of_stream()

bool Gis_read_stream::is_end_of_stream ( )
inline

◆ set_error_msg()

void Gis_read_stream::set_error_msg ( const char *  msg)

◆ skip_char()

bool Gis_read_stream::skip_char ( char  skip)
inline

◆ skip_space()

void Gis_read_stream::skip_space ( )
inline

◆ thd()

THD * Gis_read_stream::thd ( )
inline

Member Data Documentation

◆ m_charset

const CHARSET_INFO* Gis_read_stream::m_charset
protected

◆ m_cur

const char* Gis_read_stream::m_cur
protected

◆ m_err_msg

char* Gis_read_stream::m_err_msg
protected

◆ m_limit

const char* Gis_read_stream::m_limit
protected

◆ m_thd

THD* Gis_read_stream::m_thd
private

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