6#include "exiv2lib_export.h"
19#define EXIV2_MAKE_VERSION(major, minor, patch) (((major) << 16) | ((minor) << 8) | (patch))
24#define EXIV2_VERSION EXIV2_MAKE_VERSION(EXIV2_MAJOR_VERSION, EXIV2_MINOR_VERSION, EXIV2_PATCH_VERSION)
69#define EXIV2_TEST_VERSION(major, minor, patch) (EXIV2_VERSION >= EXIV2_MAKE_VERSION(major, minor, patch))
99EXIV2API
bool testVersion(uint32_t major, uint32_t minor, uint32_t patch);
104EXIV2API
void dumpLibraryInfo(std::ostream& os,
const std::vector<std::regex>& keys);
Class CrwImage to access Canon CRW images. References: The Canon RAW (CRW) File Format by Phil Harv...
Definition asfvideo.hpp:15
EXIV2API uint32_t versionNumber()
Return the version of Exiv2 available at runtime as a uint32_t.
Definition version.cpp:66
EXIV2API const char * version()
Return the version of Exiv2 as "C" string eg "0.27.0.2".
Definition version.cpp:82
EXIV2API void dumpLibraryInfo(std::ostream &os, const std::vector< std::regex > &keys)
dumpLibraryInfo implements the exiv2 option –version –verbose used by exiv2 test suite to inspect lib...
Definition version.cpp:199
EXIV2API std::string versionNumberHexString()
Return the version of Exiv2 as hex string of fixed length 6.
Definition version.cpp:76
EXIV2API std::string versionString()
Return the version string Example: "0.25.0" (major.minor.patch)
Definition version.cpp:70
EXIV2API bool testVersion(uint32_t major, uint32_t minor, uint32_t patch)
Test the version of the available Exiv2 library at runtime. Return true if it is the same as or newer...
Definition version.cpp:86