gpg:: SnapshotMetadataChange:: CoverImage
#include <snapshot_metadata_change_cover_image.h>
特定の表紙画像のステータスに関するデータにアクセスできる 1 つのデータ構造。
概要
コンストラクタとデストラクタ |
|
---|---|
CoverImage(std::shared_ptr< const SnapshotMetadataChangeCoverImageImpl > impl)
|
|
CoverImage(const CoverImage & copy_from)
既存の
CoverImage のコピーを作成します。 |
|
CoverImage(CoverImage && move_from)
既存の
CoverImage を移動します。 |
|
~CoverImage()
|
パブリック関数 |
|
---|---|
Data() const
|
const std::vector< uint8_t > &
カバー画像として設定する画像データ。
|
Height() const
|
int
画像の高さ(ピクセル単位)。
|
MimeType() const
|
const std::string &
表紙の画像として設定する画像ファイルの MIME タイプ。
|
Width() const
|
int
画像の幅(ピクセル単位)。
|
operator=(const CoverImage & copy_from)
|
この
CoverImage を別のものに移動することで割り当てます。 |
operator=(CoverImage && move_from)
|
この CoverImage の値を別の CoverImage から割り当てる代入演算子。
|
パブリック関数
CoverImage
CoverImage( std::shared_ptr< const SnapshotMetadataChangeCoverImageImpl > impl )
shared_ptr
から CoverImageImpl
への CoverImage
を作成します。
API による内部使用を対象としています。
データ
const std::vector< uint8_t > & Data() const
カバー画像として設定する画像データ。
このバイト ベクトルの形式は、カバー画像の MimeType() で定義されます。
高さ
int Height() const
画像の高さ(ピクセル単位)。
MimeType
const std::string & MimeType() const
表紙の画像として設定する画像ファイルの MIME タイプ。
例: 「image/png」。
幅
int Width() const
画像の幅(ピクセル単位)。
演算子=
CoverImage & operator=( CoverImage && move_from )
この CoverImage の値を別の CoverImage から割り当てる代入演算子。
r-value-reference バージョンです。
カバー画像
~CoverImage()