OGLplus (0.45.0) a C++ wrapper for OpenGL

oglplus::ErrorData Struct Reference

Structure containing all error-related data; Used in custom error handlers. More...

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

Public Member Functions

GLenum ErrorCode (void) const
 The OpenGL error code.
 
GLuint Value (void) const
 The invalid value that caused a limit error.
 
GLuint Limit (void) const
 The limited value limit.
 
const char * Message (void) const
 The error message. More...
 
const ErrorInfoInfo (void) const
 Additional error info.
 
const Error::PropertyMapProperties (void) const
 Additional error property (key/values)
 
bool Assertion (void) const
 Indicates that an assertion has failed.
 
bool FatalError (void) const
 Indicates a fatal (very severe) error like (out of memory)
 
bool BuildError (void) const
 Indicates a build error.
 
bool LimitError (void) const
 Indicates a limited value error.
 

Detailed Description

Structure containing all error-related data; Used in custom error handlers.

Available only if the OGLPLUS_CUSTOM_ERROR_HANDLING compile-time switch is set to a nonzero value.

Member Function Documentation

const char* oglplus::ErrorData::Message ( void  ) const

The error message.

The returned pointer should not be used when its ErrorData instance goes out of scope. If this is necessary the string should be copied.


The documentation for this struct was generated from the following file:
  • /home/chochlik/devel/oglplus/include/oglplus/error.hpp

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