MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
NonStdNumTypeHelper< T > Struct Template Reference

#include <NdbTypesUtil.hpp>

Inheritance diagram for NonStdNumTypeHelper< T >:
Collaboration diagram for NonStdNumTypeHelper< T >:

Public Types

typedef NonStdNumTypeTraits< T >
::SignedT 
SignedT
typedef NonStdNumTypeTraits< 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 NonStdNumTypeTraits< T >
static T lowest ()
static T highest ()
- Static Public Member Functions inherited from NumTypeTraits< T >
static bool isIntegral ()
static bool isSigned ()
static Uint32 size ()
static T smallest ()

Detailed Description

template<typename T>
struct NonStdNumTypeHelper< T >

Basic Helper functions of non-standard NDB numeric types.

Unless distinct [U]Int24 value types are defined to represent these proper subsets of [U]Int32 numbers, the correspoding Helper classes need to be defined as separate types (not just mere specializations). This class only derives from the Traits class to avoid member access ambiguities resulting from multiple inheritance.

Definition at line 248 of file NdbTypesUtil.hpp.


The documentation for this struct was generated from the following file: