101 for (
const auto &entry : other.m_field) {
102 m_field[entry.first] = std::unique_ptr<VTKBaseContainer>(entry.second->clone()) ;
116 std::swap(temporary, *
this);
128 auto fieldItr = m_field.find(name) ;
130 if( fieldItr != m_field.end()){
131 m_field.erase( fieldItr) ;
142 for (
const auto &fieldEntry : m_field ) {
143 if( fieldEntry.first == name){
160 auto fieldItr = m_field.find(name) ;
162 if( fieldItr != m_field.end()){
163 fieldItr->second->flushData(str,format) ;
181 auto fieldItr = m_field.find(name) ;
183 if( fieldItr != m_field.end()){
184 fieldItr->second->absorbData( str, format, entries, components ) ;
virtual void flushData(std::fstream &, const std::string &, VTKFormat)
virtual void absorbData(std::fstream &, const std::string &, VTKFormat, uint64_t, uint8_t, VTKDataType)
In VTKNativeStreamer all instances of classes derived from VTKBaseConatiner are stored....
void absorbData(std::fstream &, const std::string &, VTKFormat, uint64_t, uint8_t, VTKDataType) override
bool hasData(const std::string &) const
void flushData(std::fstream &, const std::string &, VTKFormat) override
VTKNativeStreamer & operator=(const VTKNativeStreamer &other)
void removeData(const std::string &)
#define BITPIT_UNUSED(variable)