gpg::SnapshotMetadataChange

#include <snapshot_metadata_change.h>

A single data structure which allows you to access data about the status of a specific snapshot.

Summary

Constructors and Destructors

SnapshotMetadataChange()
SnapshotMetadataChange(std::shared_ptr< const SnapshotMetadataChangeImpl > impl)
Constructs a SnapshotMetadataChange from a shared_ptr to SnapshotMetadataChangeImpl.
SnapshotMetadataChange(const SnapshotMetadataChange & copy_from)
Creates a copy of an existing SnapshotMetadataChange.
SnapshotMetadataChange(SnapshotMetadataChange && move_from)
Moves an existing SnapshotMetadataChange.
~SnapshotMetadataChange()

Public functions

Description() const
const std::string &
The description of the snapshot metadata.
DescriptionIsChanged() const
bool
The description of the snapshot metadata will be modified with this new description.
Image() const
Image data that will be assigned to the snapshot.
ImageIsChanged() const
bool
The cover image of the snapshot metadata will be modified with this new cover image.
PlayedTime() const
The played time of the snapshot metadata.
PlayedTimeIsChanged() const
bool
The played time of the snapshot metadata will be modified with this new duration.
ProgressValue() const
int64_t
The progress value of the snapshot metadata.
ProgressValueIsChanged() const
bool
The progress value of the snapshot metadata will be modified with this new progress value.
Valid() const
bool
The snapshot metadata change is valid and was created with the builder.
operator=(const SnapshotMetadataChange & copy_from)
Assigns this SnapshotMetadataChange by copying from another one.
operator=(SnapshotMetadataChange && move_from)
Assigns this SnapshotMetadataChange by moving another one into it.

Classes

gpg::SnapshotMetadataChange::Builder

Builds one or more SnapshotMetadataChange objects.

gpg::SnapshotMetadataChange::CoverImage

A single data structure which allows you to access data about the status of a specific cover image.

Public functions

Description

const std::string & Description() const 

The description of the snapshot metadata.

DescriptionIsChanged

bool DescriptionIsChanged() const 

The description of the snapshot metadata will be modified with this new description.

Image

SnapshotMetadataChange::CoverImage Image() const 

Image data that will be assigned to the snapshot.

ImageIsChanged

bool ImageIsChanged() const 

The cover image of the snapshot metadata will be modified with this new cover image.

PlayedTime

gpg::Duration PlayedTime() const 

The played time of the snapshot metadata.

PlayedTimeIsChanged

bool PlayedTimeIsChanged() const 

The played time of the snapshot metadata will be modified with this new duration.

ProgressValue

int64_t ProgressValue() const 

The progress value of the snapshot metadata.

ProgressValueIsChanged

bool ProgressValueIsChanged() const 

The progress value of the snapshot metadata will be modified with this new progress value.

SnapshotMetadataChange

 SnapshotMetadataChange()

SnapshotMetadataChange

 SnapshotMetadataChange(
  std::shared_ptr< const SnapshotMetadataChangeImpl > impl
)

Constructs a SnapshotMetadataChange from a shared_ptr to SnapshotMetadataChangeImpl.

Intended for internal use by the API.

SnapshotMetadataChange

 SnapshotMetadataChange(
  const SnapshotMetadataChange & copy_from
)

Creates a copy of an existing SnapshotMetadataChange.

SnapshotMetadataChange

 SnapshotMetadataChange(
  SnapshotMetadataChange && move_from
)

Moves an existing SnapshotMetadataChange.

Valid

bool Valid() const 

The snapshot metadata change is valid and was created with the builder.

operator=

SnapshotMetadataChange & operator=(
  const SnapshotMetadataChange & copy_from
)

Assigns this SnapshotMetadataChange by copying from another one.

operator=

SnapshotMetadataChange & operator=(
  SnapshotMetadataChange && move_from
)

Assigns this SnapshotMetadataChange by moving another one into it.

~SnapshotMetadataChange

 ~SnapshotMetadataChange()