00001 /*========================================================================= 00002 00003 Program: Medical Imaging & Interaction Toolkit 00004 Language: C++ 00005 Date: $Date: 2009-05-15 10:46:54 +0200 (Fr, 15 Mai 2009) $ 00006 Version: $Revision: 17272 $ 00007 00008 Copyright (c) German Cancer Research Center, Division of Medical and 00009 Biological Informatics. All rights reserved. 00010 See MITKCopyright.txt or https://www.mitk.org/copyright.html 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 00018 #ifndef mitkModalityProperty_h_Included 00019 #define mitkModalityProperty_h_Included 00020 00021 #include "mitkCommon.h" 00022 #include "mitkEnumerationProperty.h" 00023 #include <itkObjectFactory.h> 00024 00025 namespace mitk 00026 { 00027 00033 class MITK_CORE_EXPORT ModalityProperty : public EnumerationProperty 00034 { 00035 public: 00036 00037 mitkClassMacro(ModalityProperty, EnumerationProperty); 00038 itkNewMacro(ModalityProperty); 00039 mitkNewMacro1Param(ModalityProperty, const IdType&); 00040 mitkNewMacro1Param(ModalityProperty, const std::string&); 00041 00042 protected: 00043 ModalityProperty(); 00044 ModalityProperty( const IdType& value ); 00045 ModalityProperty( const std::string& value ); 00046 00047 virtual ~ModalityProperty(); 00048 virtual void AddEnumerationTypes(); 00049 }; 00050 00051 } // namespace 00052 00053 #endif 00054 00055