My Project
|
#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) |
Storage for Item names. Adds "autogenerated" flag and warning functionality to Name_string.
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.
bool Item_name_string::is_autogenerated | ( | ) | const [inline] |
Return the auto-generated flag.
void Item_name_string::set_autogenerated | ( | bool | is_autogenerated | ) | [inline] |
Set m_is_autogenerated flag to the given value.