LibreOffice Module svl (master) 1
|
SvNumberformatter uses it upon switching locales. More...
#include <ondemand.hxx>
Public Member Functions | |
OnDemandCharClass () | |
void | changeLocale (const css::uno::Reference< css::uno::XComponentContext > &xContext, const LanguageTag &rLanguageTag) |
const CharClass * | get () const |
const CharClass * | operator-> () const |
const CharClass & | operator* () const |
Private Attributes | |
std::optional< CharClass > | moCharClass1 |
std::optional< CharClass > | moCharClass2 |
int | nCurrent |
SvNumberformatter uses it upon switching locales.
@descr Avoids reloading and analysing of locale data again and again.
@ATTENTION If the default ctor is used the init() method MUST be called before accessing any locale data.
Definition at line 293 of file ondemand.hxx.
|
inline |
Definition at line 300 of file ondemand.hxx.
|
inline |
Definition at line 305 of file ondemand.hxx.
References moCharClass1, moCharClass2, and nCurrent.
Referenced by SvNumberFormatter::ChangeIntl(), and SvNumberFormatter::ImpConstruct().
|
inline |
Definition at line 332 of file ondemand.hxx.
References moCharClass1, moCharClass2, and nCurrent.
Referenced by SvNumberFormatter::GetCharClass(), operator*(), and operator->().
|
inline |
Definition at line 346 of file ondemand.hxx.
References get().
|
inline |
Definition at line 345 of file ondemand.hxx.
References get().
|
private |
Definition at line 295 of file ondemand.hxx.
Referenced by changeLocale(), and get().
|
private |
Definition at line 296 of file ondemand.hxx.
Referenced by changeLocale(), and get().
|
private |
Definition at line 297 of file ondemand.hxx.
Referenced by changeLocale(), and get().