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::VLXParserVLB Class Reference

Parses a VLT file translating it into a VLX hierarchy. More...

#include <VLXParserVLB.hpp>

Inheritance diagram for vl::VLXParserVLB:
vl::VLXParser vl::Object

List of all members.

Public Member Functions

 VLXParserVLB ()
bool parseHeader ()
bool readChunk (unsigned char &chunk)
bool readInteger (long long &n)
void decodeIntegers (const std::vector< unsigned char > &in, std::vector< long long > &out)
bool readString (std::string &str)
bool parse ()
bool parseStructure (VLXStructure *st)
bool parseList (VLXList *list)
bool readValue (VLXValue &val)
void setInputFile (VirtualFile *file)
VirtualFileinputFile ()
const VirtualFileinputFile () const

Detailed Description

Parses a VLT file translating it into a VLX hierarchy.

Definition at line 41 of file VLXParserVLB.hpp.


Constructor & Destructor Documentation

vl::VLXParserVLB::VLXParserVLB (  ) [inline]

Definition at line 46 of file VLXParserVLB.hpp.

References vl::VLXParser::mVersion.


Member Function Documentation

bool vl::VLXParserVLB::parseHeader (  ) [inline, virtual]
bool vl::VLXParserVLB::readChunk ( unsigned char &  chunk ) [inline]

Definition at line 80 of file VLXParserVLB.hpp.

References inputFile(), and vl::VirtualFile::read().

Referenced by parse(), and readValue().

bool vl::VLXParserVLB::readInteger ( long long &  n ) [inline]

Definition at line 82 of file VLXParserVLB.hpp.

References inputFile(), and vl::VirtualFile::read().

Referenced by parseList(), parseStructure(), readString(), and readValue().

void vl::VLXParserVLB::decodeIntegers ( const std::vector< unsigned char > &  in,
std::vector< long long > &  out 
) [inline]

Definition at line 108 of file VLXParserVLB.hpp.

Referenced by readValue().

bool vl::VLXParserVLB::readString ( std::string &  str ) [inline]

Definition at line 132 of file VLXParserVLB.hpp.

References inputFile(), vl::VirtualFile::read(), readInteger(), and VL_CHECK.

Referenced by parseList(), parseStructure(), and readValue().

bool vl::VLXParserVLB::parse (  ) [inline, virtual]
bool vl::VLXParserVLB::parseStructure ( VLXStructure st ) [inline]
bool vl::VLXParserVLB::parseList ( VLXList list ) [inline]
bool vl::VLXParserVLB::readValue ( VLXValue val ) [inline]
void vl::VLXParserVLB::setInputFile ( VirtualFile file ) [inline]

Definition at line 497 of file VLXParserVLB.hpp.

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

VirtualFile* vl::VLXParserVLB::inputFile (  ) [inline]

Definition at line 499 of file VLXParserVLB.hpp.

References vl::ref< T >::get().

Referenced by parse(), parseHeader(), readChunk(), readInteger(), readString(), and readValue().

const VirtualFile* vl::VLXParserVLB::inputFile (  ) const [inline]

Definition at line 501 of file VLXParserVLB.hpp.

References vl::ref< T >::get().


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.