5 #include <boost/serialization/base_object.hpp>
14 friend class boost::serialization::access;
21 template<
class Archive>
22 void serialize(Archive &ar,
const unsigned int version) {
38 std::string
name =
"Unnamed Asset";
62 virtual bool isEgg()
const {
return false;}
Base class for all assets.
Definition: Asset.h:10
std::string sourceFilePath
Path to asset file.
Definition: Asset.h:42
void serialize(Archive &ar, const unsigned int version)
Serialize an Asset to a stream of bytes.
Definition: Asset.h:22
std::string getLocationString()
Obtain asset location string.
Definition: Asset.h:54
std::string name
Asset name.
Definition: Asset.h:38
std::string id
Asset identifier.
Definition: Asset.h:34
virtual bool isEgg() const
Check whether the asset is an EggAsset or not.
Definition: Asset.h:62