simple struct for managing a locale specification More...
#include <i18n.h>
Public Types | |
| enum | eConstants { eLanguageOffset = 0, eCountryOffset = 3, eEncodingOffset = 6, eBufferSize = 8, eMaxLength = 15 } |
Public Member Functions | |
| locale_t (void) throw () | |
| void | clear (void) throw () |
| const char * | getString (void) const throw () |
| bool | isValid (void) const throw () |
| is this a valid locale? | |
| const char * | getLanguageCode (OUT char *buffer) const throw () |
| NOTE: for now we use ISO 639-1 (2-character language codes), but in the future this library could use ISO 639-2 (3-character codes) if they become common enough. | |
| const char * | getCountryCode (OUT char *buffer) const throw () |
| const char * | getEncoding (OUT char *buffer) const throw () |
Public Attributes | |
| char | string [eMaxLength+1] |
simple struct for managing a locale specification
Definition at line 55 of file i18n.h.
1.7.1