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

#include <auto_filter.hpp>

Public Types

enum class  value_type { empty , numeric , string }
 

Public Member Functions

 filter_value_t (double v)
 
 filter_value_t (std::string_view v)
 
 filter_value_t (const filter_value_t &other)
 
bool operator== (const filter_value_t &other) const
 
bool operator!= (const filter_value_t &other) const
 
bool operator< (const filter_value_t &other) const
 
filter_value_toperator= (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
 

Detailed Description

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