diff --git a/Plugins/org.mitk.matchpoint.core.helper/src/mitkMAPAlgorithmInfoObject.h b/Plugins/org.mitk.matchpoint.core.helper/src/mitkMAPAlgorithmInfoObject.h index 567bf2b9ff..a5b8d0f1b3 100644 --- a/Plugins/org.mitk.matchpoint.core.helper/src/mitkMAPAlgorithmInfoObject.h +++ b/Plugins/org.mitk.matchpoint.core.helper/src/mitkMAPAlgorithmInfoObject.h @@ -1,53 +1,54 @@ /*============================================================================ The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center (DKFZ) All rights reserved. Use of this source code is governed by a 3-clause BSD license that can be found in the LICENSE file. ============================================================================*/ #ifndef _MITK_MAP_ALGORITHM_INFO_OBJECT_H #define _MITK_MAP_ALGORITHM_INFO_OBJECT_H #include #include #include #include "org_mitk_matchpoint_core_helper_Export.h" namespace mitk { /** - * @Class berry wrapper for a MatchPoint algorithm deployment info + * \brief berry wrapper for a MatchPoint algorithm deployment info + * * Used by mitk::MAPAlgorithmInfoSelection. */ class MITK_MATCHPOINT_CORE_HELPER_EXPORT MAPAlgorithmInfoObject : public berry::Object { public: berryObjectMacro(mitk::MAPAlgorithmInfoObject); MAPAlgorithmInfoObject(); MAPAlgorithmInfoObject(::map::deployment::DLLInfo::ConstPointer info); const ::map::deployment::DLLInfo* GetInfo() const; bool operator==(const berry::Object* obj) const override; private: ::map::deployment::DLLInfo::ConstPointer m_Info; }; } #endif diff --git a/Plugins/org.mitk.matchpoint.core.helper/src/mitkMAPAlgorithmInfoSelection.h b/Plugins/org.mitk.matchpoint.core.helper/src/mitkMAPAlgorithmInfoSelection.h index 26d85d844c..1efbea3402 100644 --- a/Plugins/org.mitk.matchpoint.core.helper/src/mitkMAPAlgorithmInfoSelection.h +++ b/Plugins/org.mitk.matchpoint.core.helper/src/mitkMAPAlgorithmInfoSelection.h @@ -1,68 +1,69 @@ /*============================================================================ The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center (DKFZ) All rights reserved. Use of this source code is governed by a 3-clause BSD license that can be found in the LICENSE file. ============================================================================*/ #ifndef _MITK_MAP_ALGORITHM_INFO_SELECTION_H #define _MITK_MAP_ALGORITHM_INFO_SELECTION_H #include #include #include "org_mitk_matchpoint_core_helper_Export.h" namespace mitk { /** - * @class Used by plugins to communicate selections of deployed algorithms - * E.G. used by the algorithm browser to inform about the currently selected algorithm. + * \brief Used by plugins to communicate selections of deployed algorithms + * + * For example used by the algorithm browser to inform about the currently selected algorithm. */ class MITK_MATCHPOINT_CORE_HELPER_EXPORT MAPAlgorithmInfoSelection : public virtual berry::IStructuredSelection { public: berryObjectMacro(MAPAlgorithmInfoSelection); typedef ::map::deployment::DLLInfo AlgorithmInfoType; typedef std::vector AlgorithmInfoVectorType; MAPAlgorithmInfoSelection(); MAPAlgorithmInfoSelection(AlgorithmInfoType::ConstPointer info); MAPAlgorithmInfoSelection(const AlgorithmInfoVectorType& infos); Object::Pointer GetFirstElement() const override; iterator Begin() const override; iterator End() const override; int Size() const override; ContainerType::Pointer ToVector() const override; AlgorithmInfoVectorType GetSelectedAlgorithmInfo() const; /** * @see berry::ISelection::IsEmpty() */ bool IsEmpty() const override; bool operator==(const berry::Object* obj) const override; protected: ContainerType::Pointer m_Selection; }; } #endif