*/
-#include "reel_asset.h"
+/** @file src/reel_sound_asset.h
+ * @brief ReelSoundAsset class.
+ */
+
+#include "reel_mxf_asset.h"
#include "sound_mxf.h"
#include <boost/shared_ptr.hpp>
#include <string>
namespace dcp {
-class ReelSoundAsset : public ReelAsset
+/** @class ReelSoundAsset
+ * @brief Part of a Reel's description which refers to a sound MXF.
+ */
+class ReelSoundAsset : public ReelMXFAsset
{
public:
- ReelSoundAsset (boost::shared_ptr<Content> content, int64_t entry_point);
+ ReelSoundAsset (boost::shared_ptr<dcp::SoundMXF> content, int64_t entry_point);
ReelSoundAsset (boost::shared_ptr<const cxml::Node>);
boost::shared_ptr<SoundMXF> mxf () {
return boost::dynamic_pointer_cast<SoundMXF> (_content.object ());
}
+
+ boost::shared_ptr<const SoundMXF> mxf () const {
+ return boost::dynamic_pointer_cast<const SoundMXF> (_content.object ());
+ }
private:
+ std::string key_type () const;
std::string cpl_node_name () const;
};