Skip to content. Skip to navigation

ICTP Portal

Sections
You are here: Home Manuals on-line PGI Compiler pgC_lib facets
Personal tools
Document Actions

facets



Click on the banner to return to the class reference home page.

facets


Localization classes

Summary

Family of classes used to encapsulate categories of locale functionality.

Data Type and Member Function Indexes
(exclusive of constructors and destructors)

None

Description

The Standard C++ Localization library provides a locale interface that contains a collection of diverse facets. Each facet provides localization facilities for some specific area, such as character classification or numeric formatting. Each facet also falls into one or more broad categories. These categories are defined in the locale class, and the standard facets fit into these categories as follows.

Category
Facets
collate
collate, collate_byname
ctype
ctype, codecvt, ctype_byname, codecvt_byname
monetary
moneypunct, moneypunct_byname, money_put, money_get
numeric
numpunct, numpunct_byname, num_put, num_get
time
time_put, time_put_byname, time_get, time_get_byname
messages
messages, messages_byname

A facet must satisfy two properties. First, it must be derived from the base class locale::facet, either directly or indirectly (for example, facet -> ctype<char> -> my_ctype). Second, it must contain a member of type locale::id. This ensures that the locale class can manage its collection of facets properly.

See Also

locale, specific facet reference sections


©Copyright 1996, Rogue Wave Software, Inc.

Weather
No information available
 

Powered by Plone This site conforms to the following standards: