40 typedef std::map<int, std::string>
NameMap;
Data splitter class that splits data according to a predefined categories.
std::map< int, std::string > NameMap
Map of integers to strings where the key represents the split mnemonics integer value and the value i...
CategorySplit(const std::string &mnemonic, const NameMap &map)
constructor
std::map< std::string, BufrDataMap > split(const BufrDataMap &dataMap) final
Split the data according to internal rules.
std::vector< std::string > subCategories(const BufrDataMap &dataMap) final
Get list of sub categories this split will create.
const std::string mnemonic_
std::string getMnemonic()
void updateNameMap(const BufrDataMap &dataMap)
Adds values to nameMap_ using the data if nameMap_ is empty.
Base class for all Split objects that split data into sub-parts.
IngesterArrayMap BufrDataMap