13 #ifndef OGLPLUS_ERROR_PROG_VAR_1107121317_HPP
14 #define OGLPLUS_ERROR_PROG_VAR_1107121317_HPP
26 #if !OGLPLUS_ERROR_NO_PROG_NAME
29 #if !OGLPLUS_ERROR_NO_IDENTIFIER
39 #if !OGLPLUS_ERROR_NO_PROG_NAME
51 #if !OGLPLUS_ERROR_NO_IDENTIFIER
64 GLint
ObjectName(
void)
const {
return GLint(_prog_name); }
72 #if !OGLPLUS_LINK_LIBRARY || defined(OGLPLUS_IMPLEMENTING_LIBRARY)
73 #include <oglplus/error/prog_var.ipp>
76 #endif // include guard
const_iterator end(void) const
Returns iterator past the last character.
Definition: ref_tpl.hpp:177
const_iterator begin(void) const
Returns iterator to the first character.
Definition: ref_tpl.hpp:170
GLuint GetGLName(ObjectName< ObjTag > named)
Returns the GLuint OpenGL name assigned to named object.
Definition: name.hpp:38
String const reference wrapper template.
Definition: ref_tpl.hpp:72
GLint ObjectName(void) const
Returns the GL program name.
Definition: prog_var.hpp:64
Exception class for GL program-variable-related errors.
Definition: prog_var.hpp:22
::std::basic_string< GLchar > String
String class.
Definition: def.hpp:36
Exception class for general OpenGL errors.
Definition: basic.hpp:43
Declaration of basic OGLplus' exceptions.
const char * Identifier(void) const
Returns the program variable identifer.
const char * ObjectTypeName(void) const
Returns the object type name.
Definition: prog_var.hpp:61
Base class for OpenGL "named" objects.
ProgramName Program(void) const
Returns the program.