blogger  v2
Public Member Functions | Static Public Member Functions | List of all members
google_blogger_api::Post::PostLocation Class Reference

#include <post.h>

Inheritance diagram for google_blogger_api::Post::PostLocation:

Public Member Functions

 PostLocation (const Json::Value &storage)
 
 PostLocation (Json::Value *storage)
 
virtual ~PostLocation ()
 
const StringPiece GetTypeName () const
 
bool has_lat () const
 
void clear_lat ()
 
double get_lat () const
 
void set_lat (double value)
 
bool has_lng () const
 
void clear_lng ()
 
double get_lng () const
 
void set_lng (double value)
 
bool has_name () const
 
void clear_name ()
 
const StringPiece get_name () const
 
void set_name (const StringPiece &value)
 
bool has_span () const
 
void clear_span ()
 
const StringPiece get_span () const
 
void set_span (const StringPiece &value)
 

Static Public Member Functions

static PostLocationNew ()
 

Detailed Description

The location for geotagged posts.

Constructor & Destructor Documentation

◆ PostLocation() [1/2]

google_blogger_api::Post::PostLocation::PostLocation ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ PostLocation() [2/2]

google_blogger_api::Post::PostLocation::PostLocation ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ~PostLocation()

google_blogger_api::Post::PostLocation::~PostLocation ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_lat()

void google_blogger_api::Post::PostLocation::clear_lat ( )
inline

Clears the 'lat' attribute.

◆ clear_lng()

void google_blogger_api::Post::PostLocation::clear_lng ( )
inline

Clears the 'lng' attribute.

◆ clear_name()

void google_blogger_api::Post::PostLocation::clear_name ( )
inline

Clears the 'name' attribute.

◆ clear_span()

void google_blogger_api::Post::PostLocation::clear_span ( )
inline

Clears the 'span' attribute.

◆ get_lat()

double google_blogger_api::Post::PostLocation::get_lat ( ) const
inline

Get the value of the 'lat' attribute.

◆ get_lng()

double google_blogger_api::Post::PostLocation::get_lng ( ) const
inline

Get the value of the 'lng' attribute.

◆ get_name()

const StringPiece google_blogger_api::Post::PostLocation::get_name ( ) const
inline

Get the value of the 'name' attribute.

◆ get_span()

const StringPiece google_blogger_api::Post::PostLocation::get_span ( ) const
inline

Get the value of the 'span' attribute.

◆ GetTypeName()

const StringPiece google_blogger_api::Post::PostLocation::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_blogger_api::PostLocation

◆ has_lat()

bool google_blogger_api::Post::PostLocation::has_lat ( ) const
inline

Determine if the 'lat' attribute was set.

Returns
true if the 'lat' attribute was set.

◆ has_lng()

bool google_blogger_api::Post::PostLocation::has_lng ( ) const
inline

Determine if the 'lng' attribute was set.

Returns
true if the 'lng' attribute was set.

◆ has_name()

bool google_blogger_api::Post::PostLocation::has_name ( ) const
inline

Determine if the 'name' attribute was set.

Returns
true if the 'name' attribute was set.

◆ has_span()

bool google_blogger_api::Post::PostLocation::has_span ( ) const
inline

Determine if the 'span' attribute was set.

Returns
true if the 'span' attribute was set.

◆ New()

Post::PostLocation * google_blogger_api::Post::PostLocation::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_lat()

void google_blogger_api::Post::PostLocation::set_lat ( double  value)
inline

Change the 'lat' attribute.

Location's latitude.

Parameters
[in]valueThe new value.

◆ set_lng()

void google_blogger_api::Post::PostLocation::set_lng ( double  value)
inline

Change the 'lng' attribute.

Location's longitude.

Parameters
[in]valueThe new value.

◆ set_name()

void google_blogger_api::Post::PostLocation::set_name ( const StringPiece &  value)
inline

Change the 'name' attribute.

Location name.

Parameters
[in]valueThe new value.

◆ set_span()

void google_blogger_api::Post::PostLocation::set_span ( const StringPiece &  value)
inline

Change the 'span' attribute.

Location's viewport span. Can be used when rendering a map preview.

Parameters
[in]valueThe new value.

The documentation for this class was generated from the following files: