i18n
|
Base interface for all locale implementations. More...
#include <ILocale.hpp>
Inherited by DefaultLocale.
Public Member Functions | |
virtual const std::string | languageCode () const =0 |
Retrieve the two-letter language code of the locale. | |
virtual | ~ILocale ()=default |
Virtual destructor for proper cleanup of derived classes. | |
virtual const std::string | languageCode () const =0 |
Retrieve the two-letter language code of the locale. | |
virtual | ~ILocale ()=default |
Virtual destructor for proper cleanup of derived classes. | |
Base interface for all locale implementations.
Defines the minimal contract that a locale type must provide. Each locale should inherit from this class and implement languageCode()
.
Example usage:
|
virtualdefault |
Virtual destructor for proper cleanup of derived classes.
|
virtualdefault |
Virtual destructor for proper cleanup of derived classes.
|
pure virtual |
Retrieve the two-letter language code of the locale.
|
pure virtual |
Retrieve the two-letter language code of the locale.