|
Maps SDK for C++ 1.0.0
|


Public Member Functions | |
| Language ()=default | |
| Default constructor. | |
| Language (const String &language, const String ®ion=String(), const String &script=String(), EScriptVariant variant=SV_Native) | |
| All purpose constructor. | |
| Language (const Language &)=default | |
| Default copy constructor. | |
| Language (Language &&)=default | |
| Default move constructor noexcept is deduced. | |
| Language & | operator= (const Language &language)=default |
| Default copy assignment. | |
| Language & | operator= (Language &&language)=default |
| Default move assignment noexcept is deduced. | |
| bool | operator== (const Language &lang) const |
| Comparison operator equal. | |
| bool | operator!= (const Language &lang) const |
| Comparison operator not equal. | |
| Language & | setName (const String &name) noexcept |
| Set the language name. | |
| const StringRef | getName () const noexcept |
| Get the language name. | |
| Language & | setLanguageCode (const String &code) noexcept |
| Set the ISO 639-3 three letter language code. | |
| const StringRef | getLanguageCode () const noexcept |
| Get the ISO 639-3 three letter language code. | |
| Language & | setRegionCode (const String &code) noexcept |
| Set the ISO 3166-1 three letter region code. | |
| const StringRef | getRegionCode () const noexcept |
| Get the ISO 3166-1 three letter region code. | |
| Language & | setScriptCode (const String &code) noexcept |
| Set the ISO 15924 four letter script code. | |
| const StringRef | getScriptCode () const noexcept |
| Get the ISO 15924 four letter script code. | |
| Language & | setScriptVariant (EScriptVariant variant) noexcept |
| Set the script variant. | |
| EScriptVariant | getScriptVariant () const noexcept |
| Get the script variant. | |
| bool | isRightToLeft () const noexcept |
| Return true if and only if the text is right to left. | |
| const StringRef | toString () const noexcept |
| String representation of the language. | |
Language object.
Implements share-read / copy-on-write Api object over ILanguage.
|
inline |
All purpose constructor.
| [in] | language | The language code |
| [in] | region | The region code |
| [in] | script | The script code |
| [in] | variant | The script variant |
|
inlinenoexcept |
Get the ISO 639-3 three letter language code.
|
inlinenoexcept |
Get the language name.
|
inlinenoexcept |
Get the ISO 3166-1 three letter region code.
|
inlinenoexcept |
Get the ISO 15924 four letter script code.
It is available only when variant is transcription or transliteration.
|
inlinenoexcept |
Get the script variant.
|
inlinenoexcept |
Return true if and only if the text is right to left.
|
inline |
Comparison operator not equal.
| lang | The language to compare |
Default copy assignment.
| language | The language to copy |
Default move assignment noexcept is deduced.
| language | The language to move |
|
inline |
Comparison operator equal.
| lang | The language to compare |
Set the ISO 639-3 three letter language code.
| [in] | code | The language code |
Set the language name.
| [in] | name | The language name |
Set the ISO 3166-1 three letter region code.
| [in] | code | The region code |
Set the ISO 15924 four letter script code.
It is available only when variant is transcription or transliteration.
| [in] | code | The script code |
|
inlinenoexcept |
Set the script variant.
| [in] | variant | The script variant |