|
drizzle
C++ MySQL-protocol-compatible database server
|
Convert from decimal to binary representation. More...
Classes | |
| class | Decimal |
| class | IPv6 |
| class | Time |
| class | Uuid |
Typedefs | |
| typedef int64_t | datetime_t |
| typedef int64_t | date_t |
| typedef int64_t | epoch_t |
| typedef uint32_t | usec_t |
Functions | |
| const char * | convert (bool source, bool ansi_display) |
| void | convert (String &destination, bool source, bool ansi_display) |
| bool | convert (bool &destination, const char *source, const size_t source_length) |
| bool | convert (bool &destination, String &source) |
| bool | is_valid (datetime_t value) |
Convert from decimal to binary representation.
| [in] | mask | error processing mask |
| [in] | d | number for conversion |
| [out] | bin | pointer to buffer where to write result |
| [in] | prec | overall number of decimal digits |
| [in] | scale | number of decimal digits after decimal point |
| E_DEC_OK | |
| E_DEC_TRUNCATED | |
| E_DEC_OVERFLOW |
| typedef int64_t drizzled::type::date_t |
Definition at line 220 of file common_fwd.h.
| typedef int64_t drizzled::type::datetime_t |
Definition at line 219 of file common_fwd.h.
| typedef int64_t drizzled::type::epoch_t |
Definition at line 221 of file common_fwd.h.
| typedef uint32_t drizzled::type::usec_t |
Definition at line 222 of file common_fwd.h.
| enum drizzled::type::cut_t |
Definition at line 82 of file type/time.h.
| enum drizzled::type::timestamp_t |
Definition at line 76 of file type/time.h.
| bool drizzled::type::convert | ( | bool & | destination, |
| const char * | source, | ||
| const size_t | source_length ) |
Definition at line 45 of file type/boolean.cc.
| bool drizzled::type::convert | ( | bool & | destination, |
| String & | source ) |
Definition at line 104 of file type/boolean.cc.
| const char * drizzled::type::convert | ( | bool | source, |
| bool | ansi_display ) |
Definition at line 30 of file type/boolean.cc.
| void drizzled::type::convert | ( | String & | destination, |
| bool | source, | ||
| bool | ansi_display ) |
Definition at line 37 of file type/boolean.cc.
|
inline |
Definition at line 93 of file type/time.h.