nx_server_plugin_sdk 1.0 Server Plugin SDK

Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
nx::sdk::cloud_storage::NumericRange Struct Reference

`#include <data.h>`

## Public Member Functions
| NumericRange (const nx::kit::Json &json) noexcept(false)
| NumericRange (const char *jsonData) noexcept(false)
template<typename T >
| NumericRange (const T &)=delete
bool | operator== (const NumericRange &) const
| NumericRange (float value)
| NumericRange (std::optional< RangePoint > from, std::optional< RangePoint > to)
nx::kit::Json | to_json () const
bool | intersects (const NumericRange &range) const
bool | hasRange (const NumericRange &range) const

## Static Public Member Functions
static ValueOrError< NumericRange > | fromJson (const char *jsonStr) noexcept
static ValueOrError< NumericRange > | fromJson (const nx::kit::Json &json) noexcept
static std::optional< NumericRange > | fromString (const std::string &s)

## Public Attributes
std::optional< RangePoint > | from
std::optional< RangePoint > | to

## Detailed Description

Numeric range representation. Used as one of the possible search conditions while querying Object Tracks filtered by Attributes.

The documentation for this struct was generated from the following files:

- src/nx/sdk/cloud_storage/helpers/data.h
- src/nx/sdk/cloud_storage/helpers/data.cpp