#include <annotation.h>
◆ AnnotationLayerSummary() [1/2]
google_books_api::Annotation::AnnotationLayerSummary::AnnotationLayerSummary |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ AnnotationLayerSummary() [2/2]
google_books_api::Annotation::AnnotationLayerSummary::AnnotationLayerSummary |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~AnnotationLayerSummary()
google_books_api::Annotation::AnnotationLayerSummary::~AnnotationLayerSummary |
( |
| ) |
|
|
virtual |
◆ clear_allowed_character_count()
void google_books_api::Annotation::AnnotationLayerSummary::clear_allowed_character_count |
( |
| ) |
|
|
inline |
Clears the 'allowedCharacterCount
' attribute.
◆ clear_limit_type()
void google_books_api::Annotation::AnnotationLayerSummary::clear_limit_type |
( |
| ) |
|
|
inline |
Clears the 'limitType
' attribute.
◆ clear_remaining_character_count()
void google_books_api::Annotation::AnnotationLayerSummary::clear_remaining_character_count |
( |
| ) |
|
|
inline |
Clears the 'remainingCharacterCount
' attribute.
◆ get_allowed_character_count()
int32 google_books_api::Annotation::AnnotationLayerSummary::get_allowed_character_count |
( |
| ) |
const |
|
inline |
Get the value of the 'allowedCharacterCount
' attribute.
◆ get_limit_type()
const StringPiece google_books_api::Annotation::AnnotationLayerSummary::get_limit_type |
( |
| ) |
const |
|
inline |
Get the value of the 'limitType
' attribute.
◆ get_remaining_character_count()
int32 google_books_api::Annotation::AnnotationLayerSummary::get_remaining_character_count |
( |
| ) |
const |
|
inline |
Get the value of the 'remainingCharacterCount
' attribute.
◆ GetTypeName()
const StringPiece google_books_api::Annotation::AnnotationLayerSummary::GetTypeName |
( |
| ) |
const |
|
inline |
Returns a string denoting the type of this data object.
- Returns
google_books_api::AnnotationLayerSummary
◆ has_allowed_character_count()
bool google_books_api::Annotation::AnnotationLayerSummary::has_allowed_character_count |
( |
| ) |
const |
|
inline |
Determine if the 'allowedCharacterCount
' attribute was set.
- Returns
- true if the '
allowedCharacterCount
' attribute was set.
◆ has_limit_type()
bool google_books_api::Annotation::AnnotationLayerSummary::has_limit_type |
( |
| ) |
const |
|
inline |
Determine if the 'limitType
' attribute was set.
- Returns
- true if the '
limitType
' attribute was set.
◆ has_remaining_character_count()
bool google_books_api::Annotation::AnnotationLayerSummary::has_remaining_character_count |
( |
| ) |
const |
|
inline |
Determine if the 'remainingCharacterCount
' attribute was set.
- Returns
- true if the '
remainingCharacterCount
' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_allowed_character_count()
void google_books_api::Annotation::AnnotationLayerSummary::set_allowed_character_count |
( |
int32 |
value | ) |
|
|
inline |
Change the 'allowedCharacterCount
' attribute.
Maximum allowed characters on this layer, especially for the "copy" layer.
- Parameters
-
◆ set_limit_type()
void google_books_api::Annotation::AnnotationLayerSummary::set_limit_type |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'limitType
' attribute.
Type of limitation on this layer. "limited" or "unlimited" for the "copy" layer.
- Parameters
-
◆ set_remaining_character_count()
void google_books_api::Annotation::AnnotationLayerSummary::set_remaining_character_count |
( |
int32 |
value | ) |
|
|
inline |
Change the 'remainingCharacterCount
' attribute.
Remaining allowed characters on this layer, especially for the "copy" layer.
- Parameters
-
The documentation for this class was generated from the following files:
- google/books_api/annotation.h
- google/books_api/annotation.cc