30template <
typename BASE_FIELD_ADD_ON_TYPE,
typename PIMPL_OBJ_TYPE=
void*>
55 auto it = SuperList::getFieldAddOns().begin();
56 for (;
it != SuperList::getFieldAddOns().end();
it++){
65 auto it = SuperList::getFieldAddOns().begin();
66 for (;
it != SuperList::getFieldAddOns().end();
it++){ (*it)->inheritValues(dcmTree); }
74 auto it = SuperList::getFieldAddOns().begin();
75 for (;
it != SuperList::getFieldAddOns().end();
it++){
76 retStr += (*it)->checkConsistency();
Project global and OS specific declarations.
Class managing a list of BASE_FIELD_ADD_ON_TYPE to simplify usage of multiple AddOns; AddOns are neve...
DicomModifyFieldAddOnList(FieldContainer &fieldContainerRef)
Constructor, setting the reference of the FieldContainer managing the fields.
BASE_FIELD_ADD_ON_TYPE SuperBase
Type of inherited SuperClass base class.
std::string checkConsistency() const override
Applies DicomModifyFieldAddOnBase::checkConsistency to each instance, and returns the concatenation o...
FieldAddOnList< BASE_FIELD_ADD_ON_TYPE, PIMPL_OBJ_TYPE > SuperList
Type of inherited SuperClass base class.
std::string applyModifications(DCMTree::TreePtr dcmTree, const FieldContainer *treeInfos=nullptr) override
Add functionality of additional methods of DicomModifyFieldAddOnBase; addFields(),...
void inheritValues(DCMTree::Const_TreePtr dcmTree) override
Applies DicomModifyFieldAddOnBase::inheritValues for each instance.
Class managing a list of FieldAddOns to simplify usage of multiple AddOns; AddOns are never owned by ...
Defines the class FieldContainer to encapsulate a vector of fields for (see class Field).
Header file of the DicomModifyFieldAddOnBase class dedicated to manage fields for ML modules and inst...
Header file of a class managing many FieldAddOns to simplify usage of multiple AddOns.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
boost::shared_ptr< const Tree > Const_TreePtr
boost::shared_ptr< Tree > TreePtr
shared pointer to a DCMTree::Tree