blogger
v2
|
#include <post.h>
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 PostLocation * | New () |
The location for geotagged posts.
|
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 'lat
' attribute.
|
inline |
Clears the 'lng
' attribute.
|
inline |
Clears the 'name
' attribute.
|
inline |
Clears the 'span
' attribute.
|
inline |
Get the value of the 'lat
' attribute.
|
inline |
Get the value of the 'lng
' attribute.
|
inline |
Get the value of the 'name
' attribute.
|
inline |
Get the value of the 'span
' attribute.
|
inline |
Returns a string denoting the type of this data object.
google_blogger_api::PostLocation
|
inline |
Determine if the 'lat
' attribute was set.
lat
' attribute was set.
|
inline |
Determine if the 'lng
' attribute was set.
lng
' attribute was set.
|
inline |
Determine if the 'name
' attribute was set.
name
' attribute was set.
|
inline |
Determine if the 'span
' attribute was set.
span
' attribute was set.
|
static |
Creates a new default instance.
|
inline |
Change the 'lat
' attribute.
Location's latitude.
[in] | value | The new value. |
|
inline |
Change the 'lng
' attribute.
Location's longitude.
[in] | value | The new value. |
|
inline |
Change the 'name
' attribute.
Location name.
[in] | value | The new value. |
|
inline |
Change the 'span
' attribute.
Location's viewport span. Can be used when rendering a map preview.
[in] | value | The new value. |