22 #ifndef TETRAEDGE_TE_TE_VARIANT_H 23 #define TETRAEDGE_TE_TE_VARIANT_H 25 #include "common/str.h" 26 #include "common/types.h" 51 VariantType type()
const {
return _type; }
53 bool toBoolean(
bool *success =
nullptr)
const;
54 float toFloat32(
bool *success =
nullptr)
const;
55 double toFloat64(
bool *success =
nullptr)
const;
56 int32 toSigned32(
bool *success =
nullptr)
const;
57 int64 toSigned64(
bool *success =
nullptr)
const;
59 uint32 toUnsigned32(
bool *success =
nullptr)
const;
60 uint64 toUnsigned64(
bool *success =
nullptr)
const;
73 #endif // TETRAEDGE_TE_TE_VARIANT_H
Definition: detection.h:27
Common::String dumpStr() const
Dump a string representation for debugging.
Definition: te_variant.h:30