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 Member Functions

vl::VLXVisitorExportToVLT Class Reference

Translates a VLX hierarchy into VLT notation. More...

#include <VLXVisitorExportToVLT.hpp>

Inheritance diagram for vl::VLXVisitorExportToVLT:
vl::VLXVisitor vl::Object

List of all members.

Public Member Functions

 VLXVisitorExportToVLT ()
bool isUsed (const std::string &uid)
void indent ()
void format (const char *fmt,...)
void visitValue (VLXValue &value)
virtual void visitStructure (VLXStructure *obj)
virtual void visitList (VLXList *list)
virtual void visitArray (VLXArrayInteger *arr)
virtual void visitArray (VLXArrayReal *arr)
std::string rawtextEncode (const char *str)
std::string stringEncode (const char *str)
const std::string & text () const
std::string & text ()
virtual void output (const std::string &str)
virtual void output (const char *str)
void writeHeader ()
void setIDSet (std::map< std::string, int > *uids)
std::map< std::string, int > * uidSet ()
const std::map< std::string,
int > * 
uidSet () const

Detailed Description

Translates a VLX hierarchy into VLT notation.

Definition at line 42 of file VLXVisitorExportToVLT.hpp.


Constructor & Destructor Documentation

vl::VLXVisitorExportToVLT::VLXVisitorExportToVLT (  ) [inline]

Definition at line 47 of file VLXVisitorExportToVLT.hpp.

References NULL.


Member Function Documentation

bool vl::VLXVisitorExportToVLT::isUsed ( const std::string &  uid ) [inline]

Definition at line 55 of file VLXVisitorExportToVLT.hpp.

References VL_TRAP.

void vl::VLXVisitorExportToVLT::indent (  ) [inline]

Definition at line 73 of file VLXVisitorExportToVLT.hpp.

void vl::VLXVisitorExportToVLT::format ( const char *  fmt,
  ... 
) [inline]

Definition at line 99 of file VLXVisitorExportToVLT.hpp.

void vl::VLXVisitorExportToVLT::visitValue ( VLXValue value ) [inline]
virtual void vl::VLXVisitorExportToVLT::visitStructure ( VLXStructure obj ) [inline, virtual]
virtual void vl::VLXVisitorExportToVLT::visitList ( VLXList list ) [inline, virtual]

Reimplemented from vl::VLXVisitor.

Definition at line 222 of file VLXVisitorExportToVLT.hpp.

References vl::VLXTaggedValue::tag(), vl::VLXList::value(), and vl::Log::warning().

virtual void vl::VLXVisitorExportToVLT::visitArray ( VLXArrayInteger arr ) [inline, virtual]

Reimplemented from vl::VLXVisitor.

Definition at line 262 of file VLXVisitorExportToVLT.hpp.

References vl::VLXTaggedValue::tag(), vl::VLXArrayTemplate< T >::value(), and VL_CHECK.

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

Reimplemented from vl::VLXVisitor.

Definition at line 280 of file VLXVisitorExportToVLT.hpp.

References vl::VLXTaggedValue::tag(), vl::VLXArrayTemplate< T >::value(), and VL_CHECK.

std::string vl::VLXVisitorExportToVLT::rawtextEncode ( const char *  str ) [inline]

Definition at line 324 of file VLXVisitorExportToVLT.hpp.

std::string vl::VLXVisitorExportToVLT::stringEncode ( const char *  str ) [inline]

Definition at line 343 of file VLXVisitorExportToVLT.hpp.

const std::string& vl::VLXVisitorExportToVLT::text (  ) const [inline]

Definition at line 374 of file VLXVisitorExportToVLT.hpp.

Referenced by vl::VLXSerializer::saveVLT().

std::string& vl::VLXVisitorExportToVLT::text (  ) [inline]

Definition at line 376 of file VLXVisitorExportToVLT.hpp.

virtual void vl::VLXVisitorExportToVLT::output ( const std::string &  str ) [inline, virtual]

Definition at line 378 of file VLXVisitorExportToVLT.hpp.

virtual void vl::VLXVisitorExportToVLT::output ( const char *  str ) [inline, virtual]

Definition at line 383 of file VLXVisitorExportToVLT.hpp.

void vl::VLXVisitorExportToVLT::writeHeader (  ) [inline]

Definition at line 389 of file VLXVisitorExportToVLT.hpp.

Referenced by vl::VLXSerializer::saveVLT().

void vl::VLXVisitorExportToVLT::setIDSet ( std::map< std::string, int > *  uids ) [inline]

Definition at line 394 of file VLXVisitorExportToVLT.hpp.

Referenced by vl::VLXSerializer::saveVLT().

std::map< std::string, int >* vl::VLXVisitorExportToVLT::uidSet (  ) [inline]

Definition at line 396 of file VLXVisitorExportToVLT.hpp.

const std::map< std::string, int >* vl::VLXVisitorExportToVLT::uidSet (  ) const [inline]

Definition at line 398 of file VLXVisitorExportToVLT.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.