GDCM
2.2.3
|
00001 /*========================================================================= 00002 00003 Program: GDCM (Grassroots DICOM). A DICOM library 00004 00005 Copyright (c) 2006-2011 Mathieu Malaterre 00006 All rights reserved. 00007 See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details. 00008 00009 This software is distributed WITHOUT ANY WARRANTY; without even 00010 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00011 PURPOSE. See the above copyright notice for more information. 00012 00013 =========================================================================*/ 00014 00015 #ifndef GDCMSOPCLASSUIDTOIOD_H 00016 #define GDCMSOPCLASSUIDTOIOD_H 00017 00018 #include "gdcmUIDs.h" 00019 00020 namespace gdcm 00021 { 00022 00028 class GDCM_EXPORT SOPClassUIDToIOD 00029 { 00030 public: 00033 static const char *GetIOD(UIDs const & uid); 00034 00036 static unsigned int GetNumberOfSOPClassToIOD(); 00037 00038 typedef const char* const (SOPClassUIDToIODType)[2]; 00039 static SOPClassUIDToIODType* GetSOPClassUIDToIODs(); 00040 00041 static SOPClassUIDToIODType& GetSOPClassUIDToIOD(unsigned int i); 00042 00043 static const char *GetSOPClassUIDFromIOD(const char *iod); 00044 static const char *GetIODFromSOPClassUID(const char *sopclassuid); 00045 }; 00046 00047 } // end namespace gdcm 00048 00049 #endif //GDCMSOPCLASSUIDTOIOD_H