fitness  v1
Public Member Functions | Static Public Member Functions | List of all members
google_fitness_api::ValueMapValEntry Class Reference

#include <value_map_val_entry.h>

Inheritance diagram for google_fitness_api::ValueMapValEntry:

Public Member Functions

 ValueMapValEntry (const Json::Value &storage)
 
 ValueMapValEntry (Json::Value *storage)
 
virtual ~ValueMapValEntry ()
 
const StringPiece GetTypeName () const
 
bool has_key () const
 
void clear_key ()
 
const StringPiece get_key () const
 
void set_key (const StringPiece &value)
 
bool has_value () const
 
void clear_value ()
 
const MapValue get_value () const
 
MapValue mutable_value ()
 

Static Public Member Functions

static ValueMapValEntryNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ ValueMapValEntry() [1/2]

google_fitness_api::ValueMapValEntry::ValueMapValEntry ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ ValueMapValEntry() [2/2]

google_fitness_api::ValueMapValEntry::ValueMapValEntry ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~ValueMapValEntry()

google_fitness_api::ValueMapValEntry::~ValueMapValEntry ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_key()

void google_fitness_api::ValueMapValEntry::clear_key ( )
inline

Clears the 'key' attribute.

◆ clear_value()

void google_fitness_api::ValueMapValEntry::clear_value ( )
inline

Clears the 'value' attribute.

◆ get_key()

const StringPiece google_fitness_api::ValueMapValEntry::get_key ( ) const
inline

Get the value of the 'key' attribute.

◆ get_value()

const MapValue google_fitness_api::ValueMapValEntry::get_value ( ) const

Get a reference to the value of the 'value' attribute.

◆ GetTypeName()

const StringPiece google_fitness_api::ValueMapValEntry::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_fitness_api::ValueMapValEntry

◆ has_key()

bool google_fitness_api::ValueMapValEntry::has_key ( ) const
inline

Determine if the 'key' attribute was set.

Returns
true if the 'key' attribute was set.

◆ has_value()

bool google_fitness_api::ValueMapValEntry::has_value ( ) const
inline

Determine if the 'value' attribute was set.

Returns
true if the 'value' attribute was set.

◆ mutable_value()

MapValue google_fitness_api::ValueMapValEntry::mutable_value ( )

Gets a reference to a mutable value of the 'value' property.

Returns
The result can be modified to change the attribute value.

◆ New()

ValueMapValEntry * google_fitness_api::ValueMapValEntry::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_key()

void google_fitness_api::ValueMapValEntry::set_key ( const StringPiece &  value)
inline

Change the 'key' attribute.

Parameters
[in]valueThe new value.

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