48 #include <boost/signals2.hpp>
67 class PictureAssetWriter;
76 MXF (Standard standard);
81 return static_cast<bool>(
_key_id);
92 boost::optional<std::string>
key_id ()
const {
104 boost::optional<Key>
key ()
const {
132 Standard standard ()
const {
133 DCP_ASSERT (_standard);
138 template <
class P,
class Q>
139 friend void start (PictureAssetWriter* writer, std::shared_ptr<P> state, Q* mxf, uint8_t
const * data,
int size);
158 std::string _context_id;
160 boost::optional<Standard> _standard;
A key for decrypting/encrypting assets.
Parent for classes which represent MXF files.
MXFMetadata metadata() const
virtual void set_key(Key)
void set_key_id(std::string i)
void set_context_id(std::string id)
boost::optional< Key > _key
std::string context_id() const
std::string read_writer_info(ASDCP::WriterInfo const &)
void fill_writer_info(ASDCP::WriterInfo *w, std::string id) const
boost::optional< std::string > _key_id
boost::optional< Key > key() const
boost::optional< std::string > key_id() const
void set_metadata(MXFMetadata m)
Namespace for everything in libdcp.