23 #include "exiv2lib_export.h" 31 #if defined(EXV_HAVE_REGEX_H) 36 typedef std::vector<regex_t> exv_grep_keys_t ;
57 typedef std::vector<Exiv2_grep_key_t> exv_grep_keys_t ;
64 #define EXIV2_MAKE_VERSION(major,minor,patch) \ 65 (((major) << 16) | ((minor) << 8) | (patch)) 70 #define EXIV2_VERSION \ 71 EXIV2_MAKE_VERSION(EXIV2_MAJOR_VERSION,EXIV2_MINOR_VERSION,EXIV2_PATCH_VERSION) 116 #define EXIV2_TEST_VERSION(major,minor,patch) \ 117 ( EXIV2_VERSION >= EXIV2_MAKE_VERSION(major,minor,patch) ) 125 EXIV2API
int versionNumber();
129 EXIV2API std::string versionString();
133 EXIV2API std::string versionNumberHexString();
138 EXIV2API
const char* version();
147 EXIV2API
bool testVersion(
int major,
int minor,
int patch);
152 EXIV2API
void dumpLibraryInfo(std::ostream& os,
const exv_grep_keys_t& keys);
157 #endif // VERSION_HPP_ std::string pattern_
simple string to match
Definition: version.hpp:49
bool bIgnoreCase_
should we ignore cast in the match?
Definition: version.hpp:52
exv_grep_key_t is a simple string and the ignore flag
Definition: version.hpp:41
Provides classes and functions to encode and decode Exif and Iptc data. The libexiv2 API consists of ...
Definition: asfvideo.hpp:36
Exiv2_grep_key_t(std::string pattern, bool bIgnoreCase)
Exiv2_grep_key_t constructor.
Definition: version.hpp:45