#include "Stroika/Foundation/StroikaPreComp.h"
#include <locale>
#include <vector>
#include "Stroika/Foundation/Characters/String.h"
#include "Stroika/Foundation/Common/Common.h"
#include "Stroika/Foundation/Execution/Exceptions.h"
#include "Locale.inl"
Go to the source code of this file.
Classes | |
class | Stroika::Foundation::Common::ScopedUseLocale |
Namespaces | |
namespace | Stroika::Foundation |
namespace | Stroika::Foundation::Common |
Functions | |
locale | Stroika::Foundation::Common::GetPlatformDefaultLocale () |
void | Stroika::Foundation::Common::UsePlatformDefaultLocaleAsDefaultLocale () |
Set the operating system locale into the current C++ locale used by locale functions (and most locale-dependent stroika functions). | |
vector< Characters::String > | Stroika::Foundation::Common::GetAvailableLocales () |
List all installed locale names (names which can be passed to std::locale::CTOR) | |
Characters::String | Stroika::Foundation::Common::FindLocaleName (const Characters::String &iso2LetterLanguageCode, const Characters::String &iso2LetterTerritoryCode) |
Not all systems appear to follow the same naming conventions for locales, so help lookup. | |
optional< Characters::String > | Stroika::Foundation::Common::FindLocaleNameQuietly (const Characters::String &iso2LetterLanguageCode, const Characters::String &iso2LetterTerritoryCode) |
Not all systems appear to follow the same naming conventions for locales, so help lookup. | |
locale | Stroika::Foundation::Common::FindNamedLocale (const Characters::String &iso2LetterLanguageCode, const Characters::String &iso2LetterTerritoryCode) |
Find the locale matching these properties (for exception trying) | |