ITK  4.13.0
Insight Segmentation and Registration Toolkit
Public Member Functions | List of all members
itk::MemoryAllocationError Class Reference

#include <itkExceptionObject.h>

+ Inheritance diagram for itk::MemoryAllocationError:
+ Collaboration diagram for itk::MemoryAllocationError:

Detailed Description

Specific exception types that are subclasses of ExceptionObject follow Exception thrown when image memory allocation fails.

Definition at line 168 of file itkExceptionObject.h.

Public Member Functions

virtual const char * GetNameOfClass () const override
 
 MemoryAllocationError ()
 
 MemoryAllocationError (const char *file, unsigned int lineNumber)
 
 MemoryAllocationError (const std::string &file, unsigned int lineNumber)
 
 MemoryAllocationError (const std::string &file, unsigned int lineNumber, const std::string &desc, const std::string &loc)
 
virtual ~MemoryAllocationError () noexceptoverride
 
- Public Member Functions inherited from itk::ExceptionObject
virtual const char * GetDescription () const
 
virtual const char * GetFile () const
 
virtual unsigned int GetLine () const
 
virtual const char * GetLocation () const
 
ExceptionObjectoperator= (const ExceptionObject &orig)
 
virtual bool operator== (const ExceptionObject &orig)
 
virtual void Print (std::ostream &os) const
 
virtual void SetDescription (const std::string &s)
 
virtual void SetDescription (const char *s)
 
virtual void SetLocation (const std::string &s)
 
virtual void SetLocation (const char *s)
 
virtual const char * what () const noexceptoverride
 
virtual ~ExceptionObject () noexceptoverride
 
 ExceptionObject ()
 
 ExceptionObject (const char *file, unsigned int lineNumber=0, const char *desc="None", const char *loc="Unknown")
 
 ExceptionObject (const std::string &file, unsigned int lineNumber=0, const std::string &desc="None", const std::string &loc="Unknown")
 
 ExceptionObject (const ExceptionObject &orig)
 

Additional Inherited Members

- Public Types inherited from itk::ExceptionObject
typedef std::exception Superclass
 

Constructor & Destructor Documentation

itk::MemoryAllocationError::MemoryAllocationError ( )
inline

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

Definition at line 173 of file itkExceptionObject.h.

itk::MemoryAllocationError::MemoryAllocationError ( const char *  file,
unsigned int  lineNumber 
)
inline

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

Definition at line 176 of file itkExceptionObject.h.

itk::MemoryAllocationError::MemoryAllocationError ( const std::string &  file,
unsigned int  lineNumber 
)
inline

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

Definition at line 179 of file itkExceptionObject.h.

itk::MemoryAllocationError::MemoryAllocationError ( const std::string &  file,
unsigned int  lineNumber,
const std::string &  desc,
const std::string &  loc 
)
inline

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

Definition at line 182 of file itkExceptionObject.h.

virtual itk::MemoryAllocationError::~MemoryAllocationError ( )
overridevirtualnoexcept

Virtual destructor needed for subclasses. Has to have empty throw().

Member Function Documentation

virtual const char* itk::MemoryAllocationError::GetNameOfClass ( ) const
inlineoverridevirtual

Reimplemented from itk::ExceptionObject.

Definition at line 190 of file itkExceptionObject.h.


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