TachyonUI 0.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
gui_numeric_type.h File Reference
#include <cstdint>

Go to the source code of this file.

Classes

union  tachyon::NumericValue

Namespaces

namespace  tachyon

Enumerations

enum class  tachyon::NumericType {
  tachyon::NumericType::None , tachyon::NumericType::TypeUnsignedBit = 16 , tachyon::NumericType::TypeSignedBit = 32 , tachyon::NumericType::TypeFloatBit = 64 ,
  tachyon::NumericType::TypeUInt8 = TypeUnsignedBit | 1 , tachyon::NumericType::TypeUInt16 = TypeUnsignedBit | 2 , tachyon::NumericType::TypeUInt32 = TypeUnsignedBit | 3 , tachyon::NumericType::TypeUInt64 = TypeUnsignedBit | 4 ,
  tachyon::NumericType::TypeInt8 = TypeSignedBit | 1 , tachyon::NumericType::TypeInt16 = TypeSignedBit | 2 , tachyon::NumericType::TypeInt32 = TypeSignedBit | 3 , tachyon::NumericType::TypeInt64 = TypeSignedBit | 4 ,
  tachyon::NumericType::TypeFloat = TypeFloatBit | 1 , tachyon::NumericType::TypeDouble = TypeFloatBit | 2
}

Functions

template<typename T>
constexpr NumericType tachyon::GetNumericType (const T &)
template<>
constexpr NumericType tachyon::GetNumericType (const int8_t &)
template<>
constexpr NumericType tachyon::GetNumericType (const int16_t &)
template<>
constexpr NumericType tachyon::GetNumericType (const int32_t &)
template<>
constexpr NumericType tachyon::GetNumericType (const int64_t &)
template<>
constexpr NumericType tachyon::GetNumericType (const uint8_t &)
template<>
constexpr NumericType tachyon::GetNumericType (const uint16_t &)
template<>
constexpr NumericType tachyon::GetNumericType (const uint32_t &)
template<>
constexpr NumericType tachyon::GetNumericType (const uint64_t &)
template<>
constexpr NumericType tachyon::GetNumericType (const float &)
template<>
constexpr NumericType tachyon::GetNumericType (const double &)
template<typename T>
NumericType tachyon::CopyNumericTypeTo (const T &, NumericValue &dst)
template<>
NumericType tachyon::CopyNumericTypeTo (const int8_t &src, NumericValue &dst)
template<>
NumericType tachyon::CopyNumericTypeTo (const int16_t &src, NumericValue &dst)
template<>
NumericType tachyon::CopyNumericTypeTo (const int32_t &src, NumericValue &dst)
template<>
NumericType tachyon::CopyNumericTypeTo (const int64_t &src, NumericValue &dst)
template<>
NumericType tachyon::CopyNumericTypeTo (const uint8_t &src, NumericValue &dst)
template<>
NumericType tachyon::CopyNumericTypeTo (const uint16_t &src, NumericValue &dst)
template<>
NumericType tachyon::CopyNumericTypeTo (const uint32_t &src, NumericValue &dst)
template<>
NumericType tachyon::CopyNumericTypeTo (const uint64_t &src, NumericValue &dst)
template<>
NumericType tachyon::CopyNumericTypeTo (const float &src, NumericValue &dst)
template<>
NumericType tachyon::CopyNumericTypeTo (const double &src, NumericValue &dst)
template<typename T>
bool tachyon::CopyNumericTypeTo (NumericType, const NumericValue &, T &)
template<>
bool tachyon::CopyNumericTypeTo (NumericType type, const NumericValue &src, int8_t &dst)
template<>
bool tachyon::CopyNumericTypeTo (NumericType type, const NumericValue &src, int16_t &dst)
template<>
bool tachyon::CopyNumericTypeTo (NumericType type, const NumericValue &src, int32_t &dst)
template<>
bool tachyon::CopyNumericTypeTo (NumericType type, const NumericValue &src, int64_t &dst)
template<>
bool tachyon::CopyNumericTypeTo (NumericType type, const NumericValue &src, uint8_t &dst)
template<>
bool tachyon::CopyNumericTypeTo (NumericType type, const NumericValue &src, uint16_t &dst)
template<>
bool tachyon::CopyNumericTypeTo (NumericType type, const NumericValue &src, uint32_t &dst)
template<>
bool tachyon::CopyNumericTypeTo (NumericType type, const NumericValue &src, uint64_t &dst)
template<>
bool tachyon::CopyNumericTypeTo (NumericType type, const NumericValue &src, float &dst)
template<>
bool tachyon::CopyNumericTypeTo (NumericType type, const NumericValue &src, double &dst)
template<typename T>
bool tachyon::EqualsNumericType (NumericType, NumericValue &, const T &)
template<>
bool tachyon::EqualsNumericType (NumericType type, NumericValue &left, const int8_t &right)
template<>
bool tachyon::EqualsNumericType (NumericType type, NumericValue &left, const int16_t &right)
template<>
bool tachyon::EqualsNumericType (NumericType type, NumericValue &left, const int32_t &right)
template<>
bool tachyon::EqualsNumericType (NumericType type, NumericValue &left, const int64_t &right)
template<>
bool tachyon::EqualsNumericType (NumericType type, NumericValue &left, const uint8_t &right)
template<>
bool tachyon::EqualsNumericType (NumericType type, NumericValue &left, const uint16_t &right)
template<>
bool tachyon::EqualsNumericType (NumericType type, NumericValue &left, const uint32_t &right)
template<>
bool tachyon::EqualsNumericType (NumericType type, NumericValue &left, const uint64_t &right)
template<>
bool tachyon::EqualsNumericType (NumericType type, NumericValue &left, const float &right)
template<>
bool tachyon::EqualsNumericType (NumericType type, NumericValue &left, const double &right)
bool tachyon::EqualsNumericType (NumericType leftType, NumericValue &left, NumericType rightType, const NumericValue &right)