#include <item.h>
Public Member Functions |
| Item_name_string (const Name_string name) |
void | set_autogenerated (bool is_autogenerated) |
bool | is_autogenerated () const |
void | copy (const char *str_arg, size_t length_arg, const CHARSET_INFO *cs_arg, bool is_autogenerated_arg) |
| Name_string (const char *str, size_t length) |
| Name_string (const LEX_STRING str) |
| Name_string (const char *str, size_t length, bool is_null_terminated) |
| Name_string (const LEX_STRING str, bool is_null_terminated) |
void | copy (const char *str, size_t length, const CHARSET_INFO *cs) |
void | copy (const char *str, size_t length) |
void | copy (const char *str) |
void | copy (const LEX_STRING lex) |
void | copy (const LEX_STRING *lex) |
void | copy (const Name_string str) |
bool | eq (const char *str) const |
bool | eq_safe (const char *str) const |
bool | eq (const Name_string name) const |
bool | eq_safe (const Name_string name) const |
| Simple_cstring (const char *str_arg, size_t length_arg) |
| Simple_cstring (const LEX_STRING arg) |
void | reset () |
void | set (const char *str) |
const char * | ptr () const |
bool | is_set () const |
size_t | length () const |
bool | eq_bin (const Simple_cstring other) const |
void | strcpy (char *buff) const |
Additional Inherited Members |
void | set (const char *str_arg, size_t length_arg) |
Detailed Description
Storage for Item names. Adds "autogenerated" flag and warning functionality to Name_string.
Definition at line 251 of file item.h.
Member Function Documentation
void Item_name_string::copy |
( |
const char * |
str_arg, |
|
|
size_t |
length_arg, |
|
|
const CHARSET_INFO * |
cs_arg, |
|
|
bool |
is_autogenerated_arg |
|
) |
| |
Copy name together with autogenerated flag. Produce a warning if name was cut.
Definition at line 1006 of file item.cc.
bool Item_name_string::is_autogenerated |
( |
| ) |
const |
|
inline |
Return the auto-generated flag.
Definition at line 272 of file item.h.
void Item_name_string::set_autogenerated |
( |
bool |
is_autogenerated | ) |
|
|
inline |
Set m_is_autogenerated flag to the given value.
Definition at line 265 of file item.h.
The documentation for this class was generated from the following files: