Orcus
Loading...
Searching...
No Matches
import_interface_auto_filter.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 "types.hpp"
11#include "../types.hpp"
12#include "../env.hpp"
13
14// NB: This header must not depend on ixion, as it needs to be usable for
15// those clients that provide their own formula engine. Other headers in
16// the orcus::spreadsheet namespace may depend on ixion.
17
18namespace orcus { namespace spreadsheet { namespace iface {
19
24{
25public:
27
33 virtual void add_value(std::string_view value) = 0;
34
38 virtual void commit() = 0;
39};
40
46class ORCUS_DLLPUBLIC import_auto_filter_node
47{
48public:
50
60 virtual void append_item(col_t field, auto_filter_op_t op, double value) = 0;
61
76 virtual void append_item(col_t field, auto_filter_op_t op, std::string_view value, bool regex) = 0;
77
85 virtual void append_item(col_t field, auto_filter_op_t op) = 0;
86
99 virtual import_auto_filter_node* start_node(auto_filter_node_op_t op) = 0;
100
113
118 virtual void commit() = 0;
119};
120
124class ORCUS_DLLPUBLIC import_auto_filter
125{
126public:
127 virtual ~import_auto_filter();
128
142 virtual iface::import_auto_filter_node* start_node(auto_filter_node_op_t op) = 0;
143
148 virtual void commit() = 0;
149};
150
151}}}
152
153
154/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Definition import_interface_auto_filter.hpp:24
virtual void add_value(std::string_view value)=0
Definition import_interface_auto_filter.hpp:47
virtual import_auto_filter_multi_values * start_multi_values(col_t field)=0
virtual void append_item(col_t field, auto_filter_op_t op, double value)=0
virtual void append_item(col_t field, auto_filter_op_t op, std::string_view value, bool regex)=0
virtual import_auto_filter_node * start_node(auto_filter_node_op_t op)=0
virtual void append_item(col_t field, auto_filter_op_t op)=0
Definition import_interface_auto_filter.hpp:125
virtual iface::import_auto_filter_node * start_node(auto_filter_node_op_t op)=0