libdcp
Classes | Public Member Functions | Private Attributes | List of all members
dcp::PKL Class Reference
Inheritance diagram for dcp::PKL:
dcp::Object dcp::AssetList

Classes

class  Asset
 

Public Member Functions

 PKL (Standard standard, boost::optional< std::string > annotation_text, std::string issue_date, std::string issuer, std::string creator)
 
 PKL (boost::filesystem::path file, std::vector< dcp::VerificationNote > *notes=nullptr)
 
boost::optional< std::string > hash (std::string id) const
 
boost::optional< std::string > type (std::string id) const
 
void clear_assets ()
 
void add_asset (std::string id, boost::optional< std::string > annotation_text, std::string hash, int64_t size, std::string type, std::string original_filename)
 
void write_xml (boost::filesystem::path file, std::shared_ptr< const CertificateChain > signer) const
 
boost::optional< boost::filesystem::path > file () const
 
std::vector< std::shared_ptr< Asset > > assets () const
 
- Public Member Functions inherited from dcp::Object
 Object ()
 
 Object (std::string id)
 
 Object (Object const &other)
 
Objectoperator= (Object const &other)
 
std::string id () const
 
- Public Member Functions inherited from dcp::AssetList
 AssetList (Standard standard, boost::optional< std::string > annotation_text, std::string issue_date, std::string issuer, std::string creator)
 
dcp::Standard standard () const
 
void set_annotation_text (std::string annotation_text)
 
void set_issue_date (std::string issue_date)
 
void set_issuer (std::string issuer)
 
void set_creator (std::string creator)
 
boost::optional< std::string > annotation_text () const
 

Private Attributes

std::vector< std::shared_ptr< Asset > > _assets
 
boost::optional< boost::filesystem::path > _file
 

Additional Inherited Members

- Protected Attributes inherited from dcp::Object
std::string _id
 
- Protected Attributes inherited from dcp::AssetList
dcp::Standard _standard = dcp::Standard::SMPTE
 
boost::optional< std::string > _annotation_text
 
std::string _issue_date
 
std::string _issuer
 
std::string _creator
 

Detailed Description

Definition at line 58 of file pkl.h.

Member Function Documentation

◆ file()

boost::optional<boost::filesystem::path> dcp::PKL::file ( ) const
inline
Returns
the most recent disk file used to read or write this PKL, if there is one

Definition at line 75 of file pkl.h.

Member Data Documentation

◆ _file

boost::optional<boost::filesystem::path> dcp::PKL::_file
mutableprivate

The most recent disk file used to read or write this PKL

Definition at line 135 of file pkl.h.


The documentation for this class was generated from the following files: