filter_value_t

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

class filter_value_t

Represents a single value associated with a filtering criterion. It can store either a numeric value, a string value, or an empty state.

Public Types

enum class value_type

Values:

enumerator empty
enumerator numeric
enumerator string

Public Functions

filter_value_t()
filter_value_t(double v)
filter_value_t(std::string_view v)
filter_value_t(const filter_value_t &other)
~filter_value_t()
bool operator==(const filter_value_t &other) const
std::partial_ordering operator<=>(const filter_value_t &other) const
filter_value_t &operator=(const filter_value_t &other)
value_type type() const noexcept
double numeric() const
std::string_view string() const
void swap(filter_value_t &other) noexcept