dca_interface  6.3.4
ipr_locale.h
Go to the documentation of this file.
1 /* IBM Source Code */
2 /* (C) Copyright IBM Corp. 2009, 2012 */
3 /* Licensed Materials - Property of IBM */
4 /* US Government Users Restricted Rights - Use duplication or disclosure restricted by GSA Schedule Contract with IBM Corp. */
5 
6 #ifndef IPR_LOCALE_H
7 #define IPR_LOCALE_H
8 
17 namespace dca_ipr {
18 
19  class iprlocale_p;
20 
26  class IprLocale
27  {
28  public:
30  IprLocale();
31  IprLocale( const IprLocale& loc );
32  IprLocale& operator = ( const IprLocale& loc );
33  virtual ~IprLocale();
35 
37  std::string languageId() const;
39  std::string displayName() const;
40 
42  PRIVATE_PTR iprlocale_p *_p;
43  };
44 }
45 
46 #endif
Encapsulation of a locale class, which allows access to the language id and the display name of local...
Definition: ipr_locale.h:27
std::string displayName() const
Returns the display name of the locale.
#define PRIVATE_PTR
Type for private pointer implementations, for internal use only.
Definition: base_types.h:83
std::string languageId() const
Returns the language id of the locale.