Orcus
Loading...
Searching...
No Matches
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
22{
23public:
24 ORCUS_DLLPUBLIC virtual ~export_sheet() = 0;
25
33 virtual void write_string(std::ostream& os, orcus::spreadsheet::row_t row, orcus::spreadsheet::col_t col) const = 0;
34};
35
40{
41public:
42 ORCUS_DLLPUBLIC virtual ~export_factory() = 0;
43
51 virtual const export_sheet* get_sheet(std::string_view sheet_name) const = 0;
52};
53
54}}}
55
56
57
58
59#endif
60/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Definition export_interface.hpp:40
virtual const export_sheet * get_sheet(std::string_view sheet_name) const =0
Definition export_interface.hpp:22
virtual void write_string(std::ostream &os, orcus::spreadsheet::row_t row, orcus::spreadsheet::col_t col) const =0