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;
36 virtual void read_stream(
const char* content,
size_t len) = 0;
38 virtual const char* 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_file(const std::string &filepath)=0
expects a system path to a local file
virtual void read_stream(const char *content, size_t len)=0
expects the whole content of the file
Definition: config.hpp:19