MDSTk Libraries  1.1.0
Medical Data Segmentation Toolkit
Classes | Namespaces | Variables
mdsSmallObject.h File Reference

Medical Data Segmentation Toolkit (MDSTk)
Copyright (c) 2003-2005 by Michal Spanel
. More...

#include "mdsAssert.h"
#include "mdsTypes.h"
#include "mdsSingleton.h"
#include "mdsLock.h"
#include <cstddef>
#include <climits>
#include <vector>

Classes

class  mds::base::CSmallObject< C, M, A >
 Base class for polymorphic small objects providing fast allocations and deallocations. More...
class  mds::base::CSmallObjectAllocator
 Offers services for allocating small objects. More...
class  mds::base::CSmallObjectBase< C, M, A >
 Base class for small object allocation classes. More...
class  mds::base::CSmallValueObject< C, M, A >
 Base class for small objects with value-type semantics - offers fast allocations and deallocations. More...
struct  mds::base::CSmallObjectBase< C, M, A >::SMyAllocator
 Structure holding a small object allocator.

Namespaces

namespace  mds
 

Medical Data Segmentation Toolkit (MDSTk)
Copyright (c) 2003-2005 by Michal Spanel


namespace  mds::base
namespace  mds::base::smallobj
 

Namespace containing constants used by the small objects allocator.


Variables

const tSize mds::base::smallobj::DEFAULT_CHUNK_SIZE = 4096
 Default chunk/page size.
const tSize mds::base::smallobj::DEFAULT_MAX_OBJECT_SIZE = 256
 Default maximal object size.
const tSize mds::base::smallobj::DEFAULT_OBJECT_ALIGNMENT = 4
 Default object alignment.

Detailed Description

Medical Data Segmentation Toolkit (MDSTk)
Copyright (c) 2003-2005 by Michal Spanel
.

Author: Michal Spanel, spanel@fit.vutbr.cz
Date: 2004/12/01

Id:
mdsSmallObject.h 1863 2010-08-31 20:40:15Z spanel

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: