| 42 | } |
| 43 | |
| 44 | const RGLFile::Field* RGLFile::getField(const std::string& name) const |
| 45 | { |
| 46 | auto iter = mFieldMap.find(name); |
| 47 | return iter == mFieldMap.end() ? nullptr : &mFields[iter->second]; |
| 48 | } |
| 49 | |
| 50 | void RGLFile::addField(const std::string& name, FieldType type, const std::vector<uint32_t>& shape, const void* data) |
| 51 | { |