mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 16:50:06 +00:00
Add IEM load text product API functionality
This commit is contained in:
parent
f06191f290
commit
2720ad6a38
5 changed files with 90 additions and 20 deletions
|
|
@ -1,5 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <scwx/awips/text_product_file.hpp>
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
|
|
@ -21,11 +23,14 @@ public:
|
|||
IemWarningsProvider(IemWarningsProvider&&) noexcept;
|
||||
IemWarningsProvider& operator=(IemWarningsProvider&&) noexcept;
|
||||
|
||||
std::vector<std::string>
|
||||
static std::vector<std::string>
|
||||
ListTextProducts(std::chrono::sys_time<std::chrono::days> date,
|
||||
std::optional<std::string_view> cccc = {},
|
||||
std::optional<std::string_view> pil = {});
|
||||
|
||||
static std::vector<std::shared_ptr<awips::TextProductFile>>
|
||||
LoadTextProducts(const std::vector<std::string>& textProducts);
|
||||
|
||||
private:
|
||||
class Impl;
|
||||
std::unique_ptr<Impl> p;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue