Couchbase C++ SDK 1.0.2 (rev. 51f4775)
Loading...
Searching...
No Matches
numeric_range Class Reference

Numeric range for numeric_range_facet. More...

#include <couchbase/numeric_range.hxx>

Public Member Functions

 numeric_range (std::string name, double min, double max)
 
auto name () const -> const std::string &
 
auto min () const -> const std::optional< double > &
 
auto max () const -> const std::optional< double > &
 

Static Public Member Functions

static numeric_range with_min (std::string name, double start)
 
static numeric_range with_max (std::string name, double end)
 

Detailed Description

Numeric range for numeric_range_facet.

Constructor & Destructor Documentation

◆ numeric_range()

numeric_range ( std::string name,
double min,
double max )

Member Function Documentation

◆ max()

auto max ( ) const -> const std::optional<double>&
inlinenodiscard

◆ min()

auto min ( ) const -> const std::optional<double>&
inlinenodiscard

◆ name()

auto name ( ) const -> const std::string&
inlinenodiscard

◆ with_max()

static numeric_range with_max ( std::string name,
double end )
static

◆ with_min()

static numeric_range with_min ( std::string name,
double start )
static

The documentation for this class was generated from the following file: