# gdcmSOPClassUIDToIOD.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
    00016 #ifndef GDCMSOPCLASSUIDTOIOD_H
    00017 #define GDCMSOPCLASSUIDTOIOD_H
    00018
    00019 #include "gdcmUIDs.h"
    00020
    00021 namespace gdcm
    00022 {
    00023
    00029 class GDCM_EXPORT SOPClassUIDToIOD
    00030 {
    00031 public:
    00034   static const char *GetIOD(UIDs const & uid);
    00035
    00037   static unsigned int GetNumberOfSOPClassToIOD();
    00038
    00039   typedef const char* const (SOPClassUIDToIODType)[2];
    00040   static SOPClassUIDToIODType* GetSOPClassUIDToIODs();
    00041
    00042   static SOPClassUIDToIODType& GetSOPClassUIDToIOD(unsigned int i);
    00043
    00044   static const char *GetSOPClassUIDFromIOD(const char *iod);
    00045   static const char *GetIODFromSOPClassUID(const char *sopclassuid);
    00046 };
    00047
    00048 } // end namespace gdcm
    00049
    00050 #endif //GDCMSOPCLASSUIDTOIOD_H
    00051
    00052