15#ifndef __mlDicomModifyModuleFieldAddOnBase_H
16#define __mlDicomModifyModuleFieldAddOnBase_H
24#include <boost/shared_ptr.hpp>
46 void getDicomTreeFromInputField();
47 void selectAllBoolFields();
48 void deselectAllBoolFields();
49 void clearAllStringFields();
51 std::string _dicomModuleName;
57 std::vector<BoolField*> _boolFields;
58 std::vector<StringField*> _stringFields;
Project global and OS specific declarations.
#define MLDICOMMODIFYFIELDADDONS_EXPORT
Field to encapsulate a pointer to an ML base object.
The class DicomModifyFieldAddOnBase is dedicated to manage fields for ML modules and instances derive...
DCMTree::Const_TreePtr _inputDicomTree
void setInputDicomTreeField(BaseField *field)
virtual void addFields() override
Add fields to field container of the FieldAddOn.
virtual FieldAddOnBase::FieldChangeState handleFieldChanges(Field *field) override
Handle field notifications according to Module::handleNotification with a return of field change stat...
DicomModifyModuleFieldAddOnBase(FieldContainer &fieldContainer, const std::string &dicomModuleName, bool createInputModifyTagsPluginBaseConnectorField=false, bool createOutputModifyTagsPluginBaseConnectorField=false)
void _addFieldPointer(Field *field)
FieldChangeState
Describes the type of a field changes detected in handleFieldChanges(Field *field).
Defines the class FieldContainer to encapsulate a vector of fields for (see class Field).
Base class for all fields used in the ML.
Field without value for notifications.
#define ML_ABSTRACT_CLASS_HEADER(className)
Same like ML_ABSTRACT_CLASS_HEADER_EXPORTED with a non existing export symbol.
Header file of the DicomModifyFieldAddOnBase class dedicated to manage fields for ML modules and inst...
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
boost::shared_ptr< const Tree > Const_TreePtr
boost::shared_ptr< DicomModifyModuleFieldAddOnBase > ModuleFieldAddOnPtr