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

CTBexceptionIndexRange Class Reference

Index range exception class **. More...

#include "CTBexceptionIndexRange.hxx"

Inheritance diagram for CTBexceptionIndexRange:

Inheritance graph
[legend]
Collaboration diagram for CTBexceptionIndexRange:

Collaboration graph
[legend]
List of all members.

Public Methods

 CTBexceptionIndexRange ()
 CTBexceptionIndexRange (CTBint i_index)
 CTBexceptionIndexRange (CTBint i_index, CTBint i_limit)
 CTBexceptionIndexRange (CTBint i_index, CTBint i_limit, const char *c_module)
CTBint Index () const
CTBint Limit () const
virtual void ToStream (ostream &os) const

Protected Attributes

CTBint mi_index
CTBint mi_limit

Related Functions

(Note that these are not member functions.)

void CTBindexRangeCheck (CTBint i_ind, CTBint i_limit, const char *c_module)
void CTBindexRangeCheck (const CTBrange &ran, CTBint i_limit, const char *c_module)

Detailed Description

Index range exception class **.

Definition at line 19 of file CTBexceptionIndexRange.hxx.


Constructor & Destructor Documentation

CTBexceptionIndexRange::CTBexceptionIndexRange [inline]
 

Default constructor.

Definition at line 17 of file CTBexceptionIndexRange.icc.

CTBexceptionIndexRange::CTBexceptionIndexRange CTBint i_index [inline, explicit]
 

Construct with faulty index value.

Definition at line 26 of file CTBexceptionIndexRange.icc.

CTBexceptionIndexRange::CTBexceptionIndexRange CTBint i_index,
CTBint i_limit
[inline]
 

Construct with faulty index value and upper index limit.

Definition at line 35 of file CTBexceptionIndexRange.icc.

CTBexceptionIndexRange::CTBexceptionIndexRange CTBint i_index,
CTBint i_limit,
const char * c_module
[inline]
 

Construct with faulty index value, upper index limit, and module name.

Definition at line 45 of file CTBexceptionIndexRange.icc.


Member Function Documentation

CTBint CTBexceptionIndexRange::Index const [inline]
 

Returns faulty index value.

Definition at line 56 of file CTBexceptionIndexRange.icc.

CTBint CTBexceptionIndexRange::Limit const [inline]
 

Returns index limit.

Definition at line 64 of file CTBexceptionIndexRange.icc.

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

ostream insertion.

Reimplemented from CTBexception.

Definition at line 25 of file CTBexceptionIndexRange.cxx.


Friends And Related Function Documentation

void CTBindexRangeCheck CTBint i_ind,
CTBint i_limit,
const char * c_module
[related]
 

Check index i_ind and throw exception if beyond 0,.., i_limit.

Definition at line 40 of file CTBexceptionIndexRange.cxx.

void CTBindexRangeCheck const CTBrange & ran,
CTBint i_limit,
const char * c_module
[related]
 

Check range ran and throw exception if beyond 0,.., i_limit.

Definition at line 53 of file CTBexceptionIndexRange.cxx.


Member Data Documentation

CTBint CTBexceptionIndexRange::mi_index [protected]
 

index value causing the abort.

Definition at line 35 of file CTBexceptionIndexRange.hxx.

CTBint CTBexceptionIndexRange::mi_limit [protected]
 

upper limit for index.

Definition at line 36 of file CTBexceptionIndexRange.hxx.


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