Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals

libexif/exif-tag.c File Reference

#include <config.h>
#include <libexif/exif-tag.h>
#include <libexif/i18n.h>
#include <stdlib.h>
#include <string.h>

Go to the source code of this file.

Defines

#define ESL_NNNN   { EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED }
#define ESL_OOOO   { EXIF_SUPPORT_LEVEL_OPTIONAL, EXIF_SUPPORT_LEVEL_OPTIONAL, EXIF_SUPPORT_LEVEL_OPTIONAL, EXIF_SUPPORT_LEVEL_OPTIONAL }
#define ESL_MMMN   { EXIF_SUPPORT_LEVEL_MANDATORY, EXIF_SUPPORT_LEVEL_MANDATORY, EXIF_SUPPORT_LEVEL_MANDATORY, EXIF_SUPPORT_LEVEL_NOT_RECORDED }
#define ESL_MMMM   { EXIF_SUPPORT_LEVEL_MANDATORY, EXIF_SUPPORT_LEVEL_MANDATORY, EXIF_SUPPORT_LEVEL_MANDATORY, EXIF_SUPPORT_LEVEL_MANDATORY }
#define ESL_OMON   { EXIF_SUPPORT_LEVEL_OPTIONAL, EXIF_SUPPORT_LEVEL_MANDATORY, EXIF_SUPPORT_LEVEL_OPTIONAL, EXIF_SUPPORT_LEVEL_NOT_RECORDED }
#define ESL_NNOO   { EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_OPTIONAL, EXIF_SUPPORT_LEVEL_OPTIONAL }
#define ESL_NNMN   { EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_MANDATORY, EXIF_SUPPORT_LEVEL_NOT_RECORDED }
#define ESL_NNMM   { EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_MANDATORY, EXIF_SUPPORT_LEVEL_MANDATORY }
#define ESL_NNNM   { EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_MANDATORY }
#define ESL_NNNO   { EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_OPTIONAL }
#define ESL_GPS   { ESL_NNNN, ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN }
#define RECORDED

Typedefs

typedef const char *(* get_stuff_func )(ExifTag tag, ExifIfd ifd)

Functions

ExifTag exif_tag_table_get_tag (unsigned int n)
const char * exif_tag_table_get_name (unsigned int n)
unsigned int exif_tag_table_count (void)
const char * exif_tag_get_name_in_ifd (ExifTag tag, ExifIfd ifd)
const char * exif_tag_get_title_in_ifd (ExifTag tag, ExifIfd ifd)
const char * exif_tag_get_description_in_ifd (ExifTag tag, ExifIfd ifd)
const char * exif_tag_get_stuff (ExifTag tag, get_stuff_func func)
const char * exif_tag_get_name (ExifTag tag)
const char * exif_tag_get_title (ExifTag tag)
const char * exif_tag_get_description (ExifTag tag)
ExifTag exif_tag_from_name (const char *name)
ExifSupportLevel exif_tag_get_support_level_in_ifd (ExifTag tag, ExifIfd ifd, ExifDataType t)

Variables

struct {
   ExifTag   tag
   const char *   name
   const char *   title
   const char *   description
   ExifSupportLevel   esl [EXIF_IFD_COUNT][4]
ExifTagTable []


Define Documentation

#define ESL_GPS   { ESL_NNNN, ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN }
 

Definition at line 39 of file exif-tag.c.

#define ESL_MMMM   { EXIF_SUPPORT_LEVEL_MANDATORY, EXIF_SUPPORT_LEVEL_MANDATORY, EXIF_SUPPORT_LEVEL_MANDATORY, EXIF_SUPPORT_LEVEL_MANDATORY }
 

Definition at line 32 of file exif-tag.c.

#define ESL_MMMN   { EXIF_SUPPORT_LEVEL_MANDATORY, EXIF_SUPPORT_LEVEL_MANDATORY, EXIF_SUPPORT_LEVEL_MANDATORY, EXIF_SUPPORT_LEVEL_NOT_RECORDED }
 

Definition at line 31 of file exif-tag.c.

#define ESL_NNMM   { EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_MANDATORY, EXIF_SUPPORT_LEVEL_MANDATORY }
 

Definition at line 36 of file exif-tag.c.

#define ESL_NNMN   { EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_MANDATORY, EXIF_SUPPORT_LEVEL_NOT_RECORDED }
 

Definition at line 35 of file exif-tag.c.

#define ESL_NNNM   { EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_MANDATORY }
 

Definition at line 37 of file exif-tag.c.

#define ESL_NNNN   { EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED }
 

Definition at line 29 of file exif-tag.c.

#define ESL_NNNO   { EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_OPTIONAL }
 

Definition at line 38 of file exif-tag.c.

#define ESL_NNOO   { EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_OPTIONAL, EXIF_SUPPORT_LEVEL_OPTIONAL }
 

Definition at line 34 of file exif-tag.c.

#define ESL_OMON   { EXIF_SUPPORT_LEVEL_OPTIONAL, EXIF_SUPPORT_LEVEL_MANDATORY, EXIF_SUPPORT_LEVEL_OPTIONAL, EXIF_SUPPORT_LEVEL_NOT_RECORDED }
 

Definition at line 33 of file exif-tag.c.

#define ESL_OOOO   { EXIF_SUPPORT_LEVEL_OPTIONAL, EXIF_SUPPORT_LEVEL_OPTIONAL, EXIF_SUPPORT_LEVEL_OPTIONAL, EXIF_SUPPORT_LEVEL_OPTIONAL }
 

Definition at line 30 of file exif-tag.c.

#define RECORDED
 

Value:

Definition at line 700 of file exif-tag.c.

Referenced by exif_tag_get_description_in_ifd(), exif_tag_get_name_in_ifd(), and exif_tag_get_title_in_ifd().


Typedef Documentation

typedef const char*(* get_stuff_func)(ExifTag tag, ExifIfd ifd)
 

Definition at line 762 of file exif-tag.c.

Referenced by exif_tag_get_stuff().


Function Documentation

ExifTag exif_tag_from_name const char *  name  ) 
 

Definition at line 806 of file exif-tag.c.

References ExifTagTable, and name.

const char* exif_tag_get_description ExifTag  tag  ) 
 

Definition at line 798 of file exif-tag.c.

References exif_tag_get_description_in_ifd(), exif_tag_get_stuff(), and tag.

const char* exif_tag_get_description_in_ifd ExifTag  tag,
ExifIfd  ifd
 

Definition at line 738 of file exif-tag.c.

References _, bindtextdomain, description, EXIF_IFD_COUNT, ExifTagTable, ifd, RECORDED, and tag.

Referenced by exif_tag_get_description().

const char* exif_tag_get_name ExifTag  tag  ) 
 

Definition at line 786 of file exif-tag.c.

References exif_tag_get_name_in_ifd(), exif_tag_get_stuff(), and tag.

Referenced by exif_content_add_entry(), exif_data_load_data_entry(), exif_entry_dump(), and exif_entry_fix().

const char* exif_tag_get_name_in_ifd ExifTag  tag,
ExifIfd  ifd
 

Definition at line 707 of file exif-tag.c.

References EXIF_IFD_COUNT, ExifTagTable, ifd, RECORDED, and tag.

Referenced by exif_content_fix(), exif_data_load_data_content(), and exif_tag_get_name().

const char* exif_tag_get_stuff ExifTag  tag,
get_stuff_func  func
[static]
 

Definition at line 765 of file exif-tag.c.

References EXIF_IFD_0, EXIF_IFD_1, EXIF_IFD_EXIF, EXIF_IFD_GPS, EXIF_IFD_INTEROPERABILITY, ExifIfd, get_stuff_func, and tag.

Referenced by exif_tag_get_description(), exif_tag_get_name(), and exif_tag_get_title().

ExifSupportLevel exif_tag_get_support_level_in_ifd ExifTag  tag,
ExifIfd  ifd,
ExifDataType  t
 

Definition at line 818 of file exif-tag.c.

References EXIF_DATA_TYPE_COUNT, EXIF_IFD_COUNT, EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_UNKNOWN, ExifTagTable, ifd, and tag.

Referenced by exif_content_fix().

const char* exif_tag_get_title ExifTag  tag  ) 
 

Definition at line 792 of file exif-tag.c.

References exif_tag_get_stuff(), exif_tag_get_title_in_ifd(), and tag.

const char* exif_tag_get_title_in_ifd ExifTag  tag,
ExifIfd  ifd
 

Definition at line 718 of file exif-tag.c.

References _, bindtextdomain, EXIF_IFD_COUNT, ExifTagTable, ifd, RECORDED, tag, and title.

Referenced by exif_tag_get_title().

unsigned int exif_tag_table_count void   ) 
 

Definition at line 695 of file exif-tag.c.

References ExifTagTable.

Referenced by exif_tag_table_get_name(), and exif_tag_table_get_tag().

const char * exif_tag_table_get_name unsigned int  n  ) 
 

Definition at line 689 of file exif-tag.c.

References exif_tag_table_count(), and ExifTagTable.

ExifTag exif_tag_table_get_tag unsigned int  n  ) 
 

Definition at line 683 of file exif-tag.c.

References exif_tag_table_count(), and ExifTagTable.


Variable Documentation

const char* description
 

Definition at line 45 of file exif-tag.c.

ExifSupportLevel esl[EXIF_IFD_COUNT][4]
 

Definition at line 46 of file exif-tag.c.

struct { ... } ExifTagTable[] [static]
 

Referenced by exif_tag_from_name(), exif_tag_get_description_in_ifd(), exif_tag_get_name_in_ifd(), exif_tag_get_support_level_in_ifd(), exif_tag_get_title_in_ifd(), exif_tag_table_count(), exif_tag_table_get_name(), and exif_tag_table_get_tag().

const char* name
 

Definition at line 43 of file exif-tag.c.

ExifTag tag
 

Definition at line 42 of file exif-tag.c.

const char* title
 

Definition at line 44 of file exif-tag.c.


Generated on Sun Sep 10 09:08:32 2006 for EXIF library (libexif) Internals by doxygen 1.3.5