Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itkListSampleBase.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkListSampleBase.h,v $
00005   Language:  C++
00006   Date:      $Date: 2003/01/27 17:02:55 $
00007   Version:   $Revision: 1.1 $
00008 
00009   Copyright (c) 2002 Insight Consortium. All rights reserved.
00010   See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
00011 
00012      This software is distributed WITHOUT ANY WARRANTY; without even 
00013      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00014      PURPOSE.  See the above copyright notices for more information.
00015 
00016 =========================================================================*/
00017 #ifndef __itkListSampleBase_h
00018 #define __itkListSampleBase_h
00019 
00020 #include "itkSample.h"
00021 
00022 #include <vector>
00023 
00024 namespace itk{ 
00025 namespace Statistics{
00026 
00038 template< class TMeasurementVector >
00039 class ITK_EXPORT ListSampleBase : public Sample< TMeasurementVector >
00040 {
00041 public:
00043   typedef ListSampleBase  Self;
00044   typedef Sample< TMeasurementVector > Superclass;
00045 
00047   itkTypeMacro(ListSampleBase, Sample);
00048 
00053   typedef typename Superclass::MeasurementVectorType MeasurementVectorType;
00054   typedef typename Superclass::MeasurementType MeasurementType;
00055   typedef typename Superclass::FrequencyType FrequencyType ;
00056   typedef typename Superclass::InstanceIdentifier InstanceIdentifier;
00057 
00059   itkStaticConstMacro(MeasurementVectorSize, unsigned int,
00060                       TMeasurementVector::Length);
00061 
00062 protected:
00063   ListSampleBase() {}
00064   virtual ~ListSampleBase() {}
00065   
00066 private:
00067   ListSampleBase(const Self&) ; //purposely not implemented
00068   void operator=(const Self&) ; //purposely not implemented
00069 };
00070 
00071 } // end of namespace Statistics 
00072 } // end of namespace itk 
00073 
00074 #endif

Generated at Fri May 21 01:15:00 2004 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000