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

Wrapper for all VLX value types. More...

#include <VLXValue.hpp>

List of all members.

Public Types

enum  EType {
  Bool, Integer, Real, String,
  Identifier, ID, RawtextBlock, List,
  Structure, ArrayInteger, ArrayReal
}

Public Member Functions

 VLXValue ()
 VLXValue (VLXStructure *obj)
 VLXValue (VLXList *list)
 VLXValue (VLXRawtextBlock *rawtext)
 VLXValue (VLXArrayInteger *arr)
 VLXValue (VLXArrayReal *arr)
 VLXValue (long long i)
 VLXValue (double d)
 VLXValue (const char *str, EType type)
 VLXValue (bool boolean)
 VLXValue (const VLXValue &other)
 ~VLXValue ()
VLCORE_EXPORT VLXValueoperator= (const VLXValue &other)
EType type () const
VLCORE_EXPORT VLXStructuresetStructure (VLXStructure *)
VLXStructuregetStructure ()
const VLXStructuregetStructure () const
VLCORE_EXPORT VLXListsetList (VLXList *)
VLXListgetList ()
const VLXListgetList () const
VLCORE_EXPORT VLXRawtextBlocksetRawtextBlock (VLXRawtextBlock *)
VLXRawtextBlockgetRawtextBlock ()
const VLXRawtextBlockgetRawtextBlock () const
VLCORE_EXPORT VLXArraysetArray (VLXArray *)
VLCORE_EXPORT VLXArrayIntegersetArrayInteger (VLXArrayInteger *)
VLCORE_EXPORT VLXArrayRealsetArrayReal (VLXArrayReal *)
VLXArrayIntegergetArrayInteger ()
const VLXArrayIntegergetArrayInteger () const
VLXArrayRealgetArrayReal ()
const VLXArrayRealgetArrayReal () const
const std::string & setString (const char *str)
const std::string & getString () const
const std::string & setIdentifier (const char *str)
const std::string & getIdentifier () const
const std::string & setID (const char *str)
const std::string & getID () const
long long setInteger (long long val)
long long getInteger () const
double setReal (double val)
double getReal () const
bool setBool (bool val)
bool getBool () const
int lineNumber () const
void setLineNumber (int line)

Detailed Description

Wrapper for all VLX value types.

Definition at line 239 of file VLXValue.hpp.


Member Enumeration Documentation

Enumerator:
Bool 
Integer 
Real 
String 
Identifier 
ID 
RawtextBlock 
List 
Structure 
ArrayInteger 
ArrayReal 

Definition at line 242 of file VLXValue.hpp.


Constructor & Destructor Documentation

vl::VLXValue::VLXValue (  ) [inline]

Definition at line 266 of file VLXValue.hpp.

References Integer.

vl::VLXValue::VLXValue ( VLXStructure obj ) [inline]

Definition at line 273 of file VLXValue.hpp.

References Integer, and setStructure().

vl::VLXValue::VLXValue ( VLXList list ) [inline]

Definition at line 282 of file VLXValue.hpp.

References Integer, and setList().

vl::VLXValue::VLXValue ( VLXRawtextBlock rawtext ) [inline]

Definition at line 291 of file VLXValue.hpp.

References Integer, and setRawtextBlock().

vl::VLXValue::VLXValue ( VLXArrayInteger arr ) [inline]

Definition at line 300 of file VLXValue.hpp.

References Integer, and setArrayInteger().

vl::VLXValue::VLXValue ( VLXArrayReal arr ) [inline]

Definition at line 308 of file VLXValue.hpp.

References Integer, and setArrayReal().

vl::VLXValue::VLXValue ( long long  i ) [inline]

Definition at line 342 of file VLXValue.hpp.

References Integer.

vl::VLXValue::VLXValue ( double  d ) [inline]

Definition at line 349 of file VLXValue.hpp.

References Real.

vl::VLXValue::VLXValue ( const char *  str,
EType  type 
) [inline]

Definition at line 356 of file VLXValue.hpp.

References ID, Identifier, Integer, setID(), setIdentifier(), setString(), and VL_TRAP.

vl::VLXValue::VLXValue ( bool  boolean ) [inline]

Definition at line 373 of file VLXValue.hpp.

References Integer, and setBool().

vl::VLXValue::VLXValue ( const VLXValue other ) [inline]

Definition at line 382 of file VLXValue.hpp.

References Integer.

vl::VLXValue::~VLXValue (  ) [inline]

Definition at line 391 of file VLXValue.hpp.


Member Function Documentation

VLXValue & VLXValue::operator= ( const VLXValue other )

Definition at line 83 of file VLXValue.cpp.

References ArrayInteger, ArrayReal, ID, Identifier, List, RawtextBlock, and Structure.

EType vl::VLXValue::type (  ) const [inline]
VLXStructure * VLXValue::setStructure ( VLXStructure obj )
VLXStructure* vl::VLXValue::getStructure (  ) [inline]
const VLXStructure* vl::VLXValue::getStructure (  ) const [inline]

Definition at line 403 of file VLXValue.hpp.

References Structure, and VL_CHECK.

VLXList * VLXValue::setList ( VLXList list )
VLXList* vl::VLXValue::getList (  ) [inline]
const VLXList* vl::VLXValue::getList (  ) const [inline]

Definition at line 411 of file VLXValue.hpp.

References List, and VL_CHECK.

VLXRawtextBlock * VLXValue::setRawtextBlock ( VLXRawtextBlock fblock )
VLXRawtextBlock* vl::VLXValue::getRawtextBlock (  ) [inline]
const VLXRawtextBlock* vl::VLXValue::getRawtextBlock (  ) const [inline]

Definition at line 419 of file VLXValue.hpp.

References RawtextBlock, and VL_CHECK.

VLXArray * VLXValue::setArray ( VLXArray arr )
VLXArrayInteger * VLXValue::setArrayInteger ( VLXArrayInteger arr )

Definition at line 167 of file VLXValue.cpp.

References ArrayInteger, and VL_CHECK.

Referenced by vl::VLXParserVLB::readValue(), setArray(), and VLXValue().

VLXArrayReal * VLXValue::setArrayReal ( VLXArrayReal arr )

Definition at line 178 of file VLXValue.cpp.

References ArrayReal, and VL_CHECK.

Referenced by vl::VLXParserVLB::readValue(), setArray(), and VLXValue().

VLXArrayInteger* vl::VLXValue::getArrayInteger (  ) [inline]
const VLXArrayInteger* vl::VLXValue::getArrayInteger (  ) const [inline]

Definition at line 444 of file VLXValue.hpp.

References ArrayInteger, and VL_CHECK.

VLXArrayReal* vl::VLXValue::getArrayReal (  ) [inline]
const VLXArrayReal* vl::VLXValue::getArrayReal (  ) const [inline]

Definition at line 447 of file VLXValue.hpp.

References ArrayReal, and VL_CHECK.

const std::string& vl::VLXValue::setString ( const char *  str ) [inline]
const std::string& vl::VLXValue::getString (  ) const [inline]
const std::string& vl::VLXValue::setIdentifier ( const char *  str ) [inline]
const std::string& vl::VLXValue::getIdentifier (  ) const [inline]
const std::string& vl::VLXValue::setID ( const char *  str ) [inline]
const std::string& vl::VLXValue::getID (  ) const [inline]
long long vl::VLXValue::setInteger ( long long  val ) [inline]
long long vl::VLXValue::getInteger (  ) const [inline]
double vl::VLXValue::setReal ( double  val ) [inline]
double vl::VLXValue::getReal (  ) const [inline]
bool vl::VLXValue::setBool ( bool  val ) [inline]
bool vl::VLXValue::getBool (  ) const [inline]
int vl::VLXValue::lineNumber (  ) const [inline]
void vl::VLXValue::setLineNumber ( int  line ) [inline]

Definition at line 520 of file VLXValue.hpp.

Referenced by vl::VLXParserVLT::parseList(), and vl::VLXParserVLT::parseStructure().


Member Data Documentation

Definition at line 525 of file VLXValue.hpp.

Definition at line 526 of file VLXValue.hpp.

Definition at line 527 of file VLXValue.hpp.

std::string* vl::VLXValue::mString

Definition at line 528 of file VLXValue.hpp.

Definition at line 529 of file VLXValue.hpp.

Definition at line 530 of file VLXValue.hpp.

Definition at line 531 of file VLXValue.hpp.

Definition at line 532 of file VLXValue.hpp.


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

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.