# Visualization Library

A lightweight C++ OpenGL middleware for 2D/3D graphics

[Home] [Tutorials] [All Classes] [Grouped Classes]

Classes | Public Member Functions

# vl::VLXStructure Class Reference

A list of key/VLXValue pairs, can also have a tag. More...

`#include <VLXValue.hpp>`

Inheritance diagram for vl::VLXStructure:

List of all members.

## 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

## Detailed Description

A list of key/VLXValue pairs, can also have a tag.

Definition at line 540 of file VLXValue.hpp.

## Constructor & Destructor Documentation

vl::VLXStructure::VLXStructure | ( | ) | `[inline]`

Definition at line 545 of file VLXValue.hpp.

References setID().

vl::VLXStructure::VLXStructure | ( | const char * | tag ) | `[inline]`

Definition at line 551 of file VLXValue.hpp.

References setID(), and vl::VLXTaggedValue::setTag().

vl::VLXStructure::VLXStructure | ( | const char * | tag,
|  | const std::string & | uid
| ) |  | `[inline]`

Definition at line 558 of file VLXValue.hpp.

References setID(), and vl::VLXTaggedValue::setTag().

## Member Function Documentation

virtual void vl::VLXStructure::acceptVisitor | ( | VLXVisitor * | v ) | `[inline, virtual]`

Implements vl::VLXTaggedValue.

Definition at line 565 of file VLXValue.hpp.

References vl::VLXVisitor::visitStructure().

Referenced by vl::VLXVisitorCountIDs::visitStructure(), vl::VLXVisitorExportToVLT::visitValue(), and vl::VLXVisitorExportToVLB::writeValue().

VLXStructure& vl::VLXStructure::operator<< | ( | const char * | str ) | `[inline]`

Definition at line 567 of file VLXValue.hpp.

References value().

VLXStructure& vl::VLXStructure::operator<< | ( | const VLXValue & | val ) | `[inline]`

Definition at line 574 of file VLXValue.hpp.

References value().

void vl::VLXStructure::setID | ( | const char * | uid ) | `[inline]`

Definition at line 602 of file VLXValue.hpp.

References uid().

Referenced by vl::VLXParserVLB::parseStructure(), and VLXStructure().

const std::string& vl::VLXStructure::uid | ( | ) | const`[inline]`

Definition at line 604 of file VLXValue.hpp.

Referenced by vl::VLXVisitorLinkMapper::declareID(), vl::VLXParserVLT::parseStructure(), setID(), vl::VLXVisitorExportToVLT::visitStructure(), vl::VLXVisitorExportToVLB::visitStructure(), and vl::VLXVisitorCountIDs::visitStructure().

std::vector<Value>& vl::VLXStructure::value | ( | ) | `[inline]`

Definition at line 606 of file VLXValue.hpp.

Referenced by getValue(), 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::VLXClassWrapper_VertexAttribInfo::importVLX(), operator<<(), vl::VLXParser::parseMetadata(), vl::VLXParserVLB::parseStructure(), vl::VLXVisitorLinkMapper::visitStructure(), vl::VLXVisitorLinker::visitStructure(), vl::VLXVisitorExportToVLT::visitStructure(), vl::VLXVisitorExportToVLB::visitStructure(), and vl::VLXVisitorCountIDs::visitStructure().

const std::vector<Value>& vl::VLXStructure::value | ( | ) | const`[inline]`

Definition at line 608 of file VLXValue.hpp.

VLXValue* vl::VLXStructure::getValue | ( | const char * | key ) | `[inline]`

Definition at line 611 of file VLXValue.hpp.

References NULL, and value().

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().

const VLXValue* vl::VLXStructure::getValue | ( | const char * | key ) | const`[inline]`

Definition at line 619 of file VLXValue.hpp.

References NULL, and value().

The documentation for this class was generated from the following file:

- D:/VL/BuildSystem/VL_DISTRO/Visualization_Library_SDK/src/vlCore/VLXValue.hpp

Visualization Library v2011.09.1162 Reference Documentation
Copyright 2005-2011 Michele Bosi. All rights reserved.
Updated on Thu Jan 26 2012 00:44:19.
Permission is granted to use this page to write and publish articles regarding Visualization Library.