![]() |
glbinding
2.1.1.000000000000
A C++ binding for the OpenGL API, generated using the gl.xml specification.
|
The Value class represents a printable wrapper around an OpenGL data type. More...
#include <glbinding/include/glbinding/Value.h>
Public Member Functions | |
| Value (const T &value) | |
| Constructor. | |
| Value & | operator= (const Value &)=delete |
| The deleted assigment operator. | |
| virtual void | printOn (std::ostream &stream) const override |
| Prints the contents of this Value on a stream. | |
| GLBINDING_API void | printOn (std::ostream &stream) const |
| A specialized printOn method for the gl::GLenum Value template. | |
| GLBINDING_API void | printOn (std::ostream &stream) const |
| ** | |
| GLBINDING_API void | printOn (std::ostream &stream) const |
| A specialized printOn method for the gl::GLubyte * Value template. | |
| GLBINDING_API void | printOn (std::ostream &stream) const |
| A specialized printOn method for the gl::GLchar * Value template. | |
| GLBINDING_API void | printOn (std::ostream &stream) const |
| A specialized printOn method for the gl::GLuint_array_2 Value template. | |
Public Member Functions inherited from glbinding::AbstractValue | |
| AbstractValue () | |
| Constructor. | |
| virtual | ~AbstractValue () |
| Destructor for correct memory deallocation on subclasses. | |
| std::string | asString () const |
| Convert the contents of this AbstractValue to a string. | |
Protected Attributes | |
| const T | value |
| The value that should be printed later. | |
The Value class represents a printable wrapper around an OpenGL data type.
| T | The data type of the wrapped value. |
This class is mainly used when callbacks of OpenGL functions are used.
Constructor.
| [in] | value | The value that should be printed later. |
|
delete |
The deleted assigment operator.
For this dynamically allocated Value, no contents should be changable.
|
overridevirtual |
Prints the contents of this Value on a stream.
| [in] | stream | The stream to print on. |
Implements glbinding::AbstractValue.
References glbinding::createValue().
|
virtual |
A specialized printOn method for the gl::GLenum Value template.
Implements glbinding::AbstractValue.
|
virtual |
**
A specialized printOn method for the gl::GLenum Value template.
Implements glbinding::AbstractValue.
|
virtual |
A specialized printOn method for the gl::GLubyte * Value template.
Implements glbinding::AbstractValue.
|
virtual |
A specialized printOn method for the gl::GLchar * Value template.
Implements glbinding::AbstractValue.
|
virtual |
A specialized printOn method for the gl::GLuint_array_2 Value template.
Implements glbinding::AbstractValue.
The value that should be printed later.
1.9.8