MDSTk Libraries
1.1.0
Medical Data Segmentation Toolkit
|
Medical Data Segmentation Toolkit (MDSTk)
Copyright (c) 2003-2005 by Michal Spanel
.
More...
Classes | |
struct | mds::base::CConstructorFailed |
Exception thrown from a failed constructor. More... | |
struct | mds::base::CException |
Base class for all MDSTk exceptions. More... | |
struct | mds::base::CFunctionFailed |
Sample exception thrown from a failed function. More... | |
struct | mds::base::CNotImplemented |
Exception thrown from a failed constructor. More... | |
Namespaces | |
namespace | mds |
Medical Data Segmentation Toolkit (MDSTk) | |
namespace | mds::base |
Defines | |
#define | MDS_DECLARE_EXCEPTION(ClassName, Description) |
Helper macro declares a new exception derived from the mds::base::CException class. |
Medical Data Segmentation Toolkit (MDSTk)
Copyright (c) 2003-2005 by Michal Spanel
.
Author: Michal Spanel, spanel@fit.vutbr.cz
Date: 2003/10/23
Description:
#define MDS_DECLARE_EXCEPTION | ( | ClassName, | |
Description | |||
) |
struct ClassName : public mds::base::CException \ { \ ClassName() throw() {} \ virtual ~ClassName() throw() {} \ virtual const char *what() const throw() { return Description; } \ };
Helper macro declares a new exception derived from the mds::base::CException class.