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

Medical Data Segmentation Toolkit (MDSTk)
Copyright (c) 2011 by 3Dim Laboratory s.r.o. More...

#include "mdsRefData.h"
#include "mdsGlobalLog.h"
#include "mdsPartedData.hxx"

Classes

class  mds::base::CPartedData< T >
 Class template managing references to a block of memory that is allocated in parts as a sequence of smaller memory blocks. More...
struct  mds::base::CPartedData< T >::SRefInfo
 Structure containing information on allocated data and the number of references. More...

Namespaces

namespace  mds
 

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


namespace  mds::base
namespace  mds::base::PartedData
 

Namespace containing constants used by the CPartedData<> allocator.


Variables

const tSize mds::base::PartedData::BLOCK_SIZE = 1 << DIV_SHIFT
 Data block size in elements.
const tSize mds::base::PartedData::DIV_SHIFT = 24
 Divisor used to calculate an index j of a concrete data block for a specified data element i: j = i / BLOCK_SIZE = i >> DIV_SHIFT.
const tSize mds::base::PartedData::MOD_MASK = BLOCK_SIZE - 1
 Mask used to calculate an index k of a subscripted element i within a data block: k = i % BLOCK_SIZE = i & MOD_MASK.

Detailed Description

Medical Data Segmentation Toolkit (MDSTk)
Copyright (c) 2011 by 3Dim Laboratory s.r.o.


Author: info@3dim-laboratory.cz
Date: 2011/11/17

$Id:$