#include <webfont.h>
◆ Webfont() [1/2]
| google_webfonts_api::Webfont::Webfont |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ Webfont() [2/2]
| google_webfonts_api::Webfont::Webfont |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ ~Webfont()
| google_webfonts_api::Webfont::~Webfont |
( |
| ) |
|
|
virtual |
◆ clear_category()
| void google_webfonts_api::Webfont::clear_category |
( |
| ) |
|
|
inline |
Clears the 'category' attribute.
◆ clear_family()
| void google_webfonts_api::Webfont::clear_family |
( |
| ) |
|
|
inline |
Clears the 'family' attribute.
◆ clear_files()
| void google_webfonts_api::Webfont::clear_files |
( |
| ) |
|
|
inline |
Clears the 'files' attribute.
◆ clear_kind()
| void google_webfonts_api::Webfont::clear_kind |
( |
| ) |
|
|
inline |
Clears the 'kind' attribute.
◆ clear_last_modified()
| void google_webfonts_api::Webfont::clear_last_modified |
( |
| ) |
|
|
inline |
Clears the 'lastModified' attribute.
◆ clear_subsets()
| void google_webfonts_api::Webfont::clear_subsets |
( |
| ) |
|
|
inline |
Clears the 'subsets' attribute.
◆ clear_variants()
| void google_webfonts_api::Webfont::clear_variants |
( |
| ) |
|
|
inline |
Clears the 'variants' attribute.
◆ clear_version()
| void google_webfonts_api::Webfont::clear_version |
( |
| ) |
|
|
inline |
Clears the 'version' attribute.
◆ get_category()
| const StringPiece google_webfonts_api::Webfont::get_category |
( |
| ) |
const |
|
inline |
Get the value of the 'category' attribute.
◆ get_family()
| const StringPiece google_webfonts_api::Webfont::get_family |
( |
| ) |
const |
|
inline |
Get the value of the 'family' attribute.
◆ get_files()
| const client::JsonCppAssociativeArray<string > google_webfonts_api::Webfont::get_files |
( |
| ) |
const |
|
inline |
Get a reference to the value of the 'files' attribute.
◆ get_kind()
| const StringPiece google_webfonts_api::Webfont::get_kind |
( |
| ) |
const |
|
inline |
Get the value of the 'kind' attribute.
◆ get_last_modified()
| client::Date google_webfonts_api::Webfont::get_last_modified |
( |
| ) |
const |
|
inline |
Get the value of the 'lastModified' attribute.
◆ get_subsets()
| const client::JsonCppArray<string > google_webfonts_api::Webfont::get_subsets |
( |
| ) |
const |
|
inline |
Get a reference to the value of the 'subsets' attribute.
◆ get_variants()
| const client::JsonCppArray<string > google_webfonts_api::Webfont::get_variants |
( |
| ) |
const |
|
inline |
Get a reference to the value of the 'variants' attribute.
◆ get_version()
| const StringPiece google_webfonts_api::Webfont::get_version |
( |
| ) |
const |
|
inline |
Get the value of the 'version' attribute.
◆ GetTypeName()
| const StringPiece google_webfonts_api::Webfont::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_category()
| bool google_webfonts_api::Webfont::has_category |
( |
| ) |
const |
|
inline |
Determine if the 'category' attribute was set.
- Returns
- true if the '
category' attribute was set.
◆ has_family()
| bool google_webfonts_api::Webfont::has_family |
( |
| ) |
const |
|
inline |
Determine if the 'family' attribute was set.
- Returns
- true if the '
family' attribute was set.
◆ has_files()
| bool google_webfonts_api::Webfont::has_files |
( |
| ) |
const |
|
inline |
Determine if the 'files' attribute was set.
- Returns
- true if the '
files' attribute was set.
◆ has_kind()
| bool google_webfonts_api::Webfont::has_kind |
( |
| ) |
const |
|
inline |
Determine if the 'kind' attribute was set.
- Returns
- true if the '
kind' attribute was set.
◆ has_last_modified()
| bool google_webfonts_api::Webfont::has_last_modified |
( |
| ) |
const |
|
inline |
Determine if the 'lastModified' attribute was set.
- Returns
- true if the '
lastModified' attribute was set.
◆ has_subsets()
| bool google_webfonts_api::Webfont::has_subsets |
( |
| ) |
const |
|
inline |
Determine if the 'subsets' attribute was set.
- Returns
- true if the '
subsets' attribute was set.
◆ has_variants()
| bool google_webfonts_api::Webfont::has_variants |
( |
| ) |
const |
|
inline |
Determine if the 'variants' attribute was set.
- Returns
- true if the '
variants' attribute was set.
◆ has_version()
| bool google_webfonts_api::Webfont::has_version |
( |
| ) |
const |
|
inline |
Determine if the 'version' attribute was set.
- Returns
- true if the '
version' attribute was set.
◆ mutable_files()
| client::JsonCppAssociativeArray<string > google_webfonts_api::Webfont::mutable_files |
( |
| ) |
|
|
inline |
Gets a reference to a mutable value of the 'files' property.
The font files (with all supported scripts) for each one of the available variants, as a key : value map.
- Returns
- The result can be modified to change the attribute value.
◆ mutable_subsets()
| client::JsonCppArray<string > google_webfonts_api::Webfont::mutable_subsets |
( |
| ) |
|
|
inline |
Gets a reference to a mutable value of the 'subsets' property.
The scripts supported by the font.
- Returns
- The result can be modified to change the attribute value.
◆ mutable_variants()
| client::JsonCppArray<string > google_webfonts_api::Webfont::mutable_variants |
( |
| ) |
|
|
inline |
Gets a reference to a mutable value of the 'variants' property.
The available variants for the font.
- Returns
- The result can be modified to change the attribute value.
◆ New()
| Webfont * google_webfonts_api::Webfont::New |
( |
| ) |
|
|
static |
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_category()
| void google_webfonts_api::Webfont::set_category |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'category' attribute.
The category of the font.
- Parameters
-
◆ set_family()
| void google_webfonts_api::Webfont::set_family |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'family' attribute.
The name of the font.
- Parameters
-
◆ set_kind()
| void google_webfonts_api::Webfont::set_kind |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'kind' attribute.
This kind represents a webfont object in the webfonts service.
- Parameters
-
◆ set_last_modified()
| void google_webfonts_api::Webfont::set_last_modified |
( |
client::Date |
value | ) |
|
|
inline |
Change the 'lastModified' attribute.
The date (format "yyyy-MM-dd") the font was modified for the last time.
- Parameters
-
◆ set_version()
| void google_webfonts_api::Webfont::set_version |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'version' attribute.
The font version.
- Parameters
-
The documentation for this class was generated from the following files:
- google/webfonts_api/webfont.h
- google/webfonts_api/webfont.cc