mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-11-04 14:50:06 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			39 lines
		
	
	
	
		
			801 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			39 lines
		
	
	
	
		
			801 B
		
	
	
	
		
			C++
		
	
	
	
	
	
#pragma once
 | 
						|
 | 
						|
#include <scwx/awips/phenomenon.hpp>
 | 
						|
 | 
						|
#include <string>
 | 
						|
#include <vector>
 | 
						|
 | 
						|
namespace scwx
 | 
						|
{
 | 
						|
namespace awips
 | 
						|
{
 | 
						|
namespace ibw
 | 
						|
{
 | 
						|
 | 
						|
enum class ThreatCategory : int
 | 
						|
{
 | 
						|
   Base         = 0,
 | 
						|
   Significant  = 1,
 | 
						|
   Considerable = 2,
 | 
						|
   Destructive  = 3,
 | 
						|
   Catastrophic = 4,
 | 
						|
   Unknown
 | 
						|
};
 | 
						|
 | 
						|
struct ImpactBasedWarningInfo
 | 
						|
{
 | 
						|
   bool                        hasObservedTag_ {false};
 | 
						|
   bool                        hasTornadoPossibleTag_ {false};
 | 
						|
   std::vector<ThreatCategory> threatCategories_ {ThreatCategory::Base};
 | 
						|
};
 | 
						|
 | 
						|
const ImpactBasedWarningInfo& GetImpactBasedWarningInfo(Phenomenon phenomenon);
 | 
						|
 | 
						|
ThreatCategory     GetThreatCategory(const std::string& name);
 | 
						|
const std::string& GetThreatCategoryName(ThreatCategory threatCategory);
 | 
						|
 | 
						|
} // namespace ibw
 | 
						|
} // namespace awips
 | 
						|
} // namespace scwx
 |