userver: userver/utils/bytes_per_second.hpp File Reference
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
bytes_per_second.hpp File Reference

Your opinion will help to improve our service

Leave a feedback >

Detailed Description

Data type that represents bytes per second unit.

Definition in file bytes_per_second.hpp.

Go to the source code of this file.

#include <string>
#include <userver/formats/parse/to.hpp>

Namespaces

namespace  utils
 Utilities.
 

Enumerations

enum class  utils::BytesPerSecond : long long
 Data type that represents bytes per second unit. More...
 

Functions

constexpr long long utils::ToLongLong (BytesPerSecond x)
 
constexpr bool utils::operator== (BytesPerSecond lhs, BytesPerSecond rhs)
 
constexpr bool utils::operator!= (BytesPerSecond lhs, BytesPerSecond rhs)
 
BytesPerSecond utils::StringToBytesPerSecond (const std::string &data)
 
template<class Value>
BytesPerSecond utils::Parse (const Value &v, formats::parse::To< BytesPerSecond >)