glbinding
2.1.1.96dbfd46d679
A C++ binding for the OpenGL API, generated using the gl.xml specification.
|
The AbstractValue class represents the superclass of a printable wrapper around an OpenGL data type. More...
#include <glbinding/include/glbinding/AbstractValue.h>
Public Member Functions | |
AbstractValue () | |
Constructor. More... | |
virtual | ~AbstractValue () |
Destructor for correct memory deallocation on subclasses. More... | |
virtual void | printOn (std::ostream &stream) const =0 |
Prints the contents of this AbstractValue on a stream. More... | |
std::string | asString () const |
Convert the contents of this AbstractValue to a string. More... | |
The AbstractValue class represents the superclass of a printable wrapper around an OpenGL data type.
This class and its subclasses Value<T> are mainly used when callbacks of OpenGL functions are used.
glbinding::AbstractValue::AbstractValue | ( | ) |
Constructor.
|
virtual |
Destructor for correct memory deallocation on subclasses.
|
pure virtual |
Prints the contents of this AbstractValue on a stream.
[in] | stream | The stream to print on. |
Implemented in glbinding::Value< T >, glbinding::Value< T >, glbinding::Value< T >, glbinding::Value< T >, glbinding::Value< T >, and glbinding::Value< T >.
std::string glbinding::AbstractValue::asString | ( | ) | const |
Convert the contents of this AbstractValue to a string.