Starshatter_Open
Open source Starshatter engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Locale Class Reference

#include <Locale_ss.h>

List of all members.

Public Member Functions

 Locale (const char *language, const char *country=0, const char *variant=0)
 ~Locale ()
int operator== (const Locale &that) const
const char * GetLanguage () const
const char * GetCountry () const
const char * GetVariant () const
const Text GetFullCode () const
const Text GetDisplayName () const
 Locale (const char *language, const char *country=0, const char *variant=0)
 ~Locale ()
int operator== (const Locale &that) const
const char * GetLanguage () const
const char * GetCountry () const
const char * GetVariant () const
const Text GetFullCode () const
const Text GetDisplayName () const

Static Public Member Functions

static const char * TYPENAME ()
static const List< Locale > & GetAllLocales ()
static LocaleParseLocale (const char *str)
static const char * TYPENAME ()
static const List< Locale > & GetAllLocales ()
static LocaleParseLocale (const char *str)

Static Protected Member Functions

static LocaleCreateLocale (const char *language, const char *country=0, const char *variant=0)
static LocaleCreateLocale (const char *language, const char *country=0, const char *variant=0)

Protected Attributes

char language [8]
char country [8]
char variant [8]

Detailed Description

Definition at line 23 of file Locale_ss.h.


Constructor & Destructor Documentation

Locale::Locale ( const char *  language,
const char *  country = 0,
const char *  variant = 0 
)

Definition at line 26 of file Locale_ss.cpp.

Locale::~Locale ( )

Definition at line 61 of file Locale_ss.cpp.

Locale::Locale ( const char *  language,
const char *  country = 0,
const char *  variant = 0 
)
Locale::~Locale ( )

Member Function Documentation

Locale * Locale::CreateLocale ( const char *  language,
const char *  country = 0,
const char *  variant = 0 
)
staticprotected

Definition at line 125 of file Locale_ss.cpp.

static Locale* Locale::CreateLocale ( const char *  language,
const char *  country = 0,
const char *  variant = 0 
)
staticprotected
const List< Locale > & Locale::GetAllLocales ( )
static

Definition at line 165 of file Locale_ss.cpp.

static const List<Locale>& Locale::GetAllLocales ( )
static
const char* Locale::GetCountry ( ) const
inline

Definition at line 39 of file Locale_ss.h.

const char* Locale::GetCountry ( ) const
inline

Definition at line 39 of file Locale_ss.h.

const Text Locale::GetDisplayName ( ) const
const Text Locale::GetDisplayName ( ) const

Definition at line 213 of file Locale_ss.cpp.

const Text Locale::GetFullCode ( ) const

Definition at line 173 of file Locale_ss.cpp.

const Text Locale::GetFullCode ( ) const
const char* Locale::GetLanguage ( ) const
inline

Definition at line 38 of file Locale_ss.h.

const char* Locale::GetLanguage ( ) const
inline

Definition at line 38 of file Locale_ss.h.

const char* Locale::GetVariant ( ) const
inline

Definition at line 40 of file Locale_ss.h.

const char* Locale::GetVariant ( ) const
inline

Definition at line 40 of file Locale_ss.h.

int Locale::operator== ( const Locale that) const

Definition at line 69 of file Locale_ss.cpp.

int Locale::operator== ( const Locale that) const
static Locale* Locale::ParseLocale ( const char *  str)
static
Locale * Locale::ParseLocale ( const char *  str)
static

Definition at line 81 of file Locale_ss.cpp.

static const char* Locale::TYPENAME ( )
inlinestatic

Definition at line 26 of file Locale_ss.h.

static const char* Locale::TYPENAME ( )
inlinestatic

Definition at line 26 of file Locale_ss.h.


Member Data Documentation

char Locale::country
protected

Definition at line 48 of file Locale_ss.h.

char Locale::language
protected

Definition at line 47 of file Locale_ss.h.

char Locale::variant
protected

Definition at line 49 of file Locale_ss.h.


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