SelectLongField.cpp
106 built = (built && createPortIn<std::vector<MimmoPiercedVector<long>*>, SelectLongField>(this, &mimmo::SelectLongField::setFields, M_VECLONGFIELDS, true, 1));
107 built = (built && createPortIn<MimmoPiercedVector<long>*, SelectLongField>(this, &mimmo::SelectLongField::addField, M_LONGFIELD, true, 1));
108 built = (built && createPortOut<MimmoPiercedVector<long>*, SelectLongField>(this, &mimmo::SelectLongField::getSelectedField, M_LONGFIELD));
270 void SelectLongField::absorbSectionXML(const bitpit::Config::Section & slotXML, std::string name){
283 (*m_log)<<"Error absorbing DataLocation in "<<m_name<<". Class and read locations mismatch"<<std::endl;
void plotOptionalResults()
Definition: SelectLongField.cpp:167
void setFields(std::vector< MimmoPiercedVector< long > * > fields)
Definition: SelectLongField.cpp:128
MPVLocation
Define data location for the MimmoPiercedVector field.
Definition: MimmoPiercedVector.hpp:39
SelectLongField is specialized derived class of SelectField to Select a scalar field of long data.
Definition: SelectField.hpp:373
virtual void flushSectionXML(bitpit::Config::Section &slotXML, std::string name="")
Definition: SelectLongField.cpp:298
void setName(std::string name)
Definition: MimmoPiercedVector.tpp:364
MPVLocation getDataLocation()
Definition: MimmoPiercedVector.tpp:190
void warningXML(bitpit::Logger *log, std::string name)
Definition: MimmoNamespace.cpp:211
@ NAME
MimmoSharedPointer< MimmoObject > getGeometry() const
Definition: MimmoPiercedVector.tpp:170
virtual void absorbSectionXML(const bitpit::Config::Section &slotXML, std::string name="")
Definition: SelectField.cpp:164
@ MAPPING
void write(MimmoSharedPointer< MimmoObject > geometry)
Definition: BaseManipulation.cpp:979
MimmoPiercedVector< long > * getSelectedField()
Definition: SelectLongField.cpp:119
@ GEOMETRY
virtual ~SelectLongField()
Definition: SelectLongField.cpp:76
void setGeometry(MimmoSharedPointer< MimmoObject > geo)
Definition: MimmoPiercedVector.tpp:314
void addField(MimmoPiercedVector< long > *field)
Definition: SelectLongField.cpp:145
@ POINT
@ UNDEFINED
void setDataLocation(MPVLocation loc)
Definition: MimmoPiercedVector.tpp:324
virtual void absorbSectionXML(const bitpit::Config::Section &slotXML, std::string name="")
Definition: SelectLongField.cpp:270
SelectField is an abstract executable block class capable of Selecting a field from a list of fields.
Definition: SelectField.hpp:97
MimmoSharedPointer< MimmoObject > getGeometry()
Definition: BaseManipulation.cpp:235
@ MAPPING
SelectLongField(MPVLocation loc=MPVLocation::POINT)
Definition: SelectLongField.cpp:36
virtual void flushSectionXML(bitpit::Config::Section &slotXML, std::string name="")
Definition: SelectField.cpp:207