10#include <cosmos/dso_export.h>
11#include <cosmos/SysString.hxx>
13namespace cosmos::locale {
36 ,ADDRESS = LC_ADDRESS,
37 IDENTIFICATION = LC_IDENTIFICATION,
38 MEASUREMENT = LC_MEASUREMENT,
41 TELEPHONE = LC_TELEPHONE
46COSMOS_API std::string get(Category category);
52COSMOS_API
void set(Category category,
const SysString val);
55COSMOS_API
void set_to_default(Category category);
62COSMOS_API
void set_from_environment(Category category);
Category
Different Locale Categories that can be configured.
@ CTYPE
character classification (e.g. alphanumeric, numeric, ...)
@ TIME
formatting of date and time values
@ ALL
all aspects of the locale
@ NUMERIC
non-monetary numeric values
@ MESSAGES
natural language messages
@ MONETARY
formatting of monetary values
@ COLLATE
comparison of strings
Wrapper type around a C-style string for use with system APIs.