Orcus
export_interface.hpp
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
6 */
7
8#ifndef INCLUDED_ORCUS_SPREADSHEET_EXPORT_INTERFACE_HPP
9#define INCLUDED_ORCUS_SPREADSHEET_EXPORT_INTERFACE_HPP
10
11#include "types.hpp"
12#include "../env.hpp"
13
14#include <ostream>
15
16namespace orcus { namespace spreadsheet { namespace iface {
17
19{
20public:
21 ORCUS_DLLPUBLIC virtual ~export_sheet() = 0;
22
23 virtual void write_string(std::ostream& os, orcus::spreadsheet::row_t row, orcus::spreadsheet::col_t col) const = 0;
24};
25
27{
28public:
29 ORCUS_DLLPUBLIC virtual ~export_factory() = 0;
30
31 virtual const export_sheet* get_sheet(std::string_view sheet_name) const = 0;
32};
33
34}}}
35
36
37
38
39#endif
40/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Definition: export_interface.hpp:27
Definition: export_interface.hpp:19