Skip to content

File chartype.h

FileList > base > chartype.h

Go to the source code of this file

  • #include <assert.h>

Public Types

Type Name
typedef unsigned char char_type_prop

Public Attributes

Type Name
const unsigned char * char_lower_mapper_ptr
const char_type_prop * char_properties_ptr
const unsigned char * char_upper_mapper_ptr
const unsigned char * iso8859_lower_mapper_ptr
const unsigned char * iso8859_upper_mapper_ptr

Public Functions

Type Name
int char_isalnum (int c)
int char_isalpha (int c)
int char_isdigit (int c)
int char_iseol (int c)
int char_islower (int c)
int char_islower_iso8859 (int c)
int char_isspace (int c)
int char_isupper (int c)
int char_isupper_iso8859 (int c)
int char_isxdigit (int c)
int char_tolower (int c)
int char_tolower_iso8859 (int c)
int char_toupper (int c)
int char_toupper_iso8859 (int c)
char * trim (char * str)

Macros

Type Name
define CHAR_PROP_ALPHA ([**CHAR\_PROP\_UPPER**](chartype_8h.md#define-char_prop_upper) \| [**CHAR\_PROP\_LOWER**](chartype_8h.md#define-char_prop_lower)) /\* Alphabetic. \*/
define CHAR_PROP_ALPHA_NUM ([**CHAR\_PROP\_ALPHA**](chartype_8h.md#define-char_prop_alpha) \| [**CHAR\_PROP\_DIGIT**](chartype_8h.md#define-char_prop_digit)) /\* [**Alpha**](broker__monitor_8c.md#function-timeout)-[**Numeric**](broker__monitor_8c.md#function-timeout) \*/
define CHAR_PROP_DIGIT (0x04) /\* Numeric. \*/
define CHAR_PROP_EOL (0x20) /\* \r \n \*/
define CHAR_PROP_HEXNUM (0x10) /\* 0~9, [**a~f**](broker__monitor_8c.md#function-timeout), [**A~F**](broker__monitor_8c.md#function-timeout) \*/
define CHAR_PROP_ISO8859_LOWER (0x80)
define CHAR_PROP_ISO8859_UPPER (0x40)
define CHAR_PROP_LOWER (0x02) /\* lowercase. \*/
define CHAR_PROP_NONE (0x00)
define CHAR_PROP_SPACE (0x08) /\* [**space**](broker__monitor_8c.md#function-timeout), \[**t**](broker__monitor_8c.md#function-timeout) \n \r \f \v \*/
define CHAR_PROP_UPPER (0x01) /\* uppercase. \*/
define char_isspace2 [**char\_isspace**](chartype_8h.md#function-char_isspace)

Public Types Documentation

typedef char_type_prop

typedef unsigned char char_type_prop;

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 Functions Documentation

function char_isalnum

inline int char_isalnum (
    int c
) 

function char_isalpha

inline int char_isalpha (
    int c
) 

function char_isdigit

inline int char_isdigit (
    int c
) 

function char_iseol

inline int char_iseol (
    int c
) 

function char_islower

inline int char_islower (
    int c
) 

function char_islower_iso8859

inline int char_islower_iso8859 (
    int c
) 

function char_isspace

inline int char_isspace (
    int c
) 

function char_isupper

inline int char_isupper (
    int c
) 

function char_isupper_iso8859

inline int char_isupper_iso8859 (
    int c
) 

function char_isxdigit

inline int char_isxdigit (
    int c
) 

function char_tolower

inline int char_tolower (
    int c
) 

function char_tolower_iso8859

inline int char_tolower_iso8859 (
    int c
) 

function char_toupper

inline int char_toupper (
    int c
) 

function char_toupper_iso8859

inline int char_toupper_iso8859 (
    int c
) 

function trim

char * trim (
    char * str
) 

Macro Definition Documentation

define CHAR_PROP_ALPHA

#define CHAR_PROP_ALPHA `( CHAR_PROP_UPPER | CHAR_PROP_LOWER )  /* Alphabetic.  */`

define CHAR_PROP_ALPHA_NUM

#define CHAR_PROP_ALPHA_NUM `( CHAR_PROP_ALPHA | CHAR_PROP_DIGIT )  /* Alpha - Numeric */`

define CHAR_PROP_DIGIT

#define CHAR_PROP_DIGIT `(0x04) /* Numeric.    */`

define CHAR_PROP_EOL

#define CHAR_PROP_EOL `(0x20)   /* \r \n  */`

define CHAR_PROP_HEXNUM

#define CHAR_PROP_HEXNUM `(0x10)    /* 0~9, a~f , A~F */`

define CHAR_PROP_ISO8859_LOWER

#define CHAR_PROP_ISO8859_LOWER `(0x80)`

define CHAR_PROP_ISO8859_UPPER

#define CHAR_PROP_ISO8859_UPPER `(0x40)`

define CHAR_PROP_LOWER

#define CHAR_PROP_LOWER `(0x02) /* lowercase.  */`

define CHAR_PROP_NONE

#define CHAR_PROP_NONE `(0x00)`

define CHAR_PROP_SPACE

#define CHAR_PROP_SPACE `(0x08) /* space , \ t \n \r \f \v */`

define CHAR_PROP_UPPER

#define CHAR_PROP_UPPER `(0x01) /* uppercase.  */`

define char_isspace2

#define char_isspace2 `char_isspace`


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