mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 14:10:05 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			47 lines
		
	
	
	
		
			1.1 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			47 lines
		
	
	
	
		
			1.1 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
| #pragma once
 | |
| 
 | |
| #include <scwx/wsr88d/rda/digital_radar_data.hpp>
 | |
| #include <scwx/wsr88d/rda/volume_coverage_pattern_data.hpp>
 | |
| 
 | |
| #include <memory>
 | |
| #include <string>
 | |
| #include <unordered_map>
 | |
| 
 | |
| namespace scwx
 | |
| {
 | |
| namespace wsr88d
 | |
| {
 | |
| 
 | |
| class Ar2vFileImpl;
 | |
| 
 | |
| /**
 | |
|  * @brief The Archive II file is specified in the Interface Control Document for
 | |
|  * the Archive II/User, Document Number 2620010H, published by the WSR-88D Radar
 | |
|  * Operations Center.
 | |
|  */
 | |
| class Ar2vFile
 | |
| {
 | |
| public:
 | |
|    explicit Ar2vFile();
 | |
|    ~Ar2vFile();
 | |
| 
 | |
|    Ar2vFile(const Ar2vFile&) = delete;
 | |
|    Ar2vFile& operator=(const Ar2vFile&) = delete;
 | |
| 
 | |
|    Ar2vFile(Ar2vFile&&) noexcept;
 | |
|    Ar2vFile& operator=(Ar2vFile&&) noexcept;
 | |
| 
 | |
|    std::unordered_map<
 | |
|       uint16_t,
 | |
|       std::unordered_map<uint16_t, std::shared_ptr<rda::DigitalRadarData>>>
 | |
|                                                          radar_data() const;
 | |
|    std::shared_ptr<const rda::VolumeCoveragePatternData> vcp_data() const;
 | |
| 
 | |
|    bool LoadFile(const std::string& filename);
 | |
| 
 | |
| private:
 | |
|    std::unique_ptr<Ar2vFileImpl> p;
 | |
| };
 | |
| 
 | |
| } // namespace wsr88d
 | |
| } // namespace scwx
 | 
