Inheritance diagram for w_base_t:
Definition at line 255 of file w_base.h.
Public Types | |
typedef unsigned char | u_char |
typedef unsigned short | u_short |
typedef unsigned long | u_long |
typedef char | int1_t |
typedef u_char | uint1_t |
typedef short | int2_t |
typedef u_short | uint2_t |
typedef int | int4_t |
typedef u_int | uint4_t |
typedef uint8_t | large_stat_t |
typedef int4_t | base_stat_t |
typedef float | base_float_t |
typedef float | f4_t |
typedef double | f8_t |
enum | CompareOp |
Comparison Operators. | |
enum | lock_mode_t |
Lock modes for the Storage Manager. Note: Capital letters are used to match common usage in DB literature Note: Values MUST NOT CHANGE since order is significant. Locking. | |
enum | lock_duration_t |
Duration for locks Locking. | |
enum | vote_t |
Votes for two-phase commit.
| |
Static Public Member Functions | |
static size_t | pop_count (w_base_t::uint8_t bm) |
static bool | is_aligned (size_t sz) |
static bool | is_aligned (const void *s) |
static bool | is_big_endian () |
static bool | is_little_endian () |
static int8_t | strtoi8 (const char *, char **end=0, int base=0) |
Convert string to 8-byte integer. | |
static uint8_t | strtou8 (const char *, char **end=0, int base=0) |
Convert string to 8-byte unsigned integer. | |
static bool | is_finite (const f8_t x) |
static bool | is_infinite (const f8_t x) |
static bool | is_nan (const f8_t x) |
static bool | is_infinite_or_nan (const f8_t x) |
static void | assert_failed (const char *desc, const char *file, uint4_t line) |
print a message and abort | |
static void | abort () |
dump core | |
Static Public Attributes | |
static const int1_t | int1_max = 0x7f |
static const int1_t | int1_min = (w_base_t::int1_t) 0x80u |
static const int2_t | int2_max = 0x7fff |
static const int2_t | int2_min = (w_base_t::int2_t) 0x8000u |
static const int4_t | int4_max = 0x7fffffff |
static const int4_t | int4_min = 0x80000000 |
static const int8_t | int8_max |
static const int8_t | int8_min |
static const uint1_t | uint1_max = 0xff |
static const uint1_t | uint1_min = 0x0 |
static const uint2_t | uint2_max = 0xffff |
static const uint2_t | uint2_min = 0x0 |
static const uint4_t | uint4_max = 0xffffffff |
static const uint4_t | uint4_min = 0x0 |
static const uint8_t | uint8_max |
static const uint8_t | uint8_min |
Friends | |
ostream & | operator<< (ostream &o, const w_base_t &obj) |
standard streams |
w_base_t::int8_t w_base_t::strtoi8 | ( | const char * | , | |
char ** | end = 0 , |
|||
int | base = 0 | |||
) | [static] |
Convert string to 8-byte integer.
strtoi8 acts like strto[u]ll with the following two exceptions: the only bases supported are 0, 8, 10, 16; errno is not set
Definition at line 153 of file w_base.cpp.
Referenced by option_t::set_value_int8().
Here is the caller graph for this function:
w_base_t::uint8_t w_base_t::strtou8 | ( | const char * | , | |
char ** | end = 0 , |
|||
int | base = 0 | |||
) | [static] |
Convert string to 8-byte unsigned integer.
strtou8 acts like strto[u]ll with the following two exceptions: the only bases supported are 0, 8, 10, 16; errno is not set
Definition at line 167 of file w_base.cpp.