ITK  4.1.0
Insight Segmentation and Registration Toolkit
Public Member Functions | Protected Member Functions | Private Attributes
itk::DataObjectError Class Reference

#include <itkDataObject.h>

+ Inheritance diagram for itk::DataObjectError:
+ Collaboration diagram for itk::DataObjectError:

List of all members.

Public Member Functions

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

Protected Member Functions

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

Private Attributes

DataObjectm_DataObject

Detailed Description

Exception object for DataObject exceptions.

Definition at line 47 of file itkDataObject.h.


Constructor & Destructor Documentation

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 55 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.

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


Member Function Documentation

Get the data object that is throwing this exception.

virtual const char* itk::DataObjectError::GetNameOfClass ( ) const [virtual]

Standard type macro

Reimplemented from itk::ExceptionObject.

Reimplemented in itk::InvalidRequestedRegionError.

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.

Set the data object that is throwing this exception.


Member Data Documentation

Definition at line 87 of file itkDataObject.h.


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