filter_node_t

Defined in header: <orcus/spreadsheet/auto_filter.hpp>

class filter_node_t : public orcus::spreadsheet::filterable

Represents a single node in a boolean tree of filtering criteria connected with boolean operators.

Public Functions

filter_node_t()
filter_node_t(auto_filter_node_op_t _op)
filter_node_t(const filter_node_t &other) = delete
filter_node_t(filter_node_t &&other)
~filter_node_t() override
filter_node_t &operator=(const filter_node_t &other) = delete
filter_node_t &operator=(filter_node_t &&other)
auto_filter_node_op_t op() const noexcept
std::size_t size() const noexcept

Returns the number of child filterables.

bool empty() const noexcept
const filterable *at(std::size_t pos) const

Returns the pointer to a child filterable at specified position.

void append(filter_node_t child)
void append(filter_item_t child)
void append(filter_item_set_t child)
void reset()
void swap(filter_node_t &other) noexcept