![]() |
MDSTk Libraries
1.1.0
Medical Data Segmentation Toolkit
|
Medical Data Segmentation Toolkit (MDSTk)
Copyright (c) 2003-2009 by Michal Spanel
.
More...
Classes | |
| class | mds::CNamed |
| Base class for all named objects. More... | |
Namespaces | |
| namespace | mds |
Medical Data Segmentation Toolkit (MDSTk) | |
Defines | |
| #define | MDS_CLASS_NAME(name) |
| Macro used to add virtual method getClassName() to a class. | |
| #define | MDS_STATIC_NAME(name) |
| Macro used to add static method getClassName() to a class. | |
| #define | MDS_STATIC_TEMPLATE_NAME(Name, Type) |
| Special macro used to add static method getClassName() to a class template. | |
| #define | MDS_TEMPLATE_NAME(Name, Type) |
| Special macro used to add virtual method getClassName() to a class template. | |
Medical Data Segmentation Toolkit (MDSTk)
Copyright (c) 2003-2009 by Michal Spanel
.
Author: Michal Spanel, spanel@fit.vutbr.cz
Date: 2009/11/22
Description:
| #define MDS_CLASS_NAME | ( | name | ) |
virtual const char *getClassName() const \ { \ return name; \ }
Macro used to add virtual method getClassName() to a class.
| #define MDS_STATIC_NAME | ( | name | ) |
static const char *getClassName() \ { \ return name; \ }
Macro used to add static method getClassName() to a class.
| #define MDS_STATIC_TEMPLATE_NAME | ( | Name, | |
| Type | |||
| ) |
static const char *getClassName() \ { \ static const std::string ssName = std::string(Name) + '<' + std::string(Type) + '>'; \ return ssName.c_str(); \ }
Special macro used to add static method getClassName() to a class template.
Name contains information about concrete template parameters.
| #define MDS_TEMPLATE_NAME | ( | Name, | |
| Type | |||
| ) |
virtual const char *getClassName() const \ { \ static const std::string ssName = std::string(Name) + '<' + std::string(Type) + '>'; \ return ssName.c_str(); \ }
Special macro used to add virtual method getClassName() to a class template.
Name contains information about concrete template parameters.
1.7.6.1