glbinding  2.1.1.96dbfd46d679
A C++ binding for the OpenGL API, generated using the gl.xml specification.
glbinding::SharedBitfieldBase< T > Class Template Reference

The base class of a SharedBitfield, containing the actual (and convertible) bitfield value. More...

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

Public Types

using UnderlyingType = T
 Propagate underlying type. More...
 

Public Member Functions

 SharedBitfieldBase (T value)
 Constructor. More...
 
 operator T () const
 Cast operator to the underlying type. More...
 

Protected Attributes

m_value
 The value of the SharedBitfield. More...
 

Detailed Description

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

The base class of a SharedBitfield, containing the actual (and convertible) bitfield value.

Parameters
TThe underlying type of the type-safe enum class.

Member Typedef Documentation

template<typename T>
using glbinding::SharedBitfieldBase< T >::UnderlyingType = T

Propagate underlying type.

Constructor & Destructor Documentation

template<typename T>
glbinding::SharedBitfieldBase< T >::SharedBitfieldBase ( value)

Constructor.

Parameters
[in]valueThe value encoded in this shared bitfield.

Member Function Documentation

template<typename T >
glbinding::SharedBitfieldBase< T >::operator T ( ) const
explicit

Cast operator to the underlying type.

Returns
The bitfield value.

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

Member Data Documentation

template<typename T>
T glbinding::SharedBitfieldBase< T >::m_value
protected

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