#pragma once #include #include #include "lloiff.hpp" namespace llo::s1 { /// /// base clase for all file format deconstructors... /// class dctor_base_t { /// /// vector of bytes containing the raw image to be deconstructed... /// std::vector< std::uint8_t > raw_img; public: /// /// set raw_img to the vector passed by reference... /// /// vector of bytes containing the raw image... dctor_base_t( std::vector< std::uint8_t > &image ) : raw_img{ image } { } /// /// purely virtual method which gets overriden by classes that inherit /// dctor_base_t... fills the lloiff_t object full of data... /// /// /// virtual bool generate( lloiff_t &iff ) = 0; }; } // namespace llo::s1