mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 00:30:05 +00:00 
			
		
		
		
	Finish parsing storm tracking tabular block
This commit is contained in:
		
							parent
							
								
									6eb9caf819
								
							
						
					
					
						commit
						c03947d604
					
				
					 3 changed files with 184 additions and 44 deletions
				
			
		|  | @ -30,10 +30,14 @@ std::vector<std::string> ParseTokens(const std::string&       s, | |||
| 
 | ||||
| std::string ToString(const std::vector<std::string>& v); | ||||
| 
 | ||||
| std::optional<float> TryParseFloat(const std::string& str); | ||||
| 
 | ||||
| template<typename T> | ||||
| std::optional<T> TryParseUnsignedLong(const std::string& str); | ||||
| std::optional<T> TryParseNumeric(const std::string& str); | ||||
| 
 | ||||
| #if defined(STRINGS_IMPLEMENTATION) | ||||
| template std::optional<std::uint16_t> TryParseNumeric(const std::string& str); | ||||
| template std::optional<std::uint32_t> TryParseNumeric(const std::string& str); | ||||
| template std::optional<float>         TryParseNumeric(const std::string& str); | ||||
| #endif | ||||
| 
 | ||||
| } // namespace util
 | ||||
| } // namespace scwx
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat