GL++  0.1
OpenGL API C++ Wrapper
 All Classes Namespaces Functions Variables Typedefs Enumerations Friends Groups Pages
glpp::no_active_context Struct Reference

Exception thrown when there is no active context. More...

#include <exception.hpp>

Inheritance diagram for glpp::no_active_context:
glpp::exception

Public Member Functions

 no_active_context () throw ()
 no_active_context (const std::string &error) throw ()
virtual ~no_active_context () throw ()
 Class is inheritable.
- Public Member Functions inherited from glpp::exception
virtual ~exception () throw ()
 Class is inheritable.
 exception (const std::string &error) throw ()
 Constructor with error string.
 exception () throw ()
 Default constructor.
virtual const char * what () const throw ()
 Return what string.

Additional Inherited Members

- Public Attributes inherited from glpp::exception
std::string m_error_str
 Error string holder.

Detailed Description

Exception thrown when there is no active context.

Constructor & Destructor Documentation

glpp::no_active_context::no_active_context ( ) throw ()
inline

Error message will be "No active context."

glpp::no_active_context::no_active_context ( const std::string &  error) throw ()
inline

Error message will be "No active context. <error>"


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