Visualization Library v1.0.3A lightweight C++ OpenGL middleware for 2D/3D graphics |
[Download] [Tutorials] [All Classes] [Grouped Classes] |
A ResourceLoadWriter capable of reading Visualization Library's VLT and VLB files. More...
#include <ioVLX.hpp>
Public Member Functions | |
LoadWriterVLX () | |
ref< ResourceDatabase > | loadResource (const String &path) const |
ref< ResourceDatabase > | loadResource (VirtualFile *file) const |
bool | writeResource (const String &path, ResourceDatabase *res_db) const |
bool | writeResource (VirtualFile *file, ResourceDatabase *res_db) const |
A ResourceLoadWriter capable of reading Visualization Library's VLT and VLB files.
Definition at line 82 of file ioVLX.hpp.
ref<ResourceDatabase> vl::LoadWriterVLX::loadResource | ( | const String & | path ) | const [inline, virtual] |
Implements vl::ResourceLoadWriter.
Definition at line 89 of file ioVLX.hpp.
References vl::isVLB(), vl::isVLT(), vl::loadVLB(), vl::loadVLT(), and NULL.
ref<ResourceDatabase> vl::LoadWriterVLX::loadResource | ( | VirtualFile * | file ) | const [inline, virtual] |
Implements vl::ResourceLoadWriter.
Definition at line 100 of file ioVLX.hpp.
References vl::isVLB(), vl::isVLT(), vl::loadVLB(), vl::loadVLT(), and NULL.
bool vl::LoadWriterVLX::writeResource | ( | const String & | path, |
ResourceDatabase * | res_db | ||
) | const [inline, virtual] |
Implements vl::ResourceLoadWriter.
Definition at line 111 of file ioVLX.hpp.
References vl::String::extractFileExtension(), vl::saveVLB(), vl::saveVLT(), and vl::String::toLowerCase().
bool vl::LoadWriterVLX::writeResource | ( | VirtualFile * | file, |
ResourceDatabase * | res_db | ||
) | const [inline, virtual] |
Implements vl::ResourceLoadWriter.
Definition at line 122 of file ioVLX.hpp.
References vl::String::extractFileExtension(), vl::VirtualFile::path(), vl::saveVLB(), vl::saveVLT(), and vl::String::toLowerCase().