MDSTk Libraries
1.1.0
Medical Data Segmentation Toolkit
|
Medical Data Segmentation Toolkit (MDSTk)
Copyright (c) 2003-2005 by Michal Spanel
.
More...
#include "mdsAssert.h"
#include "mdsException.h"
#include "mdsLock.h"
#include "mdsSingleton.h"
#include <map>
Classes | |
struct | mds::base::Factory::CCannotCreate |
Exception thrown in case of an error. More... | |
class | mds::base::CFactory< T, I > |
Implements a generic object factory. More... | |
Namespaces | |
namespace | mds |
Medical Data Segmentation Toolkit (MDSTk) | |
namespace | mds::base |
namespace | mds::base::Factory |
Defines | |
#define | MDS_FACTORY(T) mds::base::CSingletonHolder<T>::getInstance() |
Returns instance of a given object factory. |
Medical Data Segmentation Toolkit (MDSTk)
Copyright (c) 2003-2005 by Michal Spanel
.
Author: Michal Spanel, spanel@fit.vutbr.cz
Date: 2005/04/03
This code is based on The Loki Library which accompanies the famous book: Alexandrescu, Andrei. "Modern C++ Design: Generic Programming and Design Patterns Applied". Copyright (c) 2001. Addison-Wesley.
The Loki Library Copyright (c) 2001 by Andrei Alexandrescu Permission to use, copy, modify, distribute and sell this software for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation.
Description:
#define MDS_FACTORY | ( | T | ) | mds::base::CSingletonHolder<T>::getInstance() |
Returns instance of a given object factory.