MySQL 5.6.14 Source Code Document
|
#include <NdbTypesUtil.hpp>
Public Types | |
typedef NumTypeTraits< T >::SignedT | SignedT |
typedef NumTypeTraits< T > ::UnsignedT | UnsignedT |
Public Types inherited from NumTypeTraits< T > | |
typedef NumTypeMap< T >::DomainT | DomainT |
typedef NumTypeMap< T >::SignedT | SignedT |
typedef NumTypeMap< T >::UnsignedT | UnsignedT |
Static Public Member Functions | |
static SignedT | asSigned (T t) |
static UnsignedT | asUnsigned (T t) |
static void | load (T *t, const char *s) |
static void | store (char *t, const T *s) |
Static Public Member Functions inherited from NumTypeTraits< T > | |
static bool | isIntegral () |
static bool | isSigned () |
static Uint32 | size () |
static T | lowest () |
static T | highest () |
static T | smallest () |
Basic Helper functions for numeric NDB types.
As another design option, these helper functions could be defined as individual function templates, which'd allow for implicit function resolution based on the parameter type but, on the other hand, required distinct value types for all data (i.e., an Int24 value type).
Definition at line 208 of file NdbTypesUtil.hpp.