youtube
v3
|
#include <i18n_region_snippet.h>
Public Member Functions | |
I18nRegionSnippet (const Json::Value &storage) | |
I18nRegionSnippet (Json::Value *storage) | |
virtual | ~I18nRegionSnippet () |
const StringPiece | GetTypeName () const |
bool | has_gl () const |
void | clear_gl () |
const StringPiece | get_gl () const |
void | set_gl (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 I18nRegionSnippet * | New () |
Basic details about an i18n region, such as region 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 'gl
' attribute.
|
inline |
Clears the 'name
' attribute.
|
inline |
Get the value of the 'gl
' attribute.
|
inline |
Get the value of the 'name
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'gl
' attribute was set.
gl
' attribute was set.
|
inline |
Determine if the 'name
' attribute was set.
name
' attribute was set.
|
static |
Creates a new default instance.
|
inline |
Change the 'gl
' attribute.
The region code as a 2-letter ISO country code.
[in] | value | The new value. |
|
inline |
Change the 'name
' attribute.
The human-readable name of the region.
[in] | value | The new value. |