chvalid.h File Reference

#include <libxml/xmlversion.h>
#include <libxml/xmlstring.h>

Go to the source code of this file.

Data Structures

struct  _xmlChLRange
struct  _xmlChRangeGroup
struct  _xmlChSRange

Defines

#define xmlIsBaseChar_ch(c)
#define xmlIsBaseCharQ(c)
#define xmlIsBlank_ch(c)
#define xmlIsBlankQ(c)
#define xmlIsChar_ch(c)
#define xmlIsCharQ(c)
#define xmlIsCombiningQ(c)
#define xmlIsDigit_ch(c)   (((0x30 <= (c)) && ((c) <= 0x39)))
#define xmlIsDigitQ(c)
#define xmlIsExtender_ch(c)   (((c) == 0xb7))
#define xmlIsExtenderQ(c)
#define xmlIsIdeographicQ(c)
#define xmlIsPubidChar_ch(c)   (xmlIsPubidChar_tab[(c)])
#define xmlIsPubidCharQ(c)

Typedefs

typedef _xmlChLRange xmlChLRange
typedef xmlChLRangexmlChLRangePtr
typedef _xmlChRangeGroup xmlChRangeGroup
typedef xmlChRangeGroupxmlChRangeGroupPtr
typedef _xmlChSRange xmlChSRange
typedef xmlChSRangexmlChSRangePtr

Functions

XMLPUBFUN int XMLCALL xmlCharInRange (unsigned int val, const xmlChRangeGroup *group)
XMLPUBFUN int XMLCALL xmlIsBaseChar (unsigned int ch)
XMLPUBFUN int XMLCALL xmlIsBlank (unsigned int ch)
XMLPUBFUN int XMLCALL xmlIsChar (unsigned int ch)
XMLPUBFUN int XMLCALL xmlIsCombining (unsigned int ch)
XMLPUBFUN int XMLCALL xmlIsDigit (unsigned int ch)
XMLPUBFUN int XMLCALL xmlIsExtender (unsigned int ch)
XMLPUBFUN int XMLCALL xmlIsIdeographic (unsigned int ch)
XMLPUBFUN int XMLCALL xmlIsPubidChar (unsigned int ch)

Variables

XMLPUBVAR const xmlChRangeGroup xmlIsBaseCharGroup
XMLPUBVAR const xmlChRangeGroup xmlIsCharGroup
XMLPUBVAR const xmlChRangeGroup xmlIsCombiningGroup
XMLPUBVAR const xmlChRangeGroup xmlIsDigitGroup
XMLPUBVAR const xmlChRangeGroup xmlIsExtenderGroup
XMLPUBVAR const xmlChRangeGroup xmlIsIdeographicGroup
XMLPUBVAR const unsigned char xmlIsPubidChar_tab [256]


Define Documentation

#define xmlIsBaseChar_ch (  ) 

Value:

(((0x41 <= (c)) && ((c) <= 0x5a)) || \
                 ((0x61 <= (c)) && ((c) <= 0x7a)) || \
                 ((0xc0 <= (c)) && ((c) <= 0xd6)) || \
                 ((0xd8 <= (c)) && ((c) <= 0xf6)) || \
                  (0xf8 <= (c)))
xmlIsBaseChar_ch: : char to validate

Automatically generated by genChRanges.py

Definition at line 64 of file chvalid.h.

#define xmlIsBaseCharQ (  ) 

Value:

(((c) < 0x100) ? \
                 xmlIsBaseChar_ch((c)) : \
                 xmlCharInRange((c), &xmlIsBaseCharGroup))
xmlIsBaseCharQ: : char to validate

Automatically generated by genChRanges.py

Definition at line 76 of file chvalid.h.

#define xmlIsBlank_ch (  ) 

Value:

(((c) == 0x20) || \
                 ((0x9 <= (c)) && ((c) <= 0xa)) || \
                 ((c) == 0xd))
xmlIsBlank_ch: : char to validate

Automatically generated by genChRanges.py

Definition at line 88 of file chvalid.h.

#define xmlIsBlankQ (  ) 

Value:

(((c) < 0x100) ? \
                 xmlIsBlank_ch((c)) : 0)
xmlIsBlankQ: : char to validate

Automatically generated by genChRanges.py

Definition at line 98 of file chvalid.h.

#define xmlIsChar_ch (  ) 

Value:

(((0x9 <= (c)) && ((c) <= 0xa)) || \
                 ((c) == 0xd) || \
                  (0x20 <= (c)))
xmlIsChar_ch: : char to validate

Automatically generated by genChRanges.py

Definition at line 108 of file chvalid.h.

#define xmlIsCharQ (  ) 

Value:

(((c) < 0x100) ? \
                 xmlIsChar_ch((c)) :\
                (((0x100 <= (c)) && ((c) <= 0xd7ff)) || \
                 ((0xe000 <= (c)) && ((c) <= 0xfffd)) || \
                 ((0x10000 <= (c)) && ((c) <= 0x10ffff))))
xmlIsCharQ: : char to validate

Automatically generated by genChRanges.py

Definition at line 118 of file chvalid.h.

#define xmlIsCombiningQ (  ) 

Value:

(((c) < 0x100) ? \
                 0 : \
                 xmlCharInRange((c), &xmlIsCombiningGroup))
xmlIsCombiningQ: : char to validate

Automatically generated by genChRanges.py

Definition at line 132 of file chvalid.h.

#define xmlIsDigit_ch (  )     (((0x30 <= (c)) && ((c) <= 0x39)))

xmlIsDigit_ch: : char to validate

Automatically generated by genChRanges.py

Definition at line 144 of file chvalid.h.

#define xmlIsDigitQ (  ) 

Value:

(((c) < 0x100) ? \
                 xmlIsDigit_ch((c)) : \
                 xmlCharInRange((c), &xmlIsDigitGroup))
xmlIsDigitQ: : char to validate

Automatically generated by genChRanges.py

Definition at line 152 of file chvalid.h.

#define xmlIsExtender_ch (  )     (((c) == 0xb7))

xmlIsExtender_ch: : char to validate

Automatically generated by genChRanges.py

Definition at line 164 of file chvalid.h.

#define xmlIsExtenderQ (  ) 

Value:

(((c) < 0x100) ? \
                 xmlIsExtender_ch((c)) : \
                 xmlCharInRange((c), &xmlIsExtenderGroup))
xmlIsExtenderQ: : char to validate

Automatically generated by genChRanges.py

Definition at line 172 of file chvalid.h.

#define xmlIsIdeographicQ (  ) 

Value:

(((c) < 0x100) ? \
                 0 :\
                (((0x4e00 <= (c)) && ((c) <= 0x9fa5)) || \
                 ((c) == 0x3007) || \
                 ((0x3021 <= (c)) && ((c) <= 0x3029))))
xmlIsIdeographicQ: : char to validate

Automatically generated by genChRanges.py

Definition at line 184 of file chvalid.h.

#define xmlIsPubidChar_ch (  )     (xmlIsPubidChar_tab[(c)])

xmlIsPubidChar_ch: : char to validate

Automatically generated by genChRanges.py

Definition at line 199 of file chvalid.h.

#define xmlIsPubidCharQ (  ) 

Value:

(((c) < 0x100) ? \
                 xmlIsPubidChar_ch((c)) : 0)
xmlIsPubidCharQ: : char to validate

Automatically generated by genChRanges.py

Definition at line 207 of file chvalid.h.


Typedef Documentation

typedef struct _xmlChLRange xmlChLRange

Definition at line 35 of file chvalid.h.

typedef xmlChLRange* xmlChLRangePtr

Definition at line 36 of file chvalid.h.

typedef struct _xmlChRangeGroup xmlChRangeGroup

Definition at line 42 of file chvalid.h.

typedef xmlChRangeGroup* xmlChRangeGroupPtr

Definition at line 43 of file chvalid.h.

typedef struct _xmlChSRange xmlChSRange

Definition at line 28 of file chvalid.h.

typedef xmlChSRange* xmlChSRangePtr

Definition at line 29 of file chvalid.h.


Function Documentation

XMLPUBFUN int XMLCALL xmlCharInRange ( unsigned int  val,
const xmlChRangeGroup group 
)

Range checking routine

XMLPUBFUN int XMLCALL xmlIsBaseChar ( unsigned int  ch  ) 

XMLPUBFUN int XMLCALL xmlIsBlank ( unsigned int  ch  ) 

XMLPUBFUN int XMLCALL xmlIsChar ( unsigned int  ch  ) 

XMLPUBFUN int XMLCALL xmlIsCombining ( unsigned int  ch  ) 

XMLPUBFUN int XMLCALL xmlIsDigit ( unsigned int  ch  ) 

XMLPUBFUN int XMLCALL xmlIsExtender ( unsigned int  ch  ) 

XMLPUBFUN int XMLCALL xmlIsIdeographic ( unsigned int  ch  ) 

XMLPUBFUN int XMLCALL xmlIsPubidChar ( unsigned int  ch  ) 


Variable Documentation

XMLPUBVAR const xmlChRangeGroup xmlIsBaseCharGroup

Definition at line 80 of file chvalid.h.

XMLPUBVAR const xmlChRangeGroup xmlIsCharGroup

Definition at line 124 of file chvalid.h.

XMLPUBVAR const xmlChRangeGroup xmlIsCombiningGroup

Definition at line 136 of file chvalid.h.

XMLPUBVAR const xmlChRangeGroup xmlIsDigitGroup

Definition at line 156 of file chvalid.h.

XMLPUBVAR const xmlChRangeGroup xmlIsExtenderGroup

Definition at line 176 of file chvalid.h.

XMLPUBVAR const xmlChRangeGroup xmlIsIdeographicGroup

Definition at line 190 of file chvalid.h.

XMLPUBVAR const unsigned char xmlIsPubidChar_tab[256]

Definition at line 191 of file chvalid.h.

footer


 SourceForge.net Logo