public:
Asset ();
Asset (boost::filesystem::path file);
- Asset (std::string id);
virtual bool equals (
boost::shared_ptr<const Asset> other,
EqualityOptions opt,
- boost::function<void (NoteType, std::string)> note
+ NoteHandler note
) const;
/** Write details of the asset to a ASSETMAP.
protected:
virtual std::string pkl_type (Standard standard) const = 0;
- /** The disk file that represents this asset, if one exists */
+ /** 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;