books  v1
Classes | Public Member Functions | Static Public Member Functions | List of all members
google_books_api::Volume::VolumeLayerInfo Class Reference

#include <volume.h>

Inheritance diagram for google_books_api::Volume::VolumeLayerInfo:

Classes

class  VolumeLayerInfoLayers
 

Public Member Functions

 VolumeLayerInfo (const Json::Value &storage)
 
 VolumeLayerInfo (Json::Value *storage)
 
virtual ~VolumeLayerInfo ()
 
const StringPiece GetTypeName () const
 
bool has_layers () const
 
void clear_layers ()
 
const client::JsonCppArray< VolumeLayerInfoLayersget_layers () const
 
client::JsonCppArray< VolumeLayerInfoLayersmutable_layers ()
 

Static Public Member Functions

static VolumeLayerInfoNew ()
 

Detailed Description

What layers exist in this volume and high level information about them.

Constructor & Destructor Documentation

◆ VolumeLayerInfo() [1/2]

google_books_api::Volume::VolumeLayerInfo::VolumeLayerInfo ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ VolumeLayerInfo() [2/2]

google_books_api::Volume::VolumeLayerInfo::VolumeLayerInfo ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~VolumeLayerInfo()

google_books_api::Volume::VolumeLayerInfo::~VolumeLayerInfo ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_layers()

void google_books_api::Volume::VolumeLayerInfo::clear_layers ( )
inline

Clears the 'layers' attribute.

◆ get_layers()

const client::JsonCppArray<VolumeLayerInfoLayers > google_books_api::Volume::VolumeLayerInfo::get_layers ( ) const
inline

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

◆ GetTypeName()

const StringPiece google_books_api::Volume::VolumeLayerInfo::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_books_api::VolumeLayerInfo

◆ has_layers()

bool google_books_api::Volume::VolumeLayerInfo::has_layers ( ) const
inline

Determine if the 'layers' attribute was set.

Returns
true if the 'layers' attribute was set.

◆ mutable_layers()

client::JsonCppArray<VolumeLayerInfoLayers > google_books_api::Volume::VolumeLayerInfo::mutable_layers ( )
inline

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

A layer should appear here if and only if the layer exists for this book.

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

◆ New()

Volume::VolumeLayerInfo * google_books_api::Volume::VolumeLayerInfo::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

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