- friend class PictureAsset;
- friend class SoundAsset;
-
- std::string digest () const;
- boost::filesystem::path path () const;
-
- /** Directory that our MXF or XML file is in */
- std::string _directory;
- /** Name of our MXF or XML file */
- std::string _file_name;
- /** Our UUID */
- std::string _uuid;
-
-private:
- /** Digest of our MXF or XML file */
- mutable std::string _digest;
+ friend struct ::asset_test;
+
+ virtual std::string pkl_type (Standard standard) const = 0;
+
+ /** The most recent disk file used to read or write this asset; may be empty */
+ mutable boost::filesystem::path _file;
+ /** Hash of _file, or empty if the hash has not yet been computed */
+ mutable std::string _hash;