Visualization Library v1.0.3

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

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Public Types | Public Member Functions

vl::VLXVisitorLinker Class Reference

Substitutes IDs into VLXStructures using the provided link map. More...

#include <VLXVisitorLinker.hpp>

Inheritance diagram for vl::VLXVisitorLinker:
vl::VLXVisitor vl::Object

List of all members.

Public Types

enum  EError { NoError, UnresolvedID }

Public Member Functions

 VLXVisitorLinker (const std::map< std::string, ref< VLXStructure > > *map=NULL)
void setLinkMap (const std::map< std::string, ref< VLXStructure > > *map)
VLXStructurelink (const std::string &uid)
virtual void visitStructure (VLXStructure *obj)
virtual void visitList (VLXList *list)
virtual void visitArray (VLXArrayInteger *)
virtual void visitArray (VLXArrayReal *)
EError error () const
void setError (EError err)

Detailed Description

Substitutes IDs into VLXStructures using the provided link map.

Definition at line 41 of file VLXVisitorLinker.hpp.


Member Enumeration Documentation

Enumerator:
NoError 
UnresolvedID 

Definition at line 46 of file VLXVisitorLinker.hpp.


Constructor & Destructor Documentation

vl::VLXVisitorLinker::VLXVisitorLinker ( const std::map< std::string, ref< VLXStructure > > *  map = NULL ) [inline]

Definition at line 53 of file VLXVisitorLinker.hpp.

References NoError.


Member Function Documentation

void vl::VLXVisitorLinker::setLinkMap ( const std::map< std::string, ref< VLXStructure > > *  map ) [inline]

Definition at line 59 of file VLXVisitorLinker.hpp.

VLXStructure* vl::VLXVisitorLinker::link ( const std::string &  uid ) [inline]

Definition at line 64 of file VLXVisitorLinker.hpp.

References error(), NULL, UnresolvedID, and VL_CHECK.

Referenced by visitList(), and visitStructure().

virtual void vl::VLXVisitorLinker::visitStructure ( VLXStructure obj ) [inline, virtual]
virtual void vl::VLXVisitorLinker::visitList ( VLXList list ) [inline, virtual]
virtual void vl::VLXVisitorLinker::visitArray ( VLXArrayInteger  ) [inline, virtual]

Reimplemented from vl::VLXVisitor.

Definition at line 158 of file VLXVisitorLinker.hpp.

virtual void vl::VLXVisitorLinker::visitArray ( VLXArrayReal  ) [inline, virtual]

Reimplemented from vl::VLXVisitor.

Definition at line 160 of file VLXVisitorLinker.hpp.

EError vl::VLXVisitorLinker::error (  ) const [inline]

Definition at line 162 of file VLXVisitorLinker.hpp.

Referenced by link(), and vl::VLXLinker::link().

void vl::VLXVisitorLinker::setError ( EError  err ) [inline]

Definition at line 164 of file VLXVisitorLinker.hpp.


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

Visualization Library v1.0.3 Reference Documentation
Copyright Michele Bosi. All rights reserved.
Updated on Tue Feb 7 2017 00:55:08.
Permission is granted to use this page to write and publish articles regarding Visualization Library.