MDSTk Libraries  1.1.0
Medical Data Segmentation Toolkit
Classes | Namespaces | Defines
mdsVectorBase.h File Reference

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

#include <MDSTk/Base/mdsSetup.h>
#include <MDSTk/Base/mdsScalar.h>

Classes

class  mds::math::CVectorBase< V >
 Base class for all vectors. More...
struct  mds::math::CVectorTraits< M >
 Traits used to implement curiously recurring template pattern for vectors. More...

Namespaces

namespace  mds
 

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


namespace  mds::math

Defines

#define MDS_STATIC_VECTOR_TRAITS(VectorClass)
 Helper macro used to declare vector traits before a vector class template.
#define MDS_VECTOR_TRAITS(VectorClass)
 Helper macro used to declare vector traits before a vector class template.

Detailed Description

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

Author: Michal Spanel, spanel@fit.vutbr.cz
Date: 2006/02/12

Id:
mdsVectorBase.h 2089 2012-02-14 00:13:24Z spanel

Description:


Define Documentation

#define MDS_STATIC_VECTOR_TRAITS (   VectorClass)
Value:
template <typename T, tSize M> class VectorClass; \
    template <typename T, tSize M> \
    struct CVectorTraits<VectorClass<T,M> > \
    { \
        typedef T tElement; \
    };

Helper macro used to declare vector traits before a vector class template.

#define MDS_VECTOR_TRAITS (   VectorClass)
Value:
template <typename T> class VectorClass; \
    template <typename T> \
    struct CVectorTraits<VectorClass<T> > \
    { \
        typedef T tElement; \
    };

Helper macro used to declare vector traits before a vector class template.