Orcus
Main Page
Related Pages
Classes
Files
File List
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 __ORCUS_SPREADSHEET_EXPORT_INTERFACE_HPP__
9
#define __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
18
class
export_sheet
19
{
20
public
:
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
26
class
export_factory
27
{
28
public
:
29
ORCUS_DLLPUBLIC
virtual
~
export_factory
() = 0;
30
31
virtual
const
export_sheet
* get_sheet(
const
char
* sheet_name,
size_t
sheet_name_length)
const
= 0;
32
};
33
34
}}}
35
36
37
38
39
#endif
40
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
orcus::spreadsheet::iface::export_factory
Definition:
export_interface.hpp:26
orcus::spreadsheet::iface::export_sheet
Definition:
export_interface.hpp:18
orcus
Definition:
base64.hpp:15
Generated on Thu Mar 17 2016 04:47:37 for Orcus by
1.8.11