youtube  v3
Public Member Functions | Static Public Member Functions | List of all members
google_youtube_api::GeoPoint Class Reference

#include <geo_point.h>

Inheritance diagram for google_youtube_api::GeoPoint:

Public Member Functions

 GeoPoint (const Json::Value &storage)
 
 GeoPoint (Json::Value *storage)
 
virtual ~GeoPoint ()
 
const StringPiece GetTypeName () const
 
bool has_altitude () const
 
void clear_altitude ()
 
double get_altitude () const
 
void set_altitude (double value)
 
bool has_latitude () const
 
void clear_latitude ()
 
double get_latitude () const
 
void set_latitude (double value)
 
bool has_longitude () const
 
void clear_longitude ()
 
double get_longitude () const
 
void set_longitude (double value)
 

Static Public Member Functions

static GeoPointNew ()
 

Detailed Description

Geographical coordinates of a point, in WGS84.

Constructor & Destructor Documentation

◆ GeoPoint() [1/2]

google_youtube_api::GeoPoint::GeoPoint ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ GeoPoint() [2/2]

google_youtube_api::GeoPoint::GeoPoint ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~GeoPoint()

google_youtube_api::GeoPoint::~GeoPoint ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_altitude()

void google_youtube_api::GeoPoint::clear_altitude ( )
inline

Clears the 'altitude' attribute.

◆ clear_latitude()

void google_youtube_api::GeoPoint::clear_latitude ( )
inline

Clears the 'latitude' attribute.

◆ clear_longitude()

void google_youtube_api::GeoPoint::clear_longitude ( )
inline

Clears the 'longitude' attribute.

◆ get_altitude()

double google_youtube_api::GeoPoint::get_altitude ( ) const
inline

Get the value of the 'altitude' attribute.

◆ get_latitude()

double google_youtube_api::GeoPoint::get_latitude ( ) const
inline

Get the value of the 'latitude' attribute.

◆ get_longitude()

double google_youtube_api::GeoPoint::get_longitude ( ) const
inline

Get the value of the 'longitude' attribute.

◆ GetTypeName()

const StringPiece google_youtube_api::GeoPoint::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_youtube_api::GeoPoint

◆ has_altitude()

bool google_youtube_api::GeoPoint::has_altitude ( ) const
inline

Determine if the 'altitude' attribute was set.

Returns
true if the 'altitude' attribute was set.

◆ has_latitude()

bool google_youtube_api::GeoPoint::has_latitude ( ) const
inline

Determine if the 'latitude' attribute was set.

Returns
true if the 'latitude' attribute was set.

◆ has_longitude()

bool google_youtube_api::GeoPoint::has_longitude ( ) const
inline

Determine if the 'longitude' attribute was set.

Returns
true if the 'longitude' attribute was set.

◆ New()

GeoPoint * google_youtube_api::GeoPoint::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_altitude()

void google_youtube_api::GeoPoint::set_altitude ( double  value)
inline

Change the 'altitude' attribute.

Altitude above the reference ellipsoid, in meters.

Parameters
[in]valueThe new value.

◆ set_latitude()

void google_youtube_api::GeoPoint::set_latitude ( double  value)
inline

Change the 'latitude' attribute.

Latitude in degrees.

Parameters
[in]valueThe new value.

◆ set_longitude()

void google_youtube_api::GeoPoint::set_longitude ( double  value)
inline

Change the 'longitude' attribute.

Longitude in degrees.

Parameters
[in]valueThe new value.

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