#2369 Elm Props: Remove deleted field results from cache

This commit is contained in:
Rebecca Cox
2018-01-13 12:38:08 +01:00
parent 27901f426c
commit a8039b8569
3 changed files with 45 additions and 8 deletions

View File

@@ -42,10 +42,12 @@ public:
void addFile(const std::string& fileName);
void removeFile(const std::string& fileName);
std::map<std::string, std::vector<std::string>> scalarElementFields();
std::map<std::string, std::vector<std::string>> scalarElementFields() const;
std::map<std::string, std::vector<float>> readAllElementPropertiesInFileContainingField(const std::string& fieldName);
std::vector<std::string> fieldsInFile(const std::string& fileName) const;
private:
void makeElementIdToIdxMap();
static void outputWarningAboutWrongFileData();