plugify
1.0.0.0
|
Namespace containing utility functions of ValueType enum. More...
Functions | |
template<typename T > | |
constexpr bool | IsBetween (T x, T a, T b) noexcept |
Checks if a value is between two other values. More... | |
constexpr bool | IsVoid (ValueType type) noexcept |
Tests whether a given type is ValueType::Void. More... | |
constexpr bool | IsValid (ValueType type) noexcept |
Tests whether a given type is a valid non-void type. More... | |
constexpr bool | IsScalar (ValueType type) noexcept |
Tests whether a given type is scalar (has no vector part). More... | |
constexpr bool | IsFloating (ValueType type) noexcept |
Tests whether a given type is a scalar floating point of any size. More... | |
constexpr bool | IsBool (ValueType type) noexcept |
Tests whether a given type is a 1-bit boolean. More... | |
constexpr bool | IsChar8 (ValueType type) noexcept |
Tests whether a given type is an 8-bit character. More... | |
constexpr bool | IsChar16 (ValueType type) noexcept |
Tests whether a given type is a 16-bit character. More... | |
constexpr bool | IsInt8 (ValueType type) noexcept |
Tests whether a given type is an 8-bit integer. More... | |
constexpr bool | IsUInt8 (ValueType type) noexcept |
Tests whether a given type is an 8-bit unsigned integer. More... | |
constexpr bool | IsInt16 (ValueType type) noexcept |
Tests whether a given type is a 16-bit integer. More... | |
constexpr bool | IsUInt16 (ValueType type) noexcept |
Tests whether a given type is a 16-bit unsigned integer. More... | |
constexpr bool | IsInt32 (ValueType type) noexcept |
Tests whether a given type is a 32-bit integer. More... | |
constexpr bool | IsUInt32 (ValueType type) noexcept |
Tests whether a given type is a 32-bit unsigned integer. More... | |
constexpr bool | IsInt64 (ValueType type) noexcept |
Tests whether a given type is a 64-bit integer. More... | |
constexpr bool | IsUInt64 (ValueType type) noexcept |
Tests whether a given type is a 64-bit unsigned integer. More... | |
constexpr bool | IsPointer (ValueType type) noexcept |
Tests whether a given type is a pointer. More... | |
constexpr bool | IsFloat (ValueType type) noexcept |
Tests whether a given type is a float. More... | |
constexpr bool | IsDouble (ValueType type) noexcept |
Tests whether a given type is a double. More... | |
constexpr bool | IsFunction (ValueType type) noexcept |
Tests whether a given type is a C-function pointer. More... | |
constexpr bool | IsString (ValueType type) noexcept |
Tests whether a given type is a string. More... | |
constexpr bool | IsAny (ValueType type) noexcept |
Tests whether a given type is an any. More... | |
constexpr bool | IsObject (ValueType type) noexcept |
Tests whether a given type is an object of any size. More... | |
constexpr bool | IsArray (ValueType type) noexcept |
Tests whether a given type is an array of any size. More... | |
constexpr bool | IsStruct (ValueType type) noexcept |
Tests whether a given type is a POD (plain old data) structure of any size. More... | |
constexpr bool | IsHiddenParam (ValueType type) noexcept |
Checks if a given ValueType is considered a hidden object parameter. More... | |
constexpr std::string_view | ToString (ValueType value) noexcept |
Convert a ValueType enum value to its string representation. More... | |
constexpr ValueType | FromString (std::string_view value) noexcept |
Convert a string representation to a ValueType enum value. More... | |
Namespace containing utility functions of ValueType enum.
|
constexprnoexcept |
Convert a string representation to a ValueType enum value.
value | The string representation of ValueType. |
Definition at line 441 of file value_type.hpp.
|
constexprnoexcept |
Tests whether a given type is an any.
type | The type to test. |
Definition at line 342 of file value_type.hpp.
|
constexprnoexcept |
Tests whether a given type is an array of any size.
type | The type to test. |
Definition at line 358 of file value_type.hpp.
|
constexprnoexcept |
Checks if a value is between two other values.
T | The type of the values. |
x | The value to check. |
a | The lower bound. |
b | The upper bound. |
Definition at line 172 of file value_type.hpp.
|
constexprnoexcept |
Tests whether a given type is a 1-bit boolean.
type | The type to test. |
Definition at line 214 of file value_type.hpp.
|
constexprnoexcept |
Tests whether a given type is a 16-bit character.
type | The type to test. |
Definition at line 230 of file value_type.hpp.
|
constexprnoexcept |
Tests whether a given type is an 8-bit character.
type | The type to test. |
Definition at line 222 of file value_type.hpp.
|
constexprnoexcept |
Tests whether a given type is a double.
type | The type to test. |
Definition at line 318 of file value_type.hpp.
|
constexprnoexcept |
Tests whether a given type is a float.
type | The type to test. |
Definition at line 310 of file value_type.hpp.
|
constexprnoexcept |
Tests whether a given type is a scalar floating point of any size.
type | The type to test. |
Definition at line 206 of file value_type.hpp.
|
constexprnoexcept |
Tests whether a given type is a C-function pointer.
type | The type to test. |
Definition at line 326 of file value_type.hpp.
|
constexprnoexcept |
Checks if a given ValueType is considered a hidden object parameter.
type | The ValueType to check. |
This function determines if the provided ValueType is typically treated as a hidden object parameter. Hidden object parameters are those where the return argument is allocated by the caller function and passed as the first argument. This is often true for objects and large structs.
Definition at line 379 of file value_type.hpp.
|
constexprnoexcept |
Tests whether a given type is a 16-bit integer.
type | The type to test. |
Definition at line 254 of file value_type.hpp.
|
constexprnoexcept |
Tests whether a given type is a 32-bit integer.
type | The type to test. |
Definition at line 270 of file value_type.hpp.
|
constexprnoexcept |
Tests whether a given type is a 64-bit integer.
type | The type to test. |
Definition at line 286 of file value_type.hpp.
|
constexprnoexcept |
Tests whether a given type is an 8-bit integer.
type | The type to test. |
Definition at line 238 of file value_type.hpp.
|
constexprnoexcept |
Tests whether a given type is an object of any size.
type | The type to test. |
Definition at line 350 of file value_type.hpp.
|
constexprnoexcept |
Tests whether a given type is a pointer.
type | The type to test. |
Definition at line 302 of file value_type.hpp.
|
constexprnoexcept |
Tests whether a given type is scalar (has no vector part).
type | The type to test. |
Definition at line 198 of file value_type.hpp.
|
constexprnoexcept |
Tests whether a given type is a string.
type | The type to test. |
Definition at line 334 of file value_type.hpp.
|
constexprnoexcept |
Tests whether a given type is a POD (plain old data) structure of any size.
type | The type to test. |
Definition at line 366 of file value_type.hpp.
|
constexprnoexcept |
Tests whether a given type is a 16-bit unsigned integer.
type | The type to test. |
Definition at line 262 of file value_type.hpp.
|
constexprnoexcept |
Tests whether a given type is a 32-bit unsigned integer.
type | The type to test. |
Definition at line 278 of file value_type.hpp.
|
constexprnoexcept |
Tests whether a given type is a 64-bit unsigned integer.
type | The type to test. |
Definition at line 294 of file value_type.hpp.
|
constexprnoexcept |
Tests whether a given type is an 8-bit unsigned integer.
type | The type to test. |
Definition at line 246 of file value_type.hpp.
|
constexprnoexcept |
Tests whether a given type is a valid non-void type.
type | The type to test. |
Definition at line 190 of file value_type.hpp.
|
constexprnoexcept |
Tests whether a given type is ValueType::Void.
type | The type to test. |
Definition at line 182 of file value_type.hpp.
|
constexprnoexcept |
Convert a ValueType enum value to its string representation.
value | The ValueType value to convert. |
Definition at line 388 of file value_type.hpp.