mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 02:00:05 +00:00 
			
		
		
		
	Initial Level 3 header and description information
This commit is contained in:
		
							parent
							
								
									a280f37289
								
							
						
					
					
						commit
						0303412519
					
				
					 6 changed files with 855 additions and 0 deletions
				
			
		
							
								
								
									
										55
									
								
								wxdata/include/scwx/wsr88d/rpg/wmo_header.hpp
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										55
									
								
								wxdata/include/scwx/wsr88d/rpg/wmo_header.hpp
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,55 @@ | |||
| #pragma once | ||||
| 
 | ||||
| #include <memory> | ||||
| #include <string> | ||||
| 
 | ||||
| namespace scwx | ||||
| { | ||||
| namespace wsr88d | ||||
| { | ||||
| namespace rpg | ||||
| { | ||||
| 
 | ||||
| class WmoHeaderImpl; | ||||
| 
 | ||||
| /**
 | ||||
|  * @brief The WMO Header is defined in WMO Manual No. 386, with additional codes | ||||
|  * defined in WMO Codes Manual 306.  The NWS summarizes the relevant | ||||
|  * information. | ||||
|  * | ||||
|  * <https://www.roc.noaa.gov/WSR88D/Level_III/Level3Info.aspx>
 | ||||
|  * <https://www.weather.gov/tg/head>
 | ||||
|  * <https://www.weather.gov/tg/headef>
 | ||||
|  * <https://www.weather.gov/tg/bbb>
 | ||||
|  * <https://www.weather.gov/tg/awips>
 | ||||
|  */ | ||||
| class WmoHeader | ||||
| { | ||||
| public: | ||||
|    explicit WmoHeader(); | ||||
|    ~WmoHeader(); | ||||
| 
 | ||||
|    WmoHeader(const WmoHeader&) = delete; | ||||
|    WmoHeader& operator=(const WmoHeader&) = delete; | ||||
| 
 | ||||
|    WmoHeader(WmoHeader&&) noexcept; | ||||
|    WmoHeader& operator=(WmoHeader&&) noexcept; | ||||
| 
 | ||||
|    const std::string& data_type() const; | ||||
|    const std::string& geographic_designator() const; | ||||
|    const std::string& bulletin_id() const; | ||||
|    const std::string& icao() const; | ||||
|    const std::string& date_time() const; | ||||
|    const std::string& bbb_indicator() const; | ||||
|    const std::string& product_category() const; | ||||
|    const std::string& product_designator() const; | ||||
| 
 | ||||
|    bool Parse(std::istream& is); | ||||
| 
 | ||||
| private: | ||||
|    std::unique_ptr<WmoHeaderImpl> p; | ||||
| }; | ||||
| 
 | ||||
| } // namespace rpg
 | ||||
| } // namespace wsr88d
 | ||||
| } // namespace scwx
 | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat