Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

OS_NS_ctype.h File Reference

#include "ace/config-all.h"
#include "ace/ACE_export.h"
#include "ace/OS_NS_ctype.inl"

Include dependency graph for OS_NS_ctype.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Namespaces

namespace  ACE_OS

Functions from <cctype>

Included are the functions defined in <cctype> and their <cwctype> equivalents.

Since they are often implemented as macros, we don't use the same name here. Instead, we change by prepending "ace_".

ACE_NAMESPACE_INLINE_FUNCTION
int 
ace_isalnum (ACE_TCHAR c)
 Returns true if the character is an alphanumeric character.
ACE_NAMESPACE_INLINE_FUNCTION
int 
ace_isalpha (ACE_TCHAR c)
 Returns true if the character is an alphabetic character.
ACE_NAMESPACE_INLINE_FUNCTION
int 
ace_iscntrl (ACE_TCHAR c)
 Returns true if the character is a control character.
ACE_NAMESPACE_INLINE_FUNCTION
int 
ace_isdigit (ACE_TCHAR c)
 Returns true if the character is a decimal-digit character.
ACE_NAMESPACE_INLINE_FUNCTION
int 
ace_isgraph (ACE_TCHAR c)
 Returns true if the character is a printable character other than a space.
ACE_NAMESPACE_INLINE_FUNCTION
int 
ace_islower (ACE_TCHAR c)
 Returns true if the character is a lowercase character.
ACE_NAMESPACE_INLINE_FUNCTION
int 
ace_isprint (ACE_TCHAR c)
 Returns true if the character is a printable character.
ACE_NAMESPACE_INLINE_FUNCTION
int 
ace_ispunct (ACE_TCHAR c)
 Returns true if the character is a punctuation character.
ACE_NAMESPACE_INLINE_FUNCTION
int 
ace_isspace (ACE_TCHAR c)
 Returns true if the character is a space character.
ACE_NAMESPACE_INLINE_FUNCTION
int 
ace_isupper (ACE_TCHAR c)
 Returns true if the character is an uppercase character.
ACE_NAMESPACE_INLINE_FUNCTION
int 
ace_isxdigit (ACE_TCHAR c)
 Returns true if the character is a hexadecimal-digit character.
ACE_NAMESPACE_INLINE_FUNCTION
int 
ace_tolower (int c)
 Converts a character to lower case (char version).
ACE_NAMESPACE_INLINE_FUNCTION
wint_t 
ace_towlower (wint_t c)
 Converts a character to lower case (wchar_t version).
ACE_NAMESPACE_INLINE_FUNCTION
int 
ace_toupper (int c)
 Converts a character to upper case (char version).
ACE_NAMESPACE_INLINE_FUNCTION
wint_t 
ace_towupper (wint_t c)
 Converts a character to upper case (wchar_t version).

Defines

#define ACE_EXPORT_MACRO   ACE_Export
#define ACE_INLINE   inline

Detailed Description

Id
OS_NS_ctype.h,v 1.6 2004/10/02 06:43:40 ossama Exp

Author:
Douglas C. Schmidt <schmidt@cs.wustl.edu>

Jesper S. M|ller<stophph@diku.dk>

and a cast of thousands...

Originally in OS.h.

Define Documentation

#define ACE_EXPORT_MACRO   ACE_Export
 

#define ACE_INLINE   inline
 


Function Documentation

ACE_INLINE int ACE_OS::ace_isalnum ACE_TCHAR  c  ) 
 

Returns true if the character is an alphanumeric character.

ACE_INLINE int ACE_OS::ace_isalpha ACE_TCHAR  c  ) 
 

Returns true if the character is an alphabetic character.

ACE_INLINE int ACE_OS::ace_iscntrl ACE_TCHAR  c  ) 
 

Returns true if the character is a control character.

ACE_INLINE int ACE_OS::ace_isdigit ACE_TCHAR  c  ) 
 

Returns true if the character is a decimal-digit character.

ACE_INLINE int ACE_OS::ace_isgraph ACE_TCHAR  c  ) 
 

Returns true if the character is a printable character other than a space.

ACE_INLINE int ACE_OS::ace_islower ACE_TCHAR  c  ) 
 

Returns true if the character is a lowercase character.

ACE_INLINE int ACE_OS::ace_isprint ACE_TCHAR  c  ) 
 

Returns true if the character is a printable character.

ACE_INLINE int ACE_OS::ace_ispunct ACE_TCHAR  c  ) 
 

Returns true if the character is a punctuation character.

ACE_INLINE int ACE_OS::ace_isspace ACE_TCHAR  c  ) 
 

Returns true if the character is a space character.

ACE_INLINE int ACE_OS::ace_isupper ACE_TCHAR  c  ) 
 

Returns true if the character is an uppercase character.

ACE_INLINE int ACE_OS::ace_isxdigit ACE_TCHAR  c  ) 
 

Returns true if the character is a hexadecimal-digit character.

ACE_INLINE int ACE_OS::ace_tolower int  c  ) 
 

Converts a character to lower case (char version).

ACE_INLINE int ACE_OS::ace_toupper int  c  ) 
 

Converts a character to upper case (char version).

ACE_INLINE wint_t ACE_OS::ace_towlower wint_t  c  ) 
 

Converts a character to lower case (wchar_t version).

ACE_INLINE wint_t ACE_OS::ace_towupper wint_t  c  ) 
 

Converts a character to upper case (wchar_t version).


Generated on Sat Aug 6 02:39:24 2005 for ACE by  doxygen 1.3.9.1