8#ifndef INCLUDED_ORCUS_INTERFACE_HPP
9#define INCLUDED_ORCUS_INTERFACE_HPP
11#include "orcus/env.hpp"
12#include "orcus/types.hpp"
26 std::unique_ptr<impl> mp_impl;
33 virtual void read_file(
const std::string& filepath) = 0;
38 virtual std::string_view get_name()
const = 0;
48 virtual void dump(dump_format_t format,
const std::string& output)
const = 0;
49 virtual void dump_check(std::ostream& os)
const = 0;
Definition interface.hpp:45
Definition interface.hpp:24
virtual void read_stream(std::string_view stream)=0
expects the whole content of the file
virtual void read_file(const std::string &filepath)=0
expects a system path to a local file