nx_server_plugin_sdk 1.0 Server Plugin SDK

Public Member Functions | Static Public Member Functions | List of all members
nx::sdk::cloud_storage::TimePeriodList Class Reference

## Public Member Functions
| TimePeriodList (const char *jsonStr) noexcept(false)
| TimePeriodList (const nx::kit::Json &json) noexcept(false)
| TimePeriodList (SortOrder order)
template<typename T >
| TimePeriodList (const T &)=delete
void | forEach (std::function< void(const TimePeriod &)> func) const
nx::kit::Json | to_json () const
void | reverse ()
void | shrink (size_t size)
void | append (const TimePeriod &period)
void | setLastDuration (std::chrono::milliseconds duration)
SortOrder | sortOrder () const
size_t | size () const
bool | empty () const
std::optional< TimePeriod > | last () const

## Static Public Member Functions
static ValueOrError< TimePeriodList > | fromJson (const char *jsonStr) noexcept
static ValueOrError< TimePeriodList > | fromJson (const nx::kit::Json &json) noexcept

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

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