21 void AddFieldNameByFieldvalueSize(
const std::map <std::string, std::list<T>>* fields ,std::map<uint64_t, std::list<std::string>>& outNumberOfParameter);
25inline void DataCategorizationConsistencyChecker::AddFieldNameByFieldvalueSize(
const std::map<std::string, std::list<T>>* fields, std::map<uint64_t, std::list<std::string>>& outNumberOfParameter)
27 for (
const auto& field : *fields)
29 const std::list<T>& values = field.second;
30 const std::string& name = field.first;
31 outNumberOfParameter[values.size()].push_back(name);
Definition DataCategorizationConsistencyChecker.h:8
bool isValidAllMSMDHaveParameterAndQuantities(std::map< std::string, MetadataAssemblyData > &allMetadataAssembliesByName)
Guarantees that the next pointer in the MetadataAssemblyData structs are all != nullptr.
Definition DataCategorizationConsistencyChecker.cpp:6
bool isValidQuantityAndParameterNumberMatches(KeyValuesExtractor ¶meterData, KeyValuesExtractor &quantityData)
Definition DataCategorizationConsistencyChecker.cpp:74
bool isValidAllParameterAndQuantitiesReferenceSameTable(std::map< std::string, MetadataAssemblyData > &allMetadataAssembliesByName)
Definition DataCategorizationConsistencyChecker.cpp:34