26 #ifndef TAGLIB_EBMLFLOATELEMENT_H 27 #define TAGLIB_EBMLFLOATELEMENT_H 28 #ifndef DO_NOT_DOCUMENT 37 class FloatElement :
public Element
40 using FloatVariantType = std::variant<std::monostate, float, double>;
42 FloatElement(Id
id,
int sizeLength,
offset_t dataSize);
44 explicit FloatElement(Id
id);
46 FloatVariantType getValue()
const;
47 double getValueAsDouble(
double defaultValue = 0.0)
const;
48 void setValue(FloatVariantType val);
49 bool read(File &file)
override;
50 ByteVector render()
override;
53 FloatVariantType value;
off_t offset_t
Definition: taglib.h:64
A namespace for all TagLib related classes and functions.
Definition: apefile.h:41