|
customsearch
v1
|
#include <search.h>
Classes | |
| class | SearchQueries |
| class | SearchSearchInformation |
| class | SearchSpelling |
| class | SearchUrl |
Public Member Functions | |
| Search (const Json::Value &storage) | |
| Search (Json::Value *storage) | |
| virtual | ~Search () |
| const StringPiece | GetTypeName () const |
| bool | has_context () const |
| void | clear_context () |
| const client::JsonCppAssociativeArray< client::JsonCppData > | get_context () const |
| client::JsonCppAssociativeArray< client::JsonCppData > | mutable_context () |
| bool | has_items () const |
| void | clear_items () |
| const client::JsonCppArray< Result > | get_items () const |
| client::JsonCppArray< Result > | mutable_items () |
| bool | has_kind () const |
| void | clear_kind () |
| const StringPiece | get_kind () const |
| void | set_kind (const StringPiece &value) |
| bool | has_promotions () const |
| void | clear_promotions () |
| const client::JsonCppArray< Promotion > | get_promotions () const |
| client::JsonCppArray< Promotion > | mutable_promotions () |
| bool | has_queries () const |
| void | clear_queries () |
| const SearchQueries | get_queries () const |
| SearchQueries | mutable_queries () |
| bool | has_search_information () const |
| void | clear_search_information () |
| const SearchSearchInformation | get_search_information () const |
| SearchSearchInformation | mutable_searchInformation () |
| bool | has_spelling () const |
| void | clear_spelling () |
| const SearchSpelling | get_spelling () const |
| SearchSpelling | mutable_spelling () |
| bool | has_url () const |
| void | clear_url () |
| const SearchUrl | get_url () const |
| SearchUrl | mutable_url () |
Static Public Member Functions | |
| static Search * | New () |
Response to a custom search request.
|
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 'context' attribute.
|
inline |
Clears the 'items' attribute.
|
inline |
Clears the 'kind' attribute.
|
inline |
Clears the 'promotions' attribute.
|
inline |
Clears the 'queries' attribute.
|
inline |
Clears the 'searchInformation' attribute.
|
inline |
Clears the 'spelling' attribute.
|
inline |
Clears the 'url' attribute.
|
inline |
Get a reference to the value of the 'context' attribute.
| const client::JsonCppArray<Result > google_customsearch_api::Search::get_items | ( | ) | const |
Get a reference to the value of the 'items' attribute.
|
inline |
Get the value of the 'kind' attribute.
| const client::JsonCppArray<Promotion > google_customsearch_api::Search::get_promotions | ( | ) | const |
Get a reference to the value of the 'promotions' attribute.
|
inline |
Get a reference to the value of the 'queries' attribute.
|
inline |
Get a reference to the value of the 'searchInformation' attribute.
|
inline |
Get a reference to the value of the 'spelling' attribute.
|
inline |
Get a reference to the value of the 'url' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'context' attribute was set.
context' attribute was set.
|
inline |
Determine if the 'items' attribute was set.
items' attribute was set.
|
inline |
Determine if the 'kind' attribute was set.
kind' attribute was set.
|
inline |
Determine if the 'promotions' attribute was set.
promotions' attribute was set.
|
inline |
Determine if the 'queries' attribute was set.
queries' attribute was set.
|
inline |
Determine if the 'searchInformation' attribute was set.
searchInformation' attribute was set.
|
inline |
Determine if the 'spelling' attribute was set.
spelling' attribute was set.
|
inline |
Determine if the 'url' attribute was set.
url' attribute was set.
|
inline |
Gets a reference to a mutable value of the 'context' property.
Metadata and refinements associated with the given search engine, including:
| client::JsonCppArray<Result > google_customsearch_api::Search::mutable_items | ( | ) |
Gets a reference to a mutable value of the 'items' property.
The current set of custom search results.
| client::JsonCppArray<Promotion > google_customsearch_api::Search::mutable_promotions | ( | ) |
Gets a reference to a mutable value of the 'promotions' property.
The set of promotions. Present only if the custom search engine's configuration files define any promotions for the given query.
|
inline |
Gets a reference to a mutable value of the 'queries' property.
Query metadata for the previous, current, and next pages of results.
|
inline |
Gets a reference to a mutable value of the 'searchInformation' property.
Metadata about a search operation.
|
inline |
Gets a reference to a mutable value of the 'spelling' property.
Spell correction information for a query.
|
inline |
Gets a reference to a mutable value of the 'url' property.
OpenSearch template and URL.
|
static |
Creates a new default instance.
|
inline |
Change the 'kind' attribute.
Unique identifier for the type of current object. For this API, it is customsearch::search.
| [in] | value | The new value. |