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

itkNodeList.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkNodeList.h,v $
00005   Language:  C++
00006   Date:      $Date: 2003/09/10 14:29:18 $
00007   Version:   $Revision: 1.2 $
00008 
00009   Copyright (c) Insight Software 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 __itkNodeList_h
00018 #define __itkNodeList_h
00019 
00020 #include <list>
00021 
00022 namespace itk
00023 {
00024 
00033 template <typename TItemType>
00034 class NodeList : public std::list< TItemType >
00035 {
00036 public:
00037 
00039   TItemType * ItemPointer;
00040 
00042   void SetItemPointer(TItemType* itemPointer) {ItemPointer = itemPointer;}
00043 
00045   unsigned long int GetSize()
00046     {return this->size(); }
00047 
00048   NodeList();
00049   ~NodeList();
00050 
00051 private:
00052 
00053 };
00054 
00055 
00056 } // end namespace itk
00057 
00058 #ifndef ITK_MANUAL_INSTANTIATION
00059 #include "itkNodeList.txx"
00060 #endif
00061 
00062 #endif
00063 

Generated at Mon Mar 12 01:53:39 2007 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000