Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Public Member Functions | Protected Member Functions
UserCtype< char > Class Reference

#include <rw_ctype.h>

Inheritance diagram for UserCtype< char >:
Inheritance graph
[legend]
Collaboration diagram for UserCtype< char >:
Collaboration graph
[legend]

Public Member Functions

 UserCtype (_RWSTD_SIZE_T=0)
 
 UserCtype (const unsigned *a, const unsigned *b, _RWSTD_SIZE_T c=0)
 

Protected Member Functions

virtual char_type do_toupper (char_type) const
 
virtual const char_type * do_toupper (char_type *, const char_type *) const
 
virtual char_type do_tolower (char_type) const
 
virtual const char_type * do_tolower (char_type *, const char_type *) const
 
virtual char_type do_widen (char) const
 
virtual const char * do_widen (const char *, const char *, char_type *) const
 
virtual char do_narrow (char_type, char) const
 
virtual const char_type * do_narrow (const char_type *, const char_type *, char, char *) const
 
- Protected Member Functions inherited from UserCtypeBase
 UserCtypeBase (const char *)
 

Additional Inherited Members

- Public Types inherited from UserCtypeBase
enum  MemFunc {
  mf_is , mf_is_range , mf_scan_is , mf_scan_not ,
  mf_toupper , mf_toupper_range , mf_tolower , mf_tolower_range ,
  mf_widen , mf_widen_range , mf_narrow , mf_narrow_range ,
  n_funs
}
 
- Data Fields inherited from UserCtypeBase
const char *const cname_
 
const unsigned * masks_
 
const unsigned * chars_
 
const unsigned * upper_
 
const unsigned * lower_
 
const unsigned * narrow_
 
const unsigned * wide_
 
_RWSTD_SIZE_T n_all_calls_
 
_RWSTD_SIZE_T n_calls_ [n_funs]
 
_RWSTD_SIZE_T n_throws_ [n_funs]
 
_RWSTD_SIZE_T throw_at_calls_ [n_funs]
 
int throw_char_
 
bool throw_on_invalid_
 

Detailed Description

Definition at line 116 of file rw_ctype.h.

Constructor & Destructor Documentation

◆ UserCtype() [1/2]

UserCtype< char >::UserCtype ( _RWSTD_SIZE_T  = 0)
explicit

◆ UserCtype() [2/2]

UserCtype< char >::UserCtype ( const unsigned *  a,
const unsigned *  b,
_RWSTD_SIZE_T  c = 0 
)
explicit

Member Function Documentation

◆ do_narrow() [1/2]

char UserCtype< char >::do_narrow ( char_type  ch,
char  dfault 
) const
protectedvirtual

Definition at line 816 of file ctype.cpp.

◆ do_narrow() [2/2]

const UserCtype< char >::char_type * UserCtype< char >::do_narrow ( const char_type *  lo,
const char_type *  hi,
char  dflt,
char *  dst 
) const
protectedvirtual

Definition at line 846 of file ctype.cpp.

◆ do_tolower() [1/2]

const UserCtype< char >::char_type * UserCtype< char >::do_tolower ( char_type *  lo,
const char_type *  hi 
) const
protectedvirtual

Definition at line 712 of file ctype.cpp.

◆ do_tolower() [2/2]

UserCtype< char >::char_type UserCtype< char >::do_tolower ( char_type  ch) const
protectedvirtual

Definition at line 686 of file ctype.cpp.

◆ do_toupper() [1/2]

const UserCtype< char >::char_type * UserCtype< char >::do_toupper ( char_type *  lo,
const char_type *  hi 
) const
protectedvirtual

Definition at line 655 of file ctype.cpp.

◆ do_toupper() [2/2]

UserCtype< char >::char_type UserCtype< char >::do_toupper ( char_type  ch) const
protectedvirtual

Definition at line 627 of file ctype.cpp.

◆ do_widen() [1/2]

UserCtype< char >::char_type UserCtype< char >::do_widen ( char  ch) const
protectedvirtual

Definition at line 743 of file ctype.cpp.

◆ do_widen() [2/2]

const char * UserCtype< char >::do_widen ( const char *  lo,
const char *  hi,
char_type *  dst 
) const
protectedvirtual

Definition at line 771 of file ctype.cpp.


The documentation for this class was generated from the following files: