My Project
Public Member Functions
Field_set Class Reference
Inheritance diagram for Field_set:
Field_enum Field_str Field

List of all members.

Public Member Functions

 Field_set (uchar *ptr_arg, uint32 len_arg, uchar *null_ptr_arg, uchar null_bit_arg, enum utype unireg_check_arg, const char *field_name_arg, uint32 packlength_arg, TYPELIB *typelib_arg, const CHARSET_INFO *charset_arg)
type_conversion_status store (const char *to, uint length, const CHARSET_INFO *charset)
type_conversion_status store (double nr)
type_conversion_status store (longlong nr, bool unsigned_val)
virtual bool zero_pack () const
Stringval_str (String *, String *)
void sql_type (String &str) const
enum_field_types real_type () const
bool has_charset (void) const
Field_setclone (MEM_ROOT *mem_root) const
Field_setclone () const

Member Function Documentation

Field_set* Field_set::clone ( MEM_ROOT *  mem_root) const [inline, virtual]

Makes a shallow copy of the Field object.

Note:
This member function must be overridden in all concrete subclasses. Several of the Field subclasses are concrete even though they are not leaf classes, so the compiler will not always catch this.
Parameters:
mem_rootMEM_ROOT to use for memory allocation.
Return values:
NULLIf memory allocation failed.

Reimplemented from Field_enum.

Field_set* Field_set::clone ( ) const [inline, virtual]

Makes a shallow copy of the Field object.

Note:
This member function must be overridden in all concrete subclasses. Several of the Field subclasses are concrete even though they are not leaf classes, so the compiler will not always catch this.
Return values:
NULLIf memory allocation failed.

Reimplemented from Field_enum.

type_conversion_status Field_set::store ( const char *  from,
uint  length,
const CHARSET_INFO *  cs 
) [virtual]
Note:
Storing a empty string in a enum field gives a warning (if there isn't a empty value in the enum)

Reimplemented from Field_enum.

type_conversion_status Field_set::store ( double  nr) [inline, virtual]

Store double value in Field_string or Field_varstring.

Pretty prints double number into field_length characters buffer.

Parameters:
nrnumber

Reimplemented from Field_enum.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines