SelectStringField.cpp
106 built = (built && createPortIn<std::vector<MimmoPiercedVector<std::string>*>, SelectStringField>(this, &mimmo::SelectStringField::setFields, M_VECSTRINGFIELDS, true, 1));
107 built = (built && createPortIn<MimmoPiercedVector<std::string>*, SelectStringField>(this, &mimmo::SelectStringField::addField, M_STRINGFIELD, true, 1));
108 built = (built && createPortOut<MimmoPiercedVector<std::string>*, SelectStringField>(this, &mimmo::SelectStringField::getSelectedField, M_STRINGFIELD));
269 void SelectStringField::absorbSectionXML(const bitpit::Config::Section & slotXML, std::string name){
282 (*m_log)<<"Error absorbing DataLocation in "<<m_name<<". Class and read locations mismatch"<<std::endl;
void addField(MimmoPiercedVector< std::string > *field)
Definition: SelectStringField.cpp:145
MPVLocation
Define data location for the MimmoPiercedVector field.
Definition: MimmoPiercedVector.hpp:39
MimmoPiercedVector< std::string > * getSelectedField()
Definition: SelectStringField.cpp:119
MPVLocation getDataLocation()
Definition: MimmoPiercedVector.tpp:190
void warningXML(bitpit::Logger *log, std::string name)
Definition: MimmoNamespace.cpp:211
@ NAME
SelectStringField(MPVLocation loc=MPVLocation::POINT)
Definition: SelectStringField.cpp:36
MimmoSharedPointer< MimmoObject > getGeometry() const
Definition: MimmoPiercedVector.tpp:170
virtual void absorbSectionXML(const bitpit::Config::Section &slotXML, std::string name="")
Definition: SelectField.cpp:164
@ MAPPING
@ GEOMETRY
void setGeometry(MimmoSharedPointer< MimmoObject > geo)
Definition: MimmoPiercedVector.tpp:314
@ POINT
SelectStringField is specialized derived class of SelectField to Select a scalar field of string data...
Definition: SelectField.hpp:464
void setFields(std::vector< MimmoPiercedVector< std::string > * > fields)
Definition: SelectStringField.cpp:128
@ UNDEFINED
virtual ~SelectStringField()
Definition: SelectStringField.cpp:76
void setDataLocation(MPVLocation loc)
Definition: MimmoPiercedVector.tpp:324
virtual void flushSectionXML(bitpit::Config::Section &slotXML, std::string name="")
Definition: SelectStringField.cpp:297
void plotOptionalResults()
Definition: SelectStringField.cpp:167
void swap(SelectStringField &) noexcept
Definition: SelectStringField.cpp:91
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
virtual void flushSectionXML(bitpit::Config::Section &slotXML, std::string name="")
Definition: SelectField.cpp:207
virtual void absorbSectionXML(const bitpit::Config::Section &slotXML, std::string name="")
Definition: SelectStringField.cpp:269