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:
vl::VLXTaggedValue vl::Object

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)
VLXStructureoperator<< (const char *str)
VLXStructureoperator<< (const VLXValue &val)
void setID (const char *uid)
const std::string & uid () const
std::vector< Value > & value ()
const std::vector< Value > & value () const
VLXValuegetValue (const char *key)
const VLXValuegetValue (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]
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]
std::vector<Value>& vl::VLXStructure::value ( ) [inline]
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]
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:

Visualization Library 2011.09.1160 Reference Documentation
Copyright 2005-2011 Michele Bosi. All rights reserved.
Updated on Thu May 2 2013 13:41:18.
Permission is granted to use this page to write and publish articles regarding Visualization Library.