Back to index

lightning-sunbird  0.9+nobinonly
Defines | Variables
morkCh.h File Reference
#include "mork.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define morkCh_kW   (1 << 0)
#define morkCh_kD   (1 << 1)
#define morkCh_kV   (1 << 2)
#define morkCh_kU   (1 << 3)
#define morkCh_kL   (1 << 4)
#define morkCh_kX   (1 << 5)
#define morkCh_kN   (1 << 6)
#define morkCh_kM   (1 << 7)
#define morkCh_IsDigit(c)   ( ((mork_ch) c) >= '0' && ((mork_ch) c) <= '9' )
#define morkCh_IsOctal(c)   ( ((mork_ch) c) >= '0' && ((mork_ch) c) <= '7' )
#define morkCh_IsHex(c)   ( morkCh_Type[ (mork_ch)(c) ] & morkCh_kX )
#define morkCh_IsValue(c)   ( morkCh_Type[ (mork_ch)(c) ] & morkCh_kV )
#define morkCh_IsWhite(c)   ( morkCh_Type[ (mork_ch)(c) ] & morkCh_kW )
#define morkCh_IsName(c)   ( morkCh_Type[ (mork_ch)(c) ] & morkCh_kN )
#define morkCh_IsMore(c)   ( morkCh_Type[ (mork_ch)(c) ] & morkCh_kM )
#define morkCh_IsAlpha(c)   ( morkCh_Type[ (mork_ch)(c) ] & (morkCh_kL|morkCh_kU) )
#define morkCh_IsAlphaNum(c)   (morkCh_Type[ (mork_ch)(c) ]&(morkCh_kL|morkCh_kU|morkCh_kD))
#define morkCh_GetFlags(c)   ( morkCh_Type[ (mork_ch)(c) ] )
#define morkFlags_IsDigit(f)   ( (f) & morkCh_kD )
#define morkFlags_IsHex(f)   ( (f) & morkCh_kX )
#define morkFlags_IsValue(f)   ( (f) & morkCh_kV )
#define morkFlags_IsWhite(f)   ( (f) & morkCh_kW )
#define morkFlags_IsName(f)   ( (f) & morkCh_kN )
#define morkFlags_IsMore(f)   ( (f) & morkCh_kM )
#define morkFlags_IsAlpha(f)   ( (f) & (morkCh_kL|morkCh_kU) )
#define morkFlags_IsAlphaNum(f)   ( (f) & (morkCh_kL|morkCh_kU|morkCh_kD) )
#define morkFlags_IsUpper(f)   ( (f) & morkCh_kU )
#define morkFlags_IsLower(f)   ( (f) & morkCh_kL )
#define morkCh_IsAscii(c)   ( ((mork_u1) c) <= 0x7F )
#define morkCh_IsSevenBitChar(c)   ( ((mork_u1) c) <= 0x7F )
#define morkCh_ToLower(c)   ((c)-'A'+'a')
#define morkCh_ToUpper(c)   ((c)-'a'+'A')
#define morkCh_IsUpper(c)   ( morkCh_Type[ (mork_ch)(c) ] & morkCh_kU )
#define morkCh_IsLower(c)   ( morkCh_Type[ (mork_ch)(c) ] & morkCh_kL )

Variables

const mork_flags morkCh_Type []

Define Documentation

#define morkCh_GetFlags (   c)    ( morkCh_Type[ (mork_ch)(c) ] )

Definition at line 94 of file morkCh.h.

Definition at line 85 of file morkCh.h.

Definition at line 89 of file morkCh.h.

#define morkCh_IsAscii (   c)    ( ((mork_u1) c) <= 0x7F )

Definition at line 111 of file morkCh.h.

#define morkCh_IsDigit (   c)    ( ((mork_ch) c) >= '0' && ((mork_ch) c) <= '9' )

Definition at line 64 of file morkCh.h.

#define morkCh_IsHex (   c)    ( morkCh_Type[ (mork_ch)(c) ] & morkCh_kX )

Definition at line 70 of file morkCh.h.

#define morkCh_IsLower (   c)    ( morkCh_Type[ (mork_ch)(c) ] & morkCh_kL )

Definition at line 123 of file morkCh.h.

#define morkCh_IsMore (   c)    ( morkCh_Type[ (mork_ch)(c) ] & morkCh_kM )

Definition at line 82 of file morkCh.h.

#define morkCh_IsName (   c)    ( morkCh_Type[ (mork_ch)(c) ] & morkCh_kN )

Definition at line 79 of file morkCh.h.

#define morkCh_IsOctal (   c)    ( ((mork_ch) c) >= '0' && ((mork_ch) c) <= '7' )

Definition at line 67 of file morkCh.h.

#define morkCh_IsSevenBitChar (   c)    ( ((mork_u1) c) <= 0x7F )

Definition at line 112 of file morkCh.h.

#define morkCh_IsUpper (   c)    ( morkCh_Type[ (mork_ch)(c) ] & morkCh_kU )

Definition at line 120 of file morkCh.h.

#define morkCh_IsValue (   c)    ( morkCh_Type[ (mork_ch)(c) ] & morkCh_kV )

Definition at line 73 of file morkCh.h.

#define morkCh_IsWhite (   c)    ( morkCh_Type[ (mork_ch)(c) ] & morkCh_kW )

Definition at line 76 of file morkCh.h.

#define morkCh_kD   (1 << 1)

Definition at line 52 of file morkCh.h.

#define morkCh_kL   (1 << 4)

Definition at line 55 of file morkCh.h.

#define morkCh_kM   (1 << 7)

Definition at line 58 of file morkCh.h.

#define morkCh_kN   (1 << 6)

Definition at line 57 of file morkCh.h.

#define morkCh_kU   (1 << 3)

Definition at line 54 of file morkCh.h.

#define morkCh_kV   (1 << 2)

Definition at line 53 of file morkCh.h.

#define morkCh_kW   (1 << 0)

Definition at line 51 of file morkCh.h.

#define morkCh_kX   (1 << 5)

Definition at line 56 of file morkCh.h.

#define morkCh_ToLower (   c)    ((c)-'A'+'a')

Definition at line 116 of file morkCh.h.

#define morkCh_ToUpper (   c)    ((c)-'a'+'A')

Definition at line 117 of file morkCh.h.

#define morkFlags_IsAlpha (   f)    ( (f) & (morkCh_kL|morkCh_kU) )

Definition at line 102 of file morkCh.h.

Definition at line 103 of file morkCh.h.

#define morkFlags_IsDigit (   f)    ( (f) & morkCh_kD )

Definition at line 96 of file morkCh.h.

#define morkFlags_IsHex (   f)    ( (f) & morkCh_kX )

Definition at line 97 of file morkCh.h.

#define morkFlags_IsLower (   f)    ( (f) & morkCh_kL )

Definition at line 106 of file morkCh.h.

#define morkFlags_IsMore (   f)    ( (f) & morkCh_kM )

Definition at line 101 of file morkCh.h.

#define morkFlags_IsName (   f)    ( (f) & morkCh_kN )

Definition at line 100 of file morkCh.h.

#define morkFlags_IsUpper (   f)    ( (f) & morkCh_kU )

Definition at line 105 of file morkCh.h.

#define morkFlags_IsValue (   f)    ( (f) & morkCh_kV )

Definition at line 98 of file morkCh.h.

#define morkFlags_IsWhite (   f)    ( (f) & morkCh_kW )

Definition at line 99 of file morkCh.h.


Variable Documentation

Definition at line 62 of file morkCh.cpp.