CharUtils - Character related functions module
[Specific low-level tools level]

Character related functions module(former diacritique & default_charset modules). More...

Functions

gboolean oneIsUppercaseOfOther (const unsigned char a, const unsigned char b)
gboolean oneIsDiacriticOfOther (const unsigned char a, const unsigned char b)
gboolean oneIsUppercaseDiacriticOfOther (const unsigned char a, const unsigned char b)
gboolean defaultIsNeverDelimiter (int c)
gboolean defaultIsDelimiter (int c)
gboolean defaultIsGlueable (int c)

Detailed Description

Character related functions module(former diacritique & default_charset modules).

SlpTK Library 0.6.0

Required header
<charutils.h>
Author:
Jean-Cédric Chappelier (creation on 01.07.1998)

Antonin Merçay (revision on 18.11.2004)

Date:
2 March 2005
Version:
0.6.0

Function Documentation

gboolean defaultIsDelimiter ( int  c  ) 

Defines the default class of strict delimiter characters (i.e. that are neither punctuation nor constitute a word).
The function returns TRUE if the given character belongs to this class.

Parameters:
[in] c The character to test
Returns:
The boolean result
Former(s) function(s):
Default_Separateur

gboolean defaultIsGlueable ( int  c  ) 

Defines the default class of characters that are (left) glueable (i.e. that are never delimiter on the left, but delimiter on the right).
The function returns TRUE if the given character belongs to this class.

Parameters:
[in] c The character to test
Returns:
The boolean result
Former(s) function(s):
Default_Collable

gboolean defaultIsNeverDelimiter ( int  c  ) 

Defines the default class of characters that can only constitute a word (i.e. that are neither white nor punctuation).
The function returns TRUE if the given character belongs to this class.

Parameters:
[in] c The character to test
Returns:
The boolean result
Former(s) function(s):
Default_Homogene

gboolean oneIsDiacriticOfOther ( const unsigned char  a,
const unsigned char  b 
)

Returns TRUE if among two given characters, one is the diacritic of the other.

Parameters:
[in] a The character to compare to b
[in] b The character to compare to a
Returns:
The boolean result
Former(s) function(s):
diacritique

gboolean oneIsUppercaseDiacriticOfOther ( const unsigned char  a,
const unsigned char  b 
)

Returns TRUE if among two given characters, one is the uppercase of a diacritic character of the other.

Parameters:
[in] a The character to compare to b
[in] b The character to compare to a
Returns:
The boolean result
Former(s) function(s):
diacritiquemajuscule

gboolean oneIsUppercaseOfOther ( const unsigned char  a,
const unsigned char  b 
)

Returns TRUE if among two given characters, one is the uppercase of the other.

Parameters:
[in] a The character to compare to b
[in] b The character to compare to a
Returns:
The boolean result
Former(s) function(s):
majuscule


Generated on Thu Mar 22 17:46:31 2007 for SlpTk by  doxygen 1.4.7