Skip to content

File chartype.c

FileList > base > chartype.c

Go to the source code of this file

  • #include "config.h"
  • #include "chartype.h"
  • #include "memory_wrapper.hpp"

Public Attributes

Type Name
const unsigned char * char_lower_mapper_ptr = [**char\_lower\_mapper**](chartype_8c.md#variable-char_lower_mapper)
const char_type_prop * char_properties_ptr = [**char\_properties**](chartype_8c.md#variable-char_properties)
const unsigned char * char_upper_mapper_ptr = [**char\_upper\_mapper**](chartype_8c.md#variable-char_upper_mapper)
const unsigned char * iso8859_lower_mapper_ptr = [**iso8859\_lower\_mapper**](chartype_8c.md#variable-iso8859_lower_mapper)
const unsigned char * iso8859_upper_mapper_ptr = [**iso8859\_upper\_mapper**](chartype_8c.md#variable-iso8859_upper_mapper)

Public Static Attributes

Type Name
const int A_GRAVE_ACCENT = 192
const int CAPITAL_THORN = 222
const int DIV_ISO8859 = 247
const int MULT_ISO8859 = 215
const int SMALL_THORN = 254
const int a_GRAVE_ACCENT = 224
const unsigned char char_lower_mapper = /* multi line expression */
const char_type_prop char_properties = /* multi line expression */
const unsigned char char_upper_mapper = /* multi line expression */
const unsigned char iso8859_lower_mapper = /* multi line expression */
const unsigned char iso8859_upper_mapper = /* multi line expression */

Public Functions

Type Name
char * trim (char * str)

Macros

Type Name
define CP_HDGT ([**CHAR\_PROP\_DIGIT**](chartype_8h.md#define-char_prop_digit) \| [**CHAR\_PROP\_HEXNUM**](chartype_8h.md#define-char_prop_hexnum))
define CP_HLWR ([**CHAR\_PROP\_LOWER**](chartype_8h.md#define-char_prop_lower) \| [**CHAR\_PROP\_HEXNUM**](chartype_8h.md#define-char_prop_hexnum))
define CP_HUPR ([**CHAR\_PROP\_UPPER**](chartype_8h.md#define-char_prop_upper) \| [**CHAR\_PROP\_HEXNUM**](chartype_8h.md#define-char_prop_hexnum))
define CP_LEXT ([**CHAR\_PROP\_ISO8859\_LOWER**](chartype_8h.md#define-char_prop_iso8859_lower))
define CP_LWR ([**CHAR\_PROP\_LOWER**](chartype_8h.md#define-char_prop_lower))
define CP_NLCL ([**CHAR\_PROP\_SPACE**](chartype_8h.md#define-char_prop_space) \| [**CHAR\_PROP\_EOL**](chartype_8h.md#define-char_prop_eol))
define CP_NONE ([**CHAR\_PROP\_NONE**](chartype_8h.md#define-char_prop_none))
define CP_SPC ([**CHAR\_PROP\_SPACE**](chartype_8h.md#define-char_prop_space))
define CP_UEXT ([**CHAR\_PROP\_ISO8859\_UPPER**](chartype_8h.md#define-char_prop_iso8859_upper))
define CP_UPR ([**CHAR\_PROP\_UPPER**](chartype_8h.md#define-char_prop_upper))

Public Attributes Documentation

variable char_lower_mapper_ptr

const unsigned char* char_lower_mapper_ptr;

variable char_properties_ptr

const char_type_prop* char_properties_ptr;

variable char_upper_mapper_ptr

const unsigned char* char_upper_mapper_ptr;

variable iso8859_lower_mapper_ptr

const unsigned char* iso8859_lower_mapper_ptr;

variable iso8859_upper_mapper_ptr

const unsigned char* iso8859_upper_mapper_ptr;

Public Static Attributes Documentation

variable A_GRAVE_ACCENT

const int A_GRAVE_ACCENT;

variable CAPITAL_THORN

const int CAPITAL_THORN;

variable DIV_ISO8859

const int DIV_ISO8859;

variable MULT_ISO8859

const int MULT_ISO8859;

variable SMALL_THORN

const int SMALL_THORN;

variable a_GRAVE_ACCENT

const int a_GRAVE_ACCENT;

variable char_lower_mapper

const unsigned char char_lower_mapper[256];

variable char_properties

const char_type_prop char_properties[256];

variable char_upper_mapper

const unsigned char char_upper_mapper[256];

variable iso8859_lower_mapper

const unsigned char iso8859_lower_mapper[256];

variable iso8859_upper_mapper

const unsigned char iso8859_upper_mapper[256];

Public Functions Documentation

function trim

char * trim (
    char * str
) 

Macro Definition Documentation

define CP_HDGT

#define CP_HDGT `( CHAR_PROP_DIGIT | CHAR_PROP_HEXNUM )`

define CP_HLWR

#define CP_HLWR `( CHAR_PROP_LOWER | CHAR_PROP_HEXNUM )`

define CP_HUPR

#define CP_HUPR `( CHAR_PROP_UPPER | CHAR_PROP_HEXNUM )`

define CP_LEXT

#define CP_LEXT `( CHAR_PROP_ISO8859_LOWER )`

define CP_LWR

#define CP_LWR `( CHAR_PROP_LOWER )`

define CP_NLCL

#define CP_NLCL `( CHAR_PROP_SPACE | CHAR_PROP_EOL )`

define CP_NONE

#define CP_NONE `( CHAR_PROP_NONE )`

define CP_SPC

#define CP_SPC `( CHAR_PROP_SPACE )`

define CP_UEXT

#define CP_UEXT `( CHAR_PROP_ISO8859_UPPER )`

define CP_UPR

#define CP_UPR `( CHAR_PROP_UPPER )`


The documentation for this class was generated from the following file cubrid/src/base/chartype.c