Basic Image AlgorithmS Library 2.8.0
Public Member Functions | Private Attributes

BIAS::glfException Class Reference

Exception class used for run-time errors in the OpenGLFramework. More...

#include <OpenGLFramework/Base/glfException.hh>

Inheritance diagram for BIAS::glfException:
Collaboration diagram for BIAS::glfException:

List of all members.

Public Member Functions

const std::string & GetFileName () const
 Returns the source code file name where the error occured.
int GetLineNumber () const
 Returns the line number in the source code file where the error occured.
const std::string & GetMessageString () const
 Returns the description of the error including the file name and line number where the error occured.
 glfException (const std::string &fileName, int lineNumber, const std::string &message)
 Exception constructor.

Private Attributes

std::string fileName_
int lineNumber_
std::string message_

Detailed Description

Exception class used for run-time errors in the OpenGLFramework.

Author:
jkollmann
Examples:

ExampleMultipleDepthWarp.cpp, ExampleMultisampleBlit.cpp, ExamplePlainPerPixelProcessing.cpp, ExampleRenderingContext.cpp, ExampleStencilBuffer.cpp, and ExampleTemplateSpecializedBatch.cpp.

Definition at line 79 of file glfException.hh.


Constructor & Destructor Documentation

glfException::glfException ( const std::string &  fileName,
int  lineNumber,
const std::string &  message 
)

Exception constructor.

Parameters:
fileNameFile name of source code file where the error occured.
lineNumberLine number in source code file where the error occured.
messageDescription of the error.

Definition at line 29 of file glfException.cpp.

References fileName_, lineNumber_, and message_.


Member Function Documentation

const std::string & glfException::GetFileName ( ) const

Returns the source code file name where the error occured.

Definition at line 42 of file glfException.cpp.

References fileName_.

int glfException::GetLineNumber ( ) const

Returns the line number in the source code file where the error occured.

Definition at line 47 of file glfException.cpp.

References lineNumber_.

const std::string & glfException::GetMessageString ( ) const

Member Data Documentation

std::string BIAS::glfException::fileName_ [private]

Definition at line 110 of file glfException.hh.

Referenced by GetFileName(), and glfException().

Definition at line 111 of file glfException.hh.

Referenced by GetLineNumber(), and glfException().

std::string BIAS::glfException::message_ [private]

Definition at line 112 of file glfException.hh.

Referenced by GetMessageString(), and glfException().


The documentation for this class was generated from the following files:
 All Classes Functions Variables Typedefs Enumerations Enumerator Friends