|
| ReelFileAsset (std::shared_ptr< Asset > asset, boost::optional< std::string > key_id, std::string id, Fraction edit_rate, int64_t intrinsic_duration, int64_t entry_point) |
|
| ReelFileAsset (std::shared_ptr< const cxml::Node > node) |
|
virtual xmlpp::Node * | write_to_cpl (xmlpp::Node *node, Standard standard) const override |
|
Ref const & | asset_ref () const |
|
Ref & | asset_ref () |
|
boost::optional< std::string > | hash () const |
|
void | set_hash (std::string h) |
|
bool | file_asset_equals (std::shared_ptr< const ReelFileAsset > other, EqualityOptions opt, NoteHandler note) const |
|
virtual boost::optional< std::string > | key_type () const |
|
bool | encryptable () const override |
|
boost::optional< std::string > | key_id () const |
|
bool | encrypted () const |
|
| ReelAsset (std::string id, Fraction edit_rate, int64_t intrinsic_duration, int64_t entry_point) |
|
| ReelAsset (std::shared_ptr< const cxml::Node >) |
|
Fraction | edit_rate () const |
|
int64_t | intrinsic_duration () const |
|
void | set_entry_point (int64_t e) |
|
void | unset_entry_point () |
|
boost::optional< int64_t > | entry_point () const |
|
void | set_duration (int64_t d) |
|
boost::optional< int64_t > | duration () const |
|
int64_t | actual_duration () const |
|
boost::optional< std::string > | annotation_text () const |
|
void | set_annotation_text (std::string at) |
|
void | unset_annotation_text () |
|
bool | asset_equals (std::shared_ptr< const ReelAsset >, EqualityOptions, NoteHandler) const |
|
| Object () |
|
| Object (std::string id) |
|
| Object (Object const &)=delete |
|
Object & | operator= (Object const &)=delete |
|
std::string | id () const |
|
|
template<class T > |
std::shared_ptr< T > | asset_of_type () const |
|
template<class T > |
std::shared_ptr< T > | asset_of_type () |
|
virtual std::string | cpl_node_name (Standard) const =0 |
|
virtual std::pair< std::string, std::string > | cpl_node_attribute (Standard) const |
|
virtual std::pair< std::string, std::string > | cpl_node_namespace () const |
|
|
Ref | _asset_ref |
|
boost::optional< std::string > | _hash |
|
boost::optional< std::string > | _key_id |
| The <KeyId> from the reel's entry for this asset, if there is one.
|
|
int64_t | _intrinsic_duration = 0 |
| The <IntrinsicDuration> from the reel's entry for this asset.
|
|
boost::optional< int64_t > | _duration |
| The <Duration> from the reel's entry for this asset, if present.
|
|
std::string | _id |
|
Definition at line 53 of file reel_file_asset.h.
◆ asset_ref() [1/2]
Ref& dcp::ReelFileAsset::asset_ref |
( |
| ) |
|
|
inline |
◆ asset_ref() [2/2]
Ref const& dcp::ReelFileAsset::asset_ref |
( |
| ) |
const |
|
inline |
◆ hash()
boost::optional<std::string> dcp::ReelFileAsset::hash |
( |
| ) |
const |
|
inline |
- Returns
- the asset's hash, if this ReelFileAsset has been created from one, otherwise the hash written to the CPL for this asset (if present).
Definition at line 74 of file reel_file_asset.h.
◆ _asset_ref
Ref dcp::ReelFileAsset::_asset_ref |
|
protected |
Reference to the asset (MXF or XML file) that this reel entry applies to.
Definition at line 115 of file reel_file_asset.h.
◆ _hash
boost::optional<std::string> dcp::ReelFileAsset::_hash |
|
protected |
Either our asset's computed hash or the hash read in from the CPL, if it's present
Definition at line 118 of file reel_file_asset.h.
The documentation for this class was generated from the following files: