Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages   Examples  

CTBexception Class Reference

Base class for exceptions **. More...

#include "CTBexception.hxx"

Inheritance diagram for CTBexception:

Inheritance graph
[legend]
List of all members.

Public Methods

 CTBexception ()
 CTBexception (const char *c_name, const char *c_message=0, const char *c_module=0)
virtual ~CTBexception ()
const char * Name () const
const char * Message () const
const char * Module () const
virtual void ToStream (ostream &os) const

Protected Attributes

const char * mc_name
const char * mc_message
const char * mc_module

Related Functions

(Note that these are not member functions.)

ostream & operator<< (ostream &os, const CTBexception &obj)

Detailed Description

Base class for exceptions **.

Definition at line 16 of file CTBexception.hxx.


Constructor & Destructor Documentation

CTBexception::CTBexception [inline]
 

Default constructor.

Definition at line 17 of file CTBexception.icc.

CTBexception::CTBexception const char * c_name,
const char * c_message = 0,
const char * c_module = 0
[inline]
 

Construct with name, module and message.

Definition at line 26 of file CTBexception.icc.

CTBexception::~CTBexception [virtual]
 

Virtual destructor.

Definition at line 25 of file CTBexception.cxx.


Member Function Documentation

const char * CTBexception::Name const [inline]
 

Returns exception name.

Definition at line 36 of file CTBexception.icc.

const char * CTBexception::Message const [inline]
 

Returns message text.

Definition at line 44 of file CTBexception.icc.

const char * CTBexception::Module const [inline]
 

Returns module name.

Definition at line 52 of file CTBexception.icc.

void CTBexception::ToStream ostream & os const [virtual]
 

ostream insertion.

Reimplemented in CTBexceptionConformity, CTBexceptionIndexRange, CTBexceptionMath, and CTBexceptionRetcode.

Definition at line 31 of file CTBexception.cxx.

Referenced by operator<<().


Friends And Related Function Documentation

ostream & operator<< ostream & os,
const CTBexception & obj
[related]
 

ostream insertion operator.

Definition at line 63 of file CTBexception.icc.


Member Data Documentation

const char* CTBexception::mc_name [protected]
 

exception name.

Definition at line 33 of file CTBexception.hxx.

const char* CTBexception::mc_message [protected]
 

message text.

Definition at line 34 of file CTBexception.hxx.

const char* CTBexception::mc_module [protected]
 

module name.

Definition at line 35 of file CTBexception.hxx.


The documentation for this class was generated from the following files:
Generated at Fri Oct 24 18:13:36 2003 for CTBbase by doxygen1.2.9-20010812 written by Dimitri van Heesch, © 1997-2001