dastrie::doublearray5_traits Struct Reference
[DASTrie API]


Detailed Description

Attributes and operations for a double array (5 bytes/element).


Public Types

typedef int32_t base_type
 A type that represents an element of a base array.
typedef uint8_t check_type
 A type that represents an element of a check array.

Static Public Member Functions

static const char * chunk_id ()
 The chunk ID.
static base_type min_base ()
 Gets the minimum number of BASE values.
static base_type max_base ()
 Gets the maximum number of BASE values.
static element_type default_value ()
 The default value of an element.
static base_type get_base (const element_type &elem)
 Gets the BASE value of an element.
static check_type get_check (const element_type &elem)
 Gets the CHECK value of an element.
static void set_base (element_type &elem, base_type v)
 Sets the BASE value of an element.
static void set_check (element_type &elem, check_type v)
 Sets the CHECK value of an element.

Data Structures

struct  element_type
 A type that represents an element of a double array. More...


Copyright (c) 2002-2008 by Naoaki Okazaki
Mon Nov 10 12:28:35 2008