OEErrorHandlerImplBase

class OEErrorHandlerImplBase

This class represents OEErrorHandlerImplBase.

The OEErrorHandlerImplBase abstract base class is used to define the API that can be used to customize an OEErrorHandler, typically the system error handler, OEThrow. For example, this class may be implemented to customize how OpenEye toolkit messages are handled as all OpenEye toolkits will write their messages to OEThrow. The handler used by OEThrow can be changed with the OEErrorHandler::SetHandlerImpl method.

Implementations of this class only need to implement OEErrorHandlerImplBase::Msg and OEErrorHandlerImplBase::CreateCopy.

Constructors

OEErrorHandlerImplBase()

Default and copy constructors.

Clear

void Clear()

Count

unsigned int Count(unsigned int level=0) const

CreateCopy

OEErrorHandlerImplBase *CreateCopy() const =0

GetLevel

unsigned int GetLevel() const

GetStrict

bool GetStrict() const

IncrementCount

void IncrementCount(unsigned int level)

Msg

void Msg(unsigned int level, const std::string &)=0

SetLevel

void SetLevel(unsigned int level)

SetStrict

void SetStrict(bool strict)