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

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)
 
Standard standard () const
 
boost::optional< std::string > annotation_text () const
 
boost::optional< std::string > hash (std::string id) const
 
boost::optional< std::string > type (std::string id) const
 
void add_asset (std::string id, boost::optional< std::string > annotation_text, std::string hash, int64_t size, std::string type)
 
void write (boost::filesystem::path file, std::shared_ptr< const CertificateChain > signer) const
 
boost::optional< boost::filesystem::path > file () const
 
std::vector< std::shared_ptr< Asset > > asset_list () const
 
- Public Member Functions inherited from dcp::Object
 Object ()
 
 Object (std::string id)
 
 Object (Object const &)=delete
 
Objectoperator= (Object const &)=delete
 
std::string id () const
 

Private Attributes

Standard _standard = dcp::Standard::SMPTE
 
boost::optional< std::string > _annotation_text
 
std::string _issue_date
 
std::string _issuer
 
std::string _creator
 
std::vector< std::shared_ptr< Asset > > _asset_list
 
boost::optional< boost::filesystem::path > _file
 

Additional Inherited Members

- Protected Attributes inherited from dcp::Object
std::string _id
 

Detailed Description

Definition at line 55 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 83 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 142 of file pkl.h.


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