mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 00:30:05 +00:00 
			
		
		
		
	Text product message
This commit is contained in:
		
							parent
							
								
									03fdd99585
								
							
						
					
					
						commit
						55d856a745
					
				
					 5 changed files with 418 additions and 0 deletions
				
			
		
							
								
								
									
										38
									
								
								wxdata/include/scwx/awips/text_product_message.hpp
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										38
									
								
								wxdata/include/scwx/awips/text_product_message.hpp
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,38 @@ | |||
| #pragma once | ||||
| 
 | ||||
| #include <scwx/awips/message.hpp> | ||||
| 
 | ||||
| #include <cstdint> | ||||
| #include <memory> | ||||
| 
 | ||||
| namespace scwx | ||||
| { | ||||
| namespace awips | ||||
| { | ||||
| 
 | ||||
| class TextProductMessageImpl; | ||||
| 
 | ||||
| class TextProductMessage : public Message | ||||
| { | ||||
| public: | ||||
|    explicit TextProductMessage(); | ||||
|    ~TextProductMessage(); | ||||
| 
 | ||||
|    TextProductMessage(const TextProductMessage&) = delete; | ||||
|    TextProductMessage& operator=(const TextProductMessage&) = delete; | ||||
| 
 | ||||
|    TextProductMessage(TextProductMessage&&) noexcept; | ||||
|    TextProductMessage& operator=(TextProductMessage&&) noexcept; | ||||
| 
 | ||||
|    size_t data_size() const; | ||||
| 
 | ||||
|    bool Parse(std::istream& is) override; | ||||
| 
 | ||||
|    static std::shared_ptr<TextProductMessage> Create(std::istream& is); | ||||
| 
 | ||||
| private: | ||||
|    std::unique_ptr<TextProductMessageImpl> p; | ||||
| }; | ||||
| 
 | ||||
| } // namespace awips
 | ||||
| } // namespace scwx
 | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat