Orcus
Loading...
Searching...
No Matches
orcus::spreadsheet::filter_node_t Class Reference

#include <auto_filter.hpp>

Inheritance diagram for orcus::spreadsheet::filter_node_t:
orcus::spreadsheet::filterable

Public Member Functions

 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_toperator= (const filter_node_t &other)=delete
 
filter_node_toperator= (filter_node_t &&other)
 
auto_filter_node_op_t op () const noexcept
 
std::size_t size () const noexcept
 
bool empty () const noexcept
 
const filterableat (std::size_t pos) const
 
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
 

Detailed Description

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

Member Function Documentation

◆ at()

const filterable * orcus::spreadsheet::filter_node_t::at ( std::size_t pos) const

Returns the pointer to a child filterable at specified position.

◆ size()

std::size_t orcus::spreadsheet::filter_node_t::size ( ) const
noexcept

Returns the number of child filterables.