Exposing select level 3 file blocks

This commit is contained in:
Dan Paulat 2022-01-11 19:29:50 -06:00
parent 01d24d70b8
commit 9073ec706b
4 changed files with 60 additions and 25 deletions

View file

@ -1,5 +1,8 @@
#pragma once
#include <scwx/wsr88d/rpg/level3_message_header.hpp>
#include <scwx/wsr88d/rpg/product_symbology_block.hpp>
#include <memory>
#include <string>
@ -22,6 +25,9 @@ public:
Level3File(Level3File&&) noexcept;
Level3File& operator=(Level3File&&) noexcept;
std::shared_ptr<rpg::Level3MessageHeader> message_header() const;
std::shared_ptr<rpg::ProductSymbologyBlock> product_symbology_block() const;
bool LoadFile(const std::string& filename);
bool LoadData(std::istream& is);