Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::DataObjectError Class Reference

Exception object for DataObject exceptions. More...

#include <itkDataObject.h>

Inheritance diagram for itk::DataObjectError:

Inheritance graph
[legend]
Collaboration diagram for itk::DataObjectError:

Collaboration graph
[legend]
List of all members.

Public Methods

 DataObjectError ()
virtual ~DataObjectError () throw ()
 DataObjectError (const char *file, unsigned int lineNumber)
 DataObjectError (const std::string &file, unsigned int lineNumber)
 DataObjectError (const DataObjectError &orig)
DataObjectError & operator= (const DataObjectError &orig)
virtual const char * GetClassName () const
void SetDataObject (DataObject *dobj)
DataObjectGetDataObject ()

Protected Methods

virtual void PrintSelf (std::ostream &os, Indent indent) const

Detailed Description

Exception object for DataObject exceptions.

Definition at line 37 of file itkDataObject.h.


Constructor & Destructor Documentation

itk::DataObjectError::DataObjectError  
 

Default constructor. Needed to ensure the exception object can be copied.

virtual itk::DataObjectError::~DataObjectError   throw () [inline, virtual]
 

Destructor. Need to specify empty throw() to avoid warnings.

Definition at line 45 of file itkDataObject.h.

itk::DataObjectError::DataObjectError const char *    file,
unsigned int    lineNumber
 

Constructor. Needed to ensure the exception object can be copied.

itk::DataObjectError::DataObjectError const std::string &    file,
unsigned int    lineNumber
 

Constructor. Needed to ensure the exception object can be copied.

itk::DataObjectError::DataObjectError const DataObjectError &    orig
 

Copy constructor. Needed to ensure the exception object can be copied.


Member Function Documentation

virtual const char* itk::DataObjectError::GetClassName   const [virtual]
 

Standard type macro

Reimplemented in itk::InvalidRequestedRegionError.

DataObject* itk::DataObjectError::GetDataObject  
 

Get the data object that is throwing this exception.

DataObjectError& itk::DataObjectError::operator= const DataObjectError &    orig
 

Operator=. Needed to ensure the exception object can be copied.

virtual void itk::DataObjectError::PrintSelf std::ostream &    os,
Indent    indent
const [protected, virtual]
 

Print exception information. This method can be overridden by specific exception subtypes. The default is to print out the location where the exception was first thrown and any description provided by the ``thrower''.

Reimplemented in itk::InvalidRequestedRegionError.

void itk::DataObjectError::SetDataObject DataObject   dobj
 

Set the data object that is throwing this exception.


The documentation for this class was generated from the following file:
Generated at Wed Mar 12 01:15:21 2003 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000