OGLplus (0.52.0) a C++ wrapper for OpenGL

Base class for limited implementation-dependent numeric values. More...

#include </home/chochlik/devel/oglplus/include/oglplus/limited_value.hpp>

Inheritance diagram for oglplus::LimitedCount< Query >:

Public Member Functions

template<typename Type >
 operator Type (void) const
 Returns the value.
 

Protected Member Functions

 LimitedCount (GLuint value, const char *query_name)
 

Detailed Description

template<GLenum Query>
class oglplus::LimitedCount< Query >

Base class for limited implementation-dependent numeric values.

This class checks if the given unsigned int value is in the implementation-dependent range of allowed valued and throws an LimitError exception if it is not.

Note
Do not use this templates directly, use the derived types or the typedefs of instantiations instead.

Constructor & Destructor Documentation

template<GLenum Query>
oglplus::LimitedCount< Query >::LimitedCount ( GLuint  value,
const char *  query_name 
)
protected
Exceptions
Error
LimitError

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

Copyright © 2010-2014 Matúš Chochlík, University of Žilina, Žilina, Slovakia.
<matus.chochlik -at- fri.uniza.sk>
<chochlik -at -gmail.com>
Documentation generated on Mon Sep 22 2014 by Doxygen (version 1.8.6).