32 #ifndef ResourceLoadWriter_INCLUDE_ONCE 33 #define ResourceLoadWriter_INCLUDE_ONCE 39 class ResourceDatabase;
virtual ref< ResourceDatabase > loadResource(const String &path) const =0
String toLowerCase() const
Returns the lower-case version of a String.
An abstract class representing a file.
The String class implements an advanced UTF16 (Unicode BMP) string manipulation engine.
bool canLoad(const String &extension) const
Returns true if the given file type can be loaded.
const String & writeExtensions() const
Returns the string containing the file types that can be written.
void setLoadExtensions(const String &extensions)
Sets the set of file extensions that can be loaded.
virtual bool writeResource(const String &path, ResourceDatabase *resource) const =0
Visualization Library main namespace.
bool canWrite(const String &extension) const
Returns true if the given file type can be written.
The base class for all the reference counted objects.
const String & loadExtensions() const
Returns the string containing the file types that can be loaded.
void setWriteExtensions(const String &extensions)
Sets the set of file extensions that can be written.
int find(wchar_t ch, int start=0) const
Searches for the specified character ch starting at position start and returns the index of the first...
#define VL_INSTRUMENT_ABSTRACT_CLASS(ClassName, BaseClass)
ResourceLoadWriter(const String &load_extensions, const String &write_extensions)
The ref<> class is used to reference-count an Object.
The ResourceLoadWriter class is an abstract class used to implement read/write support for one or mor...
The ResourceDatabase class contains and manipulates a set of resources.