40 #ifndef _resourceasset_cpp
41 #define _resourceasset_cpp
43 #include "Resource/asset.h"
44 #include "Resource/resourceutilities.h"
65 if( ResourceMan == NULL ) {
78 if( ResourceMan == NULL ) {
virtual void _SaveAsset(const String &File)=0
Workaround method to save an asset to the filesystem.
virtual ~Asset()
Class destructor.
#define MEZZ_EXCEPTION(num, desc)
An easy way to throw exceptions with rich information.
Thrown when we just have not coded a thing yet, but we knew what the API should look like...
String CombinePathAndFileName(const String &FilePath, const String &FileName)
Convenience method to verify the necessary system separator is present when concatenating.
This implements the exception hiearchy for Mezzanine.
virtual void _LoadAsset(const String &File)=0
Workaround method to load an asset from the filesystem.
static ResourceManager * GetSingletonPtr()
Fetches a pointer to the singleton.
This is the manager responsible for the loading and unloading of files.
The defintion of the Resource Manager.
Thrown when the available information should have worked but failed for unknown reasons.
The bulk of the engine components go in this namspace.
Asset()
Class constructor.
virtual void LoadAsset(std::istream *Stream)=0
Loads an asset from an input stream.
std::string String
A datatype used to a series of characters.
virtual void SaveAsset(std::ostream *Stream)=0
Saves an asset to an output stream.