Mantid
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
Mantid::Kernel::Exception::OpenGLError Class Reference

OpenGL Exception. More...

#include <Exception.h>

Inheritance diagram for Mantid::Kernel::Exception::OpenGLError:

Public Member Functions

 OpenGLError (const OpenGLError &A)
 Copy constructor. More...
 
 OpenGLError (const std::string &)
 Constructor. More...
 
 OpenGLError (const std::string &, std::string)
 Constructor. More...
 
OpenGLErroroperator= (const OpenGLError &A)
 Assignment operator. More...
 
const char * what () const noexcept override
 Writes out the range and limits. More...
 

Private Attributes

const std::string objectName
 The name of the search object. More...
 
std::string outMessage
 The message returned by what() More...
 

Detailed Description

OpenGL Exception.

Definition at line 240 of file Exception.h.

Constructor & Destructor Documentation

◆ OpenGLError() [1/3]

Mantid::Kernel::Exception::OpenGLError::OpenGLError ( const std::string &  Desc,
std::string  ObjectName 
)

Constructor.

Parameters
Desc:: Function description
ObjectName:: The name of the search object

Definition at line 181 of file Exception.cpp.

References objectName, and outMessage.

◆ OpenGLError() [2/3]

Mantid::Kernel::Exception::OpenGLError::OpenGLError ( const std::string &  Desc)

Constructor.

Parameters
Desc:: Function description

Definition at line 189 of file Exception.cpp.

References outMessage.

◆ OpenGLError() [3/3]

Mantid::Kernel::Exception::OpenGLError::OpenGLError ( const OpenGLError A)

Copy constructor.

Definition at line 194 of file Exception.cpp.

Member Function Documentation

◆ operator=()

OpenGLError & Mantid::Kernel::Exception::OpenGLError::operator= ( const OpenGLError A)

Assignment operator.

◆ what()

const char * Mantid::Kernel::Exception::OpenGLError::what ( ) const
overridenoexcept

Writes out the range and limits.

Returns
a char array of foramtted error information

Definition at line 199 of file Exception.cpp.

References outMessage.

Member Data Documentation

◆ objectName

const std::string Mantid::Kernel::Exception::OpenGLError::objectName
private

The name of the search object.

Definition at line 243 of file Exception.h.

Referenced by OpenGLError().

◆ outMessage

std::string Mantid::Kernel::Exception::OpenGLError::outMessage
private

The message returned by what()

Definition at line 245 of file Exception.h.

Referenced by OpenGLError(), and what().


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