Orcus
Loading...
Searching...
No Matches
include
orcus
spreadsheet
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
16
namespace
orcus {
namespace
spreadsheet {
namespace
iface {
17
21
class
export_sheet
22
{
23
public
:
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
39
class
export_factory
40
{
41
public
:
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: */
orcus::spreadsheet::iface::export_factory
Definition
export_interface.hpp:40
orcus::spreadsheet::iface::export_factory::get_sheet
virtual const export_sheet * get_sheet(std::string_view sheet_name) const =0
orcus::spreadsheet::iface::export_sheet
Definition
export_interface.hpp:22
orcus::spreadsheet::iface::export_sheet::write_string
virtual void write_string(std::ostream &os, orcus::spreadsheet::row_t row, orcus::spreadsheet::col_t col) const =0
Generated on Mon Feb 10 2025 00:00:00 for Orcus by
1.13.2