drizzle
C++ MySQL-protocol-compatible database server
Loading...
Searching...
No Matches
drizzled::TYPELIB Class Reference

Public Types

enum  e_find_options { e_none = 0 , e_match_full = 1 , e_dont_complete = 2 , e_default = 3 }

Public Member Functions

TYPELIB * copy_typelib (memory::Root &) const
int find_type_or_exit (const char *, const char *option) const
int find_type (const char *, e_find_options) const
const char * get_type (unsigned int nr) const
uint64_t find_set (const char *x, uint32_t length, const charset_info_st *, char **err_pos, uint32_t *err_len, bool *set_warning) const
uint32_t find_type (const char *find, uint32_t length, bool part_match) const
uint32_t find_type2 (const char *find, uint32_t length, const charset_info_st *) const

Public Attributes

unsigned int count
const char * name
const char ** type_names
unsigned int * type_lengths

Detailed Description

Definition at line 23 of file typelib.h.

Member Enumeration Documentation

◆ e_find_options

enum drizzled::TYPELIB::e_find_options

Definition at line 26 of file typelib.h.

Member Function Documentation

◆ copy_typelib()

TYPELIB * drizzled::TYPELIB::copy_typelib ( memory::Root & root) const

Definition at line 121 of file typelib.cc.

◆ find_type() [1/2]

int drizzled::TYPELIB::find_type ( const char * x,
e_find_options full_name ) const

Definition at line 73 of file typelib.cc.

◆ find_type() [2/2]

uint32_t drizzled::TYPELIB::find_type ( const char * find,
uint32_t length,
bool part_match ) const

Definition at line 40 of file strfunc.cc.

◆ find_type2()

uint32_t drizzled::TYPELIB::find_type2 ( const char * find,
uint32_t length,
const charset_info_st * cs ) const

Definition at line 80 of file strfunc.cc.

◆ find_type_or_exit()

int drizzled::TYPELIB::find_type_or_exit ( const char * x,
const char * option ) const

Definition at line 31 of file typelib.cc.

Member Data Documentation

◆ count

unsigned int drizzled::TYPELIB::count

Definition at line 45 of file typelib.h.

◆ name

const char* drizzled::TYPELIB::name

Definition at line 46 of file typelib.h.

◆ type_lengths

unsigned int* drizzled::TYPELIB::type_lengths

Definition at line 48 of file typelib.h.

◆ type_names

const char** drizzled::TYPELIB::type_names

Definition at line 47 of file typelib.h.


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