Visualization Library v1.0.3A lightweight C++ OpenGL middleware for 2D/3D graphics |
[Download] [Tutorials] [All Classes] [Grouped Classes] |
VLX wrapper of vl::ResourceDatabase. More...
#include <VLXWrappers.hpp>
Public Member Functions | |
void | importResourceDatabase (VLXSerializer &s, const VLXStructure *vlx, ResourceDatabase *resdb) |
virtual ref< Object > | importVLX (VLXSerializer &s, const VLXStructure *vlx) |
void | exportResourceDatabase (VLXSerializer &s, const ResourceDatabase *obj, VLXStructure *vlx) |
virtual ref< VLXStructure > | exportVLX (VLXSerializer &s, const Object *obj) |
VLX wrapper of vl::ResourceDatabase.
Definition at line 1244 of file VLXWrappers.hpp.
void vl::VLXClassWrapper_ResourceDatabase::importResourceDatabase | ( | VLXSerializer & | s, |
const VLXStructure * | vlx, | ||
ResourceDatabase * | resdb | ||
) | [inline] |
Definition at line 1246 of file VLXWrappers.hpp.
References vl::VLXValue::getList(), vl::VLXValue::getString(), vl::VLXValue::getStructure(), vl::VLXStructure::getValue(), vl::VLXSerializer::importVLX(), vl::VLXValue::lineNumber(), vl::VLXValue::List, vl::ResourceDatabase::resources(), vl::Object::setObjectName(), vl::VLXSerializer::signalImportError(), vl::VLXValue::Structure, vl::VLXValue::type(), and VLX_IMPORT_CHECK_RETURN.
Referenced by importVLX().
virtual ref<Object> vl::VLXClassWrapper_ResourceDatabase::importVLX | ( | VLXSerializer & | s, |
const VLXStructure * | vlx | ||
) | [inline, virtual] |
Implements vl::VLXClassWrapper.
Definition at line 1275 of file VLXWrappers.hpp.
References vl::ref< T >::get(), importResourceDatabase(), and vl::VLXSerializer::registerImportedStructure().
void vl::VLXClassWrapper_ResourceDatabase::exportResourceDatabase | ( | VLXSerializer & | s, |
const ResourceDatabase * | obj, | ||
VLXStructure * | vlx | ||
) | [inline] |
Definition at line 1284 of file VLXWrappers.hpp.
References vl::VLXSerializer::canExport(), vl::Log::debug(), vl::VLXSerializer::exportVLX(), vl::ref< T >::get(), vl::Object::objectName(), vl::ResourceDatabase::resources(), and vl::vlx_String().
Referenced by exportVLX().
virtual ref<VLXStructure> vl::VLXClassWrapper_ResourceDatabase::exportVLX | ( | VLXSerializer & | s, |
const Object * | obj | ||
) | [inline, virtual] |
Implements vl::VLXClassWrapper.
Definition at line 1305 of file VLXWrappers.hpp.
References vl::Object::as(), exportResourceDatabase(), vl::VLXSerializer::generateID(), vl::ResourceDatabase::get(), vl::VLXSerializer::registerExportedObject(), VL_CHECK, and vl::vlx_makeTag().