gpg::SnapshotMetadataChange

#include <snapshot_metadata_change.h>

單一資料結構可讓您存取特定快照狀態的相關資料。

摘要

建構函式和解構函式

SnapshotMetadataChange()
SnapshotMetadataChange(std::shared_ptr< const SnapshotMetadataChangeImpl > impl)
建構從 shared_ptrSnapshotMetadataChangeImplSnapshotMetadataChange
SnapshotMetadataChange(const SnapshotMetadataChange & copy_from)
建立現有 SnapshotMetadataChange 的副本。
SnapshotMetadataChange(SnapshotMetadataChange && move_from)
移動現有的 SnapshotMetadataChange
~SnapshotMetadataChange()

公用函式

Description() const
const std::string &
快照中繼資料的說明。
DescriptionIsChanged() const
bool
快照中繼資料的說明將會以這個新的說明修改。
Image() const
將指派給快照的圖片資料。
ImageIsChanged() const
bool
快照中繼資料的封面圖片會隨這張新的封面圖片修改。
PlayedTime() const
快照中繼資料的播放時間。
PlayedTimeIsChanged() const
bool
快照中繼資料的播放時間會以這個新的時間長度修改。
ProgressValue() const
int64_t
快照中繼資料的進度值。
ProgressValueIsChanged() const
bool
快照中繼資料的進度值將會以這個新的進度值修改。
Valid() const
bool
快照中繼資料變更有效,而且是透過建構工具建立。
operator=(const SnapshotMetadataChange & copy_from)
會從另一個 SnapshotMetadataChange 中複製此 。
operator=(SnapshotMetadataChange && move_from)
如要指派這個 SnapshotMetadataChange,請將其他項目移至該項目。

類別

gpg::SnapshotMetadataChange::Builder

建構一或多個 SnapshotMetadataChange 物件。

gpg::SnapshotMetadataChange::CoverImage

單一資料結構,可讓您存取特定封面圖片的狀態資料。

公用函式

說明

const std::string & Description() const 

快照中繼資料的說明。

DescriptionIsChanged

bool DescriptionIsChanged() const 

快照中繼資料的說明將會以這個新的說明修改。

映像檔

SnapshotMetadataChange::CoverImage Image() const 

將指派給快照的圖片資料。

ImageIsChanged

bool ImageIsChanged() const 

快照中繼資料的封面圖片會隨這張新的封面圖片修改。

PlayedTime

gpg::Duration PlayedTime() const 

快照中繼資料的播放時間。

PlayedTimeIsChanged

bool PlayedTimeIsChanged() const 

快照中繼資料的播放時間會以這個新的時間長度修改。

ProgressValue

int64_t ProgressValue() const 

快照中繼資料的進度值。

ProgressValueIsChanged

bool ProgressValueIsChanged() const 

快照中繼資料的進度值將會以這個新的進度值修改。

SnapshotMetadataChange

 SnapshotMetadataChange()

SnapshotMetadataChange

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

建構從 shared_ptrSnapshotMetadataChangeImplSnapshotMetadataChange

主要供 API 內部使用。

SnapshotMetadataChange

 SnapshotMetadataChange(
  const SnapshotMetadataChange & copy_from
)

建立現有 SnapshotMetadataChange 的副本。

SnapshotMetadataChange

 SnapshotMetadataChange(
  SnapshotMetadataChange && move_from
)

移動現有的 SnapshotMetadataChange

有效

bool Valid() const 

快照中繼資料變更有效,而且是透過建構工具建立。

運算子=

SnapshotMetadataChange & operator=(
  const SnapshotMetadataChange & copy_from
)

會從另一個 SnapshotMetadataChange 中複製此 。

運算子=

SnapshotMetadataChange & operator=(
  SnapshotMetadataChange && move_from
)

如要指派這個 SnapshotMetadataChange,請將其他項目移至該項目。

~SnapshotMetadata 變更

 ~SnapshotMetadataChange()