IWarningSource Class Reference

An interface for classes which can post warnings to an IWarningListener. For example, IEnvironment, IConnection, and IStatement. More...

Inherited by IConnection, IEnvironment, and IStatement.

List of all members.

Public Member Functions

virtual SharedPtr< IMessageSourceGetMessageSource ()=0
 Retrieves the message source.
virtual IWarningListenerGetWarningListener ()=0
 Retrieves the warning listener associated with this object.
virtual void RegisterWarningListener (IWarningListener *in_warningListener)=0
 Registers an IWarningListener*, which may be retrieved using GetWarningListener().
virtual ~IWarningSource ()
 Virtual destructor.

Detailed Description

An interface for classes which can post warnings to an IWarningListener. For example, IEnvironment, IConnection, and IStatement.


Constructor & Destructor Documentation

virtual ~IWarningSource (  )  [inline, virtual]

Virtual destructor.


Member Function Documentation

virtual SharedPtr<IMessageSource> GetMessageSource (  )  [pure virtual]

Retrieves the message source.

Returns:
The message source associated with this object.

Implemented in DSIConnection, DSIEnvironment, DSIStatement, IConnection, IEnvironment, and IStatement.

virtual IWarningListener* GetWarningListener (  )  [pure virtual]

Retrieves the warning listener associated with this object.

Returns:
The warning listener associated with this object. (NOT OWN)

Implemented in DSIConnection, DSIEnvironment, DSIStatement, and IStatement.

virtual void RegisterWarningListener ( IWarningListener in_warningListener  )  [pure virtual]

Registers an IWarningListener*, which may be retrieved using GetWarningListener().

Parameters:
in_warningListener A listener which may be used to post warnings. (NOT OWN)

Implemented in DSIConnection, DSIEnvironment, DSIStatement, IConnection, IEnvironment, and IStatement.


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

Generated on Wed May 17 14:21:16 2017 for SimbaEngine 10.1.3.1011 by simba