Orcus
Toggle main menu visibility
Loading...
Searching...
No Matches
include
orcus
orcus_parquet.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
#pragma once
9
10
#include "./interface.hpp"
11
#include "./spreadsheet/import_interface.hpp"
12
13
namespace
orcus {
14
15
namespace
spreadsheet {
namespace
iface {
class
import_factory
; }}
16
17
class
ORCUS_DLLPUBLIC orcus_parquet :
public
iface::import_filter
18
{
19
public
:
20
orcus_parquet() =
delete
;
21
orcus_parquet(
const
orcus_parquet&) =
delete
;
22
orcus_parquet& operator=(
const
orcus_parquet&) =
delete
;
23
24
orcus_parquet(
spreadsheet::iface::import_factory
* factory);
25
~orcus_parquet();
26
27
static
bool
detect(std::string_view strm);
28
29
virtual
void
read_file
(std::string_view filepath)
override
;
30
virtual
void
read_file
(std::u16string_view filepath)
override
;
31
virtual
void
read_stream
(std::string_view stream)
override
;
32
33
virtual
std::string_view
get_name
()
const override
;
34
35
private
:
36
class
impl;
37
std::unique_ptr<impl> mp_impl;
38
};
39
40
}
41
42
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
orcus::iface::import_filter
Definition
interface.hpp:27
orcus::orcus_parquet::get_name
virtual std::string_view get_name() const override
orcus::orcus_parquet::read_stream
virtual void read_stream(std::string_view stream) override
orcus::orcus_parquet::read_file
virtual void read_file(std::string_view filepath) override
orcus::spreadsheet::iface::import_factory
Definition
import_interface.hpp:1184
Generated on
for Orcus by
1.17.0