Renaming PhenomenonInfo to ImpactBasedWarningInfo

This commit is contained in:
Dan Paulat 2024-09-16 21:05:07 -05:00
parent 829d8a3152
commit 38a2831779
3 changed files with 31 additions and 26 deletions

View file

@ -20,14 +20,14 @@ enum class ThreatCategory : int
Unknown
};
struct PhenomenonInfo
struct ImpactBasedWarningInfo
{
bool hasObservedTag_ {false};
bool hasTornadoPossibleTag_ {false};
std::vector<ThreatCategory> threatCategories_ {ThreatCategory::Base};
};
const PhenomenonInfo& GetPhenomenonInfo(Phenomenon phenomenon);
const ImpactBasedWarningInfo& GetImpactBasedWarningInfo(Phenomenon phenomenon);
ThreatCategory GetThreatCategory(const std::string& name);
const std::string& GetThreatCategoryName(ThreatCategory threatCategory);