Visualization Library 2.0.0-b3
A lightweight C++ OpenGL middleware for 2D/3D graphics
|
[Download] [Tutorials] [All Classes] [Grouped Classes] |
A list of key/VLXValue pairs, can also have a tag. More...
#include <VLXValue.hpp>
Classes | |
class | Value |
Key/value pair used by VLXStructure. More... | |
Public Member Functions | |
VLXStructure () | |
VLXStructure (const char *tag) | |
VLXStructure (const char *tag, const std::string &uid) | |
virtual void | acceptVisitor (VLXVisitor *v) |
VLXStructure & | operator<< (const char *str) |
VLXStructure & | operator<< (const VLXValue &val) |
void | setID (const char *uid) |
const std::string & | uid () const |
std::vector< Value > & | value () |
const std::vector< Value > & | value () const |
VLXValue * | getValue (const char *key) |
const VLXValue * | getValue (const char *key) const |
Public Member Functions inherited from vl::VLXTaggedValue | |
VLXTaggedValue (const char *tag=NULL) | |
virtual | ~VLXTaggedValue () |
int | lineNumber () const |
void | setLineNumber (int line) |
void | setTag (const char *tag) |
const std::string & | tag () const |
Public Member Functions inherited from vl::Object | |
Object () | |
Constructor. More... | |
Object (const Object &other) | |
Copy constructor: copies the name, ref count mutex and user data. More... | |
Object & | operator= (const Object &other) |
Copy operator: copies the object's name, ref count mutex and user data. More... | |
const std::string & | objectName () const |
The name of the object, by default set to the object's class name. More... | |
void | setObjectName (const char *name) |
The name of the object, by default set to the object's class name in debug builds. More... | |
void | setObjectName (const std::string &name) |
The name of the object, by default set to the object's class name in debug builds. More... | |
void | setRefCountMutex (IMutex *mutex) |
The mutex used to protect the reference counting of an Object across multiple threads. More... | |
IMutex * | refCountMutex () |
The mutex used to protect the reference counting of an Object across multiple threads. More... | |
const IMutex * | refCountMutex () const |
The mutex used to protect the reference counting of an Object across multiple threads. More... | |
int | referenceCount () const |
Returns the number of references of an object. More... | |
void | incReference () const |
Increments the reference count of an object. More... | |
void | decReference () |
Decrements the reference count of an object and deletes it if both automaticDelete() is true the count reaches 0. More... | |
void | setAutomaticDelete (bool autodel_on) |
If set to true the Object is deleted when its reference count reaches 0. More... | |
bool | automaticDelete () const |
If set to true the Object is deleted when its reference count reaches 0. More... | |
template<class T > | |
T * | as () |
Casts an Object to the specified class. More... | |
template<class T > | |
const T * | as () const |
Casts an Object to the specified class. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from vl::Object | |
virtual | ~Object () |
Protected Attributes inherited from vl::Object | |
std::string | mObjectName |
IMutex * | mRefCountMutex |
int | mReferenceCount |
bool | mAutomaticDelete |
A list of key/VLXValue pairs, can also have a tag.
Definition at line 540 of file VLXValue.hpp.
|
inline |
Definition at line 545 of file VLXValue.hpp.
|
inline |
Definition at line 551 of file VLXValue.hpp.
References vl::VLXTaggedValue::setTag().
|
inline |
Definition at line 558 of file VLXValue.hpp.
References vl::VLXTaggedValue::setTag().
|
inlinevirtual |
Implements vl::VLXTaggedValue.
Definition at line 565 of file VLXValue.hpp.
References vl::VLXVisitor::visitStructure().
Referenced by vl::VLXSerializer::saveVLB(), vl::VLXSerializer::saveVLT(), vl::VLXVisitorCountIDs::visitStructure(), vl::VLXVisitorExportToVLT::visitValue(), and vl::VLXVisitorExportToVLB::writeValue().
|
inline |
Definition at line 611 of file VLXValue.hpp.
References NULL.
Referenced by vl::VLXClassWrapper_Actor::importActor(), vl::VLXClassWrapper_ActorEventCallback::importActorEventCallback(), vl::VLXClassWrapper_Camera::importCamera(), vl::VLXClassWrapper_Color::importColor(), vl::VLXClassWrapper_DrawCall::importDrawCall(), vl::VLXClassWrapper_Effect::importEffect(), vl::VLXClassWrapper_GLSLProgram::importGLSLProgram(), vl::VLXClassWrapper_GLSLShader::importGLSLShader(), vl::VLXClassWrapper_Light::importLight(), vl::VLXClassWrapper_LODEvaluator::importLODEvaluator(), vl::VLXClassWrapper_Material::importMaterial(), vl::VLXClassWrapper_Normal::importNormal(), vl::VLXClassWrapper_Renderable::importRenderable(), vl::VLXClassWrapper_ResourceDatabase::importResourceDatabase(), vl::VLXClassWrapper_SecondaryColor::importSecondaryColor(), vl::VLXClassWrapper_Shader::importShader(), vl::VLXClassWrapper_Texture::importTexture(), vl::VLXClassWrapper_TextureSampler::importTextureSampler(), vl::VLXClassWrapper_Transform::importTransform(), vl::VLXClassWrapper_Uniform::importUniform(), vl::VLXClassWrapper_VertexAttrib::importVertexAttrib(), vl::VLXClassWrapper_Viewport::importViewport(), and vl::VLXClassWrapper_Array::importVLX().
|
inline |
Definition at line 619 of file VLXValue.hpp.
References NULL.
|
inline |
Definition at line 567 of file VLXValue.hpp.
|
inline |
Definition at line 574 of file VLXValue.hpp.
|
inline |
Definition at line 602 of file VLXValue.hpp.
Referenced by vl::VLXParserVLB::parseStructure().
|
inline |
Definition at line 604 of file VLXValue.hpp.
Referenced by vl::VLXVisitorLinkMapper::declareID(), vl::VLXParserVLT::parseStructure(), vl::VLXVisitorCountIDs::visitStructure(), vl::VLXVisitorExportToVLB::visitStructure(), and vl::VLXVisitorExportToVLT::visitStructure().
|
inline |
Definition at line 606 of file VLXValue.hpp.
Referenced by vl::import_AABB(), vl::import_Sphere(), vl::VLXClassWrapper_Actor::importActor(), vl::VLXClassWrapper_Camera::importCamera(), vl::VLXClassWrapper_ClipPlane::importClipPlane(), vl::VLXClassWrapper_DrawCall::importDrawCall(), vl::VLXClassWrapper_Effect::importEffect(), vl::VLXClassWrapper_Geometry::importGeometry(), vl::VLXClassWrapper_GLSLProgram::importGLSLProgram(), vl::VLXClassWrapper_Light::importLight(), vl::VLXClassWrapper_Material::importMaterial(), vl::VLXClassWrapper_PatchParameter::importPatchParameter(), vl::VLXClassWrapper_Renderable::importRenderable(), vl::VLXClassWrapper_TexParameter::importTexParameter(), vl::VLXClassWrapper_Texture::importTexture(), vl::VLXClassWrapper_Transform::importTransform(), vl::VLXClassWrapper_Viewport::importViewport(), vl::VLXParser::parseMetadata(), vl::VLXParserVLB::parseStructure(), vl::VLXSerializer::saveVLB(), vl::VLXSerializer::saveVLT(), vl::VLXVisitorCountIDs::visitStructure(), vl::VLXVisitorLinkMapper::visitStructure(), vl::VLXVisitorLinker::visitStructure(), vl::VLXVisitorExportToVLB::visitStructure(), and vl::VLXVisitorExportToVLT::visitStructure().
|
inline |
Definition at line 608 of file VLXValue.hpp.
Visualization Library 2.0.0-b3 Reference Documentation
Updated on Tue Feb 7 2017 00:26:11.
© Copyright Michele Bosi. All rights reserved.