mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 04:30:05 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			37 lines
		
	
	
	
		
			604 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			37 lines
		
	
	
	
		
			604 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #pragma once
 | |
| 
 | |
| #include <memory>
 | |
| #include <string>
 | |
| #include <vector>
 | |
| 
 | |
| namespace scwx
 | |
| {
 | |
| namespace awips
 | |
| {
 | |
| 
 | |
| class UgcImpl;
 | |
| 
 | |
| class Ugc
 | |
| {
 | |
| public:
 | |
|    explicit Ugc();
 | |
|    ~Ugc();
 | |
| 
 | |
|    Ugc(const Ugc&)            = delete;
 | |
|    Ugc& operator=(const Ugc&) = delete;
 | |
| 
 | |
|    Ugc(Ugc&&) noexcept;
 | |
|    Ugc& operator=(Ugc&&) noexcept;
 | |
| 
 | |
|    std::vector<std::string> states() const;
 | |
|    std::vector<std::string> fips_ids() const;
 | |
|    std::string              product_expiration() const;
 | |
| 
 | |
|    bool Parse(const std::vector<std::string>& ugcString);
 | |
| 
 | |
| private:
 | |
|    std::unique_ptr<UgcImpl> p;
 | |
| };
 | |
| 
 | |
| } // namespace awips
 | |
| } // namespace scwx
 | 
