#include "../C/Types.h"
#include <cstdint>
#include <cstring>
#include <string_view>
#include <string>
#include <optional>
#include <span>
#include <vector>
#include <variant>
#include <unordered_map>
#include <functional>
#include <limits>
#include <type_traits>
Go to the source code of this file.
|
| template<EnumT E> |
| constexpr auto | underlying (E e) noexcept -> std::underlying_type_t< E > |
| |
template<typename To , typename From >
requires PolymorphicConvertible<To, From> |
| To * | dynamicCastX (From *ptr) noexcept |
| |
| template<HashableT T> |
| std::size_t | getHash (const T &value) |
| |
| template<IterableT T> |
| void | iterate (const T &container, std::function< void(const typename T::value_type &)> &&func) |
| |
| template<NumberT T> |
| constexpr T | MinV () |
| |
| template<NumberT T> |
| constexpr T | MaxV () |
| |
| int32_t | str2int32 (const std::string &str, int32_t defaultI=MinInt32) |
| |
| int64_t | str2int64 (const std::string &str, int64_t defaultI=MinInt64) |
| |
| float | str2float32 (const std::string &str, float defaultF=MinFloat32) |
| |
| double | str2float64 (const std::string &str, double defaultF=MinFloat64) |
| |
| long double | str2float128 (const std::string &str, long double defaultF=MinFloat128) |
| |
| auto | Any2String (const Any &v) |
| |
| auto | Any2Integer (const Any &a, int64_t defaultI=MinInt64) |
| |
| auto | Any2Float (const Any &a, double defaultF=MinFloat64) |
| |
| std::optional< std::string > | dictAnyReadString (const DictAny &dict, DictKeyT key) |
| |
| auto | dictAnyReadString (const DictAny &dict, DictKeyT key, const std::string &defaultS) |
| |
| std::optional< int64_t > | dictAnyReadInteger (const DictAny &dict, DictKeyT key) |
| |
| auto | dictAnyReadInteger (const DictAny &dict, DictKeyT key, int64_t defaultI) |
| |
| std::optional< double > | dictAnyReadFloat (const DictAny &dict, DictKeyT key) |
| |
| auto | dictAnyReadFloat (const DictAny &dict, DictKeyT key, double defaultF) |
| |
| BytesView | makeBytesView (const byte *data, size_t len) |
| |
| Bytes | makeBytes (const byte *data, size_t len) |
| |
| template<CharacterT T> |
| std::string | makeStr (const T *ptr, size_t len=0) |
| |
| std::optional< const char * > | nullTerminatedCStr (std::string_view str) |
| |
◆ AssertMove
Value: static_assert(std::is_move_constructible_v<T>, #
T " MUST BE MOVE CONSTRUCTIBLE!");
\
static_assert(std::is_move_assignable_v<T>, #
T " MUST BE MOVE ASSIGNABLE!");
\
static_assert(std::is_nothrow_move_constructible_v<T>, #
T " MUST BE NOTHROW MOVE CONSTRUCTIBLE!");
\
static_assert(std::is_nothrow_move_assignable_v<T>, #
T " MUST BE NOTHROW MOVE ASSIGNABLE!")
constexpr T MinV()
Definition Types.hxx:151
◆ Any
◆ Bytes
◆ BytesView
◆ Dict
◆ DictAny
◆ DictKeyT
◆ Num
◆ Any2Float()
◆ Any2Integer()
◆ Any2String()
◆ dictAnyReadFloat() [1/2]
◆ dictAnyReadFloat() [2/2]
◆ dictAnyReadInteger() [1/2]
◆ dictAnyReadInteger() [2/2]
◆ dictAnyReadString() [1/2]
◆ dictAnyReadString() [2/2]
◆ dynamicCastX()
| To * dynamicCastX |
( |
From * |
ptr | ) |
|
|
noexcept |
◆ getHash()
◆ iterate()
◆ makeBytes()
◆ makeBytesView()
◆ makeStr()
◆ MaxV()
◆ MinV()
◆ nullTerminatedCStr()
◆ str2float128()
◆ str2float32()
◆ str2float64()
◆ str2int32()
◆ str2int64()
◆ underlying()
◆ MaxFloat128
◆ MaxFloat32
◆ MaxFloat64
◆ MaxInt32
◆ MaxInt64
◆ MinFloat128
◆ MinFloat32
◆ MinFloat64
◆ MinInt32
◆ MinInt64