mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 04:30:05 +00:00 
			
		
		
		
	Exposing additional data from text products and messages
This commit is contained in:
		
							parent
							
								
									917926a0ec
								
							
						
					
					
						commit
						3ae001c3b9
					
				
					 4 changed files with 100 additions and 60 deletions
				
			
		|  | @ -18,14 +18,15 @@ public: | |||
|    explicit TextProductFile(); | ||||
|    ~TextProductFile(); | ||||
| 
 | ||||
|    TextProductFile(const TextProductFile&) = delete; | ||||
|    TextProductFile(const TextProductFile&)            = delete; | ||||
|    TextProductFile& operator=(const TextProductFile&) = delete; | ||||
| 
 | ||||
|    TextProductFile(TextProductFile&&) noexcept; | ||||
|    TextProductFile& operator=(TextProductFile&&) noexcept; | ||||
| 
 | ||||
|    size_t                              message_count() const; | ||||
|    std::shared_ptr<TextProductMessage> message(size_t i) const; | ||||
|    size_t                                           message_count() const; | ||||
|    std::vector<std::shared_ptr<TextProductMessage>> messages() const; | ||||
|    std::shared_ptr<TextProductMessage>              message(size_t i) const; | ||||
| 
 | ||||
|    bool LoadFile(const std::string& filename); | ||||
|    bool LoadData(std::istream& is); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat