glbinding  3.0.2.58901078581f
A C++ binding for the OpenGL API, generated using the gl.xml specification.
glbinding::Value< T > Class Template Reference

The Value class represents a printable wrapper around an OpenGL data type. More...

#include <glbinding/include/glbinding/Value.h>

Inheritance diagram for glbinding::Value< T >:
glbinding::AbstractValue

Public Member Functions

GLBINDING_CONSTEXPR Value (const T &value)
 Constructor. More...
 
Valueoperator= (const Value &)=delete
 The deleted assigment operator. More...
 
GLBINDING_CONSTEXPR T value () const
 Get the value. More...
 
- Public Member Functions inherited from glbinding::AbstractValue
 AbstractValue ()
 Constructor. More...
 
virtual ~AbstractValue ()
 Destructor for correct memory deallocation on subclasses. More...
 

Protected Attributes

const T m_value
 The value. More...
 

Detailed Description

template<typename T>
class glbinding::Value< T >

The Value class represents a printable wrapper around an OpenGL data type.

Template Parameters
TThe data type of the wrapped value
Remarks
This class is mainly used when callbacks of OpenGL functions are used

Constructor & Destructor Documentation

template<typename T >
GLBINDING_CONSTEXPR glbinding::Value< T >::Value ( const T &  value)
inline

Constructor.

Parameters
[in]valueThe value that should be printed later

Member Function Documentation

template<typename T >
Value& glbinding::Value< T >::operator= ( const Value< T > &  )
delete

The deleted assigment operator.

Remarks
For this dynamically allocated Value, no contents should be changable
template<typename T >
GLBINDING_CONSTEXPR T glbinding::Value< T >::value ( ) const
inline

Get the value.

Returns
The value

References glbinding::Value< T >::m_value.

Member Data Documentation

template<typename T >
const T glbinding::Value< T >::m_value
protected

The value.

Referenced by glbinding::Value< T >::value().


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