1 #ifndef TAG_PARSER_ASPECTRATIO_H 2 #define TAG_PARSER_ASPECTRATIO_H 6 #include <c++utilities/conversion/stringbuilder.h> 7 #include <c++utilities/conversion/types.h> 16 constexpr
AspectRatio(uint16 numerator, uint16 denominator);
17 constexpr
bool isValid()
const;
18 constexpr
bool isExtended()
const;
19 std::string toString()
const;
42 , numerator(numerator)
43 , denominator(denominator)
73 #endif // TAG_PARSER_ASPECTRATIO_H
std::string toString() const
Returns the string representation "numerator : denominator".
constexpr AspectRatio()
Constructs an invalid aspect ratio.
constexpr bool isValid() const
Returns an indication whether the aspect ratio is present and valid.
Contains all classes and functions of the TagInfo library.
#define TAG_PARSER_EXPORT
Marks the symbol to be exported by the tagparser library.
The AspectRatio struct defines an aspect ratio.
constexpr bool isExtended() const
Returns whether numerator and denominator must be read from extended SAR header.