Go to the documentation of this file.
15 #include <unordered_map>
17 #include <libexif/exif-data.h>
18 #include <libexif/exif-mnote-data.h>
28 #include <libexif/exif-byte-order.h>
29 #include <libexif/exif-log.h>
37 void (*
free) (ExifMnoteData *);
40 void (*
save) (ExifMnoteData *,
unsigned char **,
unsigned int *);
41 void (*
load) (ExifMnoteData *,
const unsigned char *,
unsigned int);
48 const char * (* get_name) (ExifMnoteData *,
unsigned int);
49 const char * (* get_title) (ExifMnoteData *,
unsigned int);
50 const char * (* get_description) (ExifMnoteData *,
unsigned int);
51 char * (* get_value) (ExifMnoteData *,
unsigned int,
char *val,
unsigned int maxlen);
97 std::function<
int(const ::ExifData* exifData, const ::ExifEntry* exifEntry)>
identify;
103 std::function<::ExifMnoteData*(::ExifMem* mem)>
create;
void(* free)(ExifMnoteData *)
std::unordered_map< std::string, LibexifCustomMakerNote > customMakerNotes
All registered custom MakerNote parsers.
void exif_mnote_data_set_byte_order(ExifMnoteData *, ExifByteOrder)
struct _ExifMnoteDataPriv ExifMnoteDataPriv
void(* save)(ExifMnoteData *, unsigned char **, unsigned int *)
LibexifCustomMakernotes()
void(* set_byte_order)(ExifMnoteData *, ExifByteOrder)
ExifMnoteDataMethods methods
Description of a custom MakerNote parser for one vendor.
void exif_mnote_data_construct(ExifMnoteData *, ExifMem *mem)
std::function< int(const ::ExifData *exifData, const ::ExifEntry *exifEntry)> identify
Function that identifies the MakerNote.
void exif_mnote_data_set_offset(ExifMnoteData *, unsigned int)
void(* set_offset)(ExifMnoteData *, unsigned int)
void(* load)(ExifMnoteData *, const unsigned char *, unsigned int)
std::function<::ExifMnoteData *(::ExifMem *mem)> create
Create a new instance of the custom MakerNote.
Container of all implemented custom MakerNote parsers.
unsigned int(* get_id)(ExifMnoteData *, unsigned int)
unsigned int(* count)(ExifMnoteData *)