ファイルメタデータ. [詳細]
#include "necbaas/nb_file_metadata.h"
| Public メソッド | |
| NbFileMetadata () | |
| [内部処理用]  [詳細] | |
| NbFileMetadata (const std::string &bucket_name, const NbJsonObject &json) | |
| コンストラクタ.  [詳細] | |
| ~NbFileMetadata () | |
| デストラクタ.  [詳細] | |
| const std::string & | GetFileName () const | 
| ファイル名取得.  [詳細] | |
| const std::string & | GetContentType () const | 
| Content-Type取得.  [詳細] | |
| const NbAcl & | GetAcl () const | 
| ACL取得.  [詳細] | |
| int | GetLength () const | 
| ファイルサイズ取得.  [詳細] | |
| std::tm | GetCreatedTime () const | 
| ファイル作成日時取得.  [詳細] | |
| std::tm | GetUpdatedTime () const | 
| ファイル更新日時取得.  [詳細] | |
| const std::string & | GetMetaETag () const | 
| メタデータのETag取得.  [詳細] | |
| const std::string & | GetFileETag () const | 
| ファイル本体のETag取得.  [詳細] | |
| bool | IsCacheDisabled () const | 
| キャッシュ禁止状態取得.  [詳細] | |
| bool | IsDeleted () const | 
| 論理削除状態取得.  [詳細] | |
ファイルメタデータ.
本クラスのインスタンスはスレッドセーフではない
| necbaas::NbFileMetadata::NbFileMetadata | ( | ) | 
[内部処理用]
| necbaas::NbFileMetadata::NbFileMetadata | ( | const std::string & | bucket_name, | 
| const NbJsonObject & | json | ||
| ) | 
コンストラクタ.
Jsonオブジェクトからファイルメタデータを構築する。
| [in] | bucket_name | バケット名 | 
| [in] | json | Jsonオブジェクト | 
| necbaas::NbFileMetadata::~NbFileMetadata | ( | ) | 
デストラクタ.
| const NbAcl& necbaas::NbFileMetadata::GetAcl | ( | ) | const | 
ACL取得.
| const std::string& necbaas::NbFileMetadata::GetContentType | ( | ) | const | 
Content-Type取得.
| std::tm necbaas::NbFileMetadata::GetCreatedTime | ( | ) | const | 
ファイル作成日時取得.
std::tm の tm_year が 0 の場合は無効データ。
| const std::string& necbaas::NbFileMetadata::GetFileETag | ( | ) | const | 
ファイル本体のETag取得.
| const std::string& necbaas::NbFileMetadata::GetFileName | ( | ) | const | 
ファイル名取得.
| int necbaas::NbFileMetadata::GetLength | ( | ) | const | 
ファイルサイズ取得.
| const std::string& necbaas::NbFileMetadata::GetMetaETag | ( | ) | const | 
メタデータのETag取得.
| std::tm necbaas::NbFileMetadata::GetUpdatedTime | ( | ) | const | 
ファイル更新日時取得.
std::tm の tm_year が 0 の場合は無効データ。
| bool necbaas::NbFileMetadata::IsCacheDisabled | ( | ) | const | 
キャッシュ禁止状態取得.
| true | キャッシュ禁止 | 
| false | キャッシュ許可 | 
| bool necbaas::NbFileMetadata::IsDeleted | ( | ) | const | 
論理削除状態取得.
| true | 論理削除 | 
| false | 論理削除されていない | 
 1.8.5
 1.8.5