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 __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 
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 
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: */
Definition: export_interface.hpp:26
Definition: export_interface.hpp:18
Definition: base64.hpp:15