Public Member Functions | Protected Attributes
GENICAM_NAMESPACE::ExceptionReporter< E > Class Template Reference

printf like creation of exceptions More...

#include <GCException.h>

Inheritance diagram for GENICAM_NAMESPACE::ExceptionReporter< E >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 ExceptionReporter (const char *pSourceFileName, int SourceLine)
 ExceptionReporter (const char *pSourceFileName, int SourceLine, const char *pExceptionType)
Report (const char *pFormat,...)
Report ()
Report (const std::string &s)
Report (const std::stringstream &str)

Protected Attributes

GENICAM_NAMESPACE::gcstring m_ExceptionType
 the type of the exception in string
GENICAM_NAMESPACE::gcstring m_SourceFileName
 the path to the source file where the exception is thrown
int m_SourceLine
 The line within the source file where the exception is thrown.

Detailed Description

template<typename E>
class GENICAM_NAMESPACE::ExceptionReporter< E >

printf like creation of exceptions

Definition at line 167 of file GCException.h.


Constructor & Destructor Documentation

template<typename E >
GENICAM_NAMESPACE::ExceptionReporter< E >::ExceptionReporter ( const char *  pSourceFileName,
int  SourceLine 
) [inline]

Definition at line 171 of file GCException.h.

template<typename E >
GENICAM_NAMESPACE::ExceptionReporter< E >::ExceptionReporter ( const char *  pSourceFileName,
int  SourceLine,
const char *  pExceptionType 
) [inline]

Definition at line 177 of file GCException.h.


Member Function Documentation

template<typename E >
E GENICAM_NAMESPACE::ExceptionReporter< E >::Report ( const char *  pFormat,
  ... 
) [inline]

Reimplemented in GENAPI_NAMESPACE::ExceptionReporterNode< E >.

Definition at line 184 of file GCException.h.

template<typename E >
E GENICAM_NAMESPACE::ExceptionReporter< E >::Report ( ) [inline]

Definition at line 201 of file GCException.h.

template<typename E >
E GENICAM_NAMESPACE::ExceptionReporter< E >::Report ( const std::string &  s) [inline]

Definition at line 206 of file GCException.h.

template<typename E >
E GENICAM_NAMESPACE::ExceptionReporter< E >::Report ( const std::stringstream &  str) [inline]

Definition at line 211 of file GCException.h.


Member Data Documentation

the type of the exception in string

Reimplemented in GENAPI_NAMESPACE::ExceptionReporterNode< E >.

Definition at line 224 of file GCException.h.

the path to the source file where the exception is thrown

Definition at line 218 of file GCException.h.

template<typename E >
int GENICAM_NAMESPACE::ExceptionReporter< E >::m_SourceLine [protected]

The line within the source file where the exception is thrown.

Definition at line 221 of file GCException.h.


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


rc_genicam_api
Author(s): Heiko Hirschmueller
autogenerated on Thu Jun 6 2019 18:42:49