gdcmTagPath.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program: GDCM (Grassroots DICOM). A DICOM library
00004   Module:  $URL$
00005 
00006   Copyright (c) 2006-2010 Mathieu Malaterre
00007   All rights reserved.
00008   See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00015 #ifndef GDCMTAGPATH_H
00016 #define GDCMTAGPATH_H
00017 
00018 #include "gdcmTag.h"
00019 
00020 #include <vector>
00021 
00022 namespace gdcm
00023 {
00024   
00031 class GDCM_EXPORT TagPath
00032 {
00033 public:
00034   TagPath();
00035   ~TagPath();
00036   void Print(std::ostream &) const;
00037 
00042   bool ConstructFromString(const char *path);
00043 
00045   static bool IsValid(const char *path);
00046 
00048   bool ConstructFromTagList(Tag const *l, unsigned int n);
00049 
00050   bool Push(Tag const & t);
00051   bool Push(unsigned int itemnum);
00052 
00053 private:
00054   std::vector<Tag> Path;
00055 };
00056 
00057 } // end namespace gdcm
00058 
00059 #endif //GDCMTAGPATH_H

Generated on Sat Dec 4 2010 08:58:48 for GDCM by doxygen 1.7.2
SourceForge.net Logo