}
+/** Create an Asset from a given file with a known ID.
+ * @param file File name.
+ * @param id ID.
+ */
Asset::Asset (string id, boost::filesystem::path file)
: Object (id)
, _file (file)
private:
friend struct ::asset_test;
+ /** @return type string for PKLs for this asset */
virtual std::string pkl_type (Standard standard) const = 0;
/** Hash of _file if it has been computed */
Time () : h (0), m (0), s (0), e (0), tcr (1) {}
/** Construct a Time.
- * @param Frame index (starting from 0).
+ * @param frame Frame index (starting from 0).
* @param frames_per_second Frames per second.
* @param tcr Timecode rate.
*/
* content presented may be less than this.
*/
int64_t _intrinsic_duration;
+ /** <ContentTitleText> from the asset */
std::string _content_title_text;
boost::optional<std::string> _language;
boost::optional<std::string> _annotation_text;