youtube
v3
|
#include <i18n_language_snippet.h>
Public Member Functions | |
I18nLanguageSnippet (const Json::Value &storage) | |
I18nLanguageSnippet (Json::Value *storage) | |
virtual | ~I18nLanguageSnippet () |
const StringPiece | GetTypeName () const |
bool | has_hl () const |
void | clear_hl () |
const StringPiece | get_hl () const |
void | set_hl (const StringPiece &value) |
bool | has_name () const |
void | clear_name () |
const StringPiece | get_name () const |
void | set_name (const StringPiece &value) |
Static Public Member Functions | |
static I18nLanguageSnippet * | New () |
Basic details about an i18n language, such as language code and human- readable name.
|
explicit |
Standard constructor for an immutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'hl
' attribute.
|
inline |
Clears the 'name
' attribute.
|
inline |
Get the value of the 'hl
' attribute.
|
inline |
Get the value of the 'name
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'hl
' attribute was set.
hl
' attribute was set.
|
inline |
Determine if the 'name
' attribute was set.
name
' attribute was set.
|
static |
Creates a new default instance.
|
inline |
Change the 'hl
' attribute.
A short BCP-47 code that uniquely identifies a language.
[in] | value | The new value. |
|
inline |
Change the 'name
' attribute.
The human-readable name of the language in the language itself.
[in] | value | The new value. |