TExifReaderUtility Class Reference

class TExifReaderUtility

This class offers a friendly interface to read the metadata in exif encoded image files

Note: Unless otherwise stated in a method's documentation, TInt& arguments represent unsigned quantities and will be updated with unsigned values, even though TInt is a signed type. In such cases, proper typecasting should be used to ensure that the values are correctly treated as unsigned.

Note: Get method arguments will only be updated if the method is returning KErrNone.

Public Member Functions
TExifReaderUtility(MExifMetadataReader *)
IMPORT_C TIntGetColorSpace(TUint16 &)
IMPORT_C TIntGetComponentsConfiguration(HBufC8 *&)
IMPORT_C TIntGetCopyright(HBufC8 *&)
IMPORT_C TIntGetDateTime(HBufC8 *&)
IMPORT_C TIntGetDateTimeDigitized(HBufC8 *&)
IMPORT_C TIntGetDateTimeOriginal(HBufC8 *&)
IMPORT_C TIntGetExifVersion(HBufC8 *&)
IMPORT_C TIntGetFlash(TUint16 &)
IMPORT_C TIntGetFlashPixVersion(HBufC8 *&)
IMPORT_C TIntGetFocalLength(TInt &, TInt &)
IMPORT_C TIntGetGpsAltitude(TInt &, TInt &)
IMPORT_C TIntGetGpsAltitudeRef(TUint8 &)
IMPORT_C TIntGetGpsAreaInformation(HBufC8 *&)
IMPORT_C TIntGetGpsDateStamp(HBufC8 *&)
IMPORT_C TIntGetGpsDestBearing(TInt &, TInt &)
IMPORT_C TIntGetGpsDestBearingRef(HBufC8 *&)
IMPORT_C TIntGetGpsDestDistance(TInt &, TInt &)
IMPORT_C TIntGetGpsDestDistanceRef(HBufC8 *&)
IMPORT_C TIntGetGpsDestLatitude(TInt &, TInt &, TInt &, TInt &, TInt &, TInt &)
IMPORT_C TIntGetGpsDestLatitudeRef(HBufC8 *&)
IMPORT_C TIntGetGpsDestLongitude(TInt &, TInt &, TInt &, TInt &, TInt &, TInt &)
IMPORT_C TIntGetGpsDestLongitudeRef(HBufC8 *&)
IMPORT_C TIntGetGpsDifferential(TUint16 &)
IMPORT_C TIntGetGpsDop(TInt &, TInt &)
IMPORT_C TIntGetGpsImgDirection(TInt &, TInt &)
IMPORT_C TIntGetGpsImgDirectionRef(HBufC8 *&)
IMPORT_C TIntGetGpsLatitude(TInt &, TInt &, TInt &, TInt &, TInt &, TInt &)
IMPORT_C TIntGetGpsLatitudeRef(HBufC8 *&)
IMPORT_C TIntGetGpsLongitude(TInt &, TInt &, TInt &, TInt &, TInt &, TInt &)
IMPORT_C TIntGetGpsLongitudeRef(HBufC8 *&)
IMPORT_C TIntGetGpsMapDatum(HBufC8 *&)
IMPORT_C TIntGetGpsMeasureMode(HBufC8 *&)
IMPORT_C TIntGetGpsProcessingMethod(HBufC8 *&)
IMPORT_C TIntGetGpsSatellites(HBufC8 *&)
IMPORT_C TIntGetGpsSpeed(TInt &, TInt &)
IMPORT_C TIntGetGpsSpeedRef(HBufC8 *&)
IMPORT_C TIntGetGpsStatus(HBufC8 *&)
IMPORT_C TIntGetGpsTimeStamp(TInt &, TInt &, TInt &, TInt &, TInt &, TInt &)
IMPORT_C TIntGetGpsTrack(TInt &, TInt &)
IMPORT_C TIntGetGpsTrackRef(HBufC8 *&)
IMPORT_C TIntGetGpsVersionId(HBufC8 *&)
IMPORT_C TIntGetImageDescription(HBufC8 *&)
IMPORT_C TIntGetInteroperabilityIndex(HBufC8 *&)
IMPORT_C TIntGetInteroperabilityVersion(HBufC8 *&)
IMPORT_C TIntGetJpegInterchangeFormatLength(TInt &)
IMPORT_C TIntGetJpegInterchangeFormatLength(TUint &)
IMPORT_C TIntGetMake(HBufC8 *&)
IMPORT_C TIntGetMakerNote(HBufC8 *&)
IMPORT_C TIntGetModel(HBufC8 *&)
IMPORT_C TIntGetOrientation(TUint16 &)
IMPORT_C TIntGetPixelXDimension(TInt &)
IMPORT_C TIntGetPixelYDimension(TInt &)
IMPORT_C TIntGetResolutionUnit(TUint16 &)
IMPORT_C TIntGetShutterSpeedValue(TInt &, TInt &)
IMPORT_C TIntGetThumbCompression(TUint16 &)
IMPORT_C TIntGetThumbOrientation(TUint16 &)
IMPORT_C TIntGetThumbResolutionUnit(TUint16 &)
IMPORT_C TIntGetThumbXResolution(TInt &, TInt &)
IMPORT_C TIntGetThumbYResolution(TInt &, TInt &)
IMPORT_C TIntGetUserComment(HBufC8 *&)
IMPORT_C TIntGetXResolution(TInt &, TInt &)
IMPORT_C TIntGetYCbCrPositioning(TUint16 &)
IMPORT_C TIntGetYResolution(TInt &, TInt &)
Private Attributes
MExifMetadataReader *iExifRead

Constructor & Destructor Documentation

TExifReaderUtility(MExifMetadataReader *)

IMPORT_CTExifReaderUtility(MExifMetadataReader *aExifMetadataReader)

Parameters

MExifMetadataReader * aExifMetadataReader

Member Functions Documentation

GetColorSpace(TUint16 &)

IMPORT_C TIntGetColorSpace(TUint16 &aParam)const

Parameters

TUint16 & aParam

GetComponentsConfiguration(HBufC8 *&)

IMPORT_C TIntGetComponentsConfiguration(HBufC8 *&aParam)const

Parameters

HBufC8 *& aParam

GetCopyright(HBufC8 *&)

IMPORT_C TIntGetCopyright(HBufC8 *&aParam)const

Parameters

HBufC8 *& aParam

GetDateTime(HBufC8 *&)

IMPORT_C TIntGetDateTime(HBufC8 *&aParam)const

Parameters

HBufC8 *& aParam

GetDateTimeDigitized(HBufC8 *&)

IMPORT_C TIntGetDateTimeDigitized(HBufC8 *&aParam)const

Parameters

HBufC8 *& aParam

GetDateTimeOriginal(HBufC8 *&)

IMPORT_C TIntGetDateTimeOriginal(HBufC8 *&aParam)const

Parameters

HBufC8 *& aParam

GetExifVersion(HBufC8 *&)

IMPORT_C TIntGetExifVersion(HBufC8 *&aParam)const

Parameters

HBufC8 *& aParam

GetFlash(TUint16 &)

IMPORT_C TIntGetFlash(TUint16 &aParam)const

Parameters

TUint16 & aParam

GetFlashPixVersion(HBufC8 *&)

IMPORT_C TIntGetFlashPixVersion(HBufC8 *&aParam)const

Parameters

HBufC8 *& aParam

GetFocalLength(TInt &, TInt &)

IMPORT_C TIntGetFocalLength(TInt &aNumerator,
TInt &aDenominator
)const

Parameters

TInt & aNumerator
TInt & aDenominator

GetGpsAltitude(TInt &, TInt &)

IMPORT_C TIntGetGpsAltitude(TInt &aNumerator,
TInt &aDenominator
)const

Parameters

TInt & aNumerator
TInt & aDenominator

GetGpsAltitudeRef(TUint8 &)

IMPORT_C TIntGetGpsAltitudeRef(TUint8 &aParam)const

Parameters

TUint8 & aParam

GetGpsAreaInformation(HBufC8 *&)

IMPORT_C TIntGetGpsAreaInformation(HBufC8 *&aParam)const

Parameters

HBufC8 *& aParam

GetGpsDateStamp(HBufC8 *&)

IMPORT_C TIntGetGpsDateStamp(HBufC8 *&aParam)const

Parameters

HBufC8 *& aParam

GetGpsDestBearing(TInt &, TInt &)

IMPORT_C TIntGetGpsDestBearing(TInt &aNumerator,
TInt &aDenominator
)const

Parameters

TInt & aNumerator
TInt & aDenominator

GetGpsDestBearingRef(HBufC8 *&)

IMPORT_C TIntGetGpsDestBearingRef(HBufC8 *&aParam)const

Parameters

HBufC8 *& aParam

GetGpsDestDistance(TInt &, TInt &)

IMPORT_C TIntGetGpsDestDistance(TInt &aNumerator,
TInt &aDenominator
)const

Parameters

TInt & aNumerator
TInt & aDenominator

GetGpsDestDistanceRef(HBufC8 *&)

IMPORT_C TIntGetGpsDestDistanceRef(HBufC8 *&aParam)const

Parameters

HBufC8 *& aParam

GetGpsDestLatitude(TInt &, TInt &, TInt &, TInt &, TInt &, TInt &)

IMPORT_C TIntGetGpsDestLatitude(TInt &aDegNumerator,
TInt &aDegDenominator,
TInt &aMinNumerator,
TInt &aMinDenominator,
TInt &aSecNumerator,
TInt &aSecDenominator
)const

Parameters

TInt & aDegNumerator
TInt & aDegDenominator
TInt & aMinNumerator
TInt & aMinDenominator
TInt & aSecNumerator
TInt & aSecDenominator

GetGpsDestLatitudeRef(HBufC8 *&)

IMPORT_C TIntGetGpsDestLatitudeRef(HBufC8 *&aParam)const

Parameters

HBufC8 *& aParam

GetGpsDestLongitude(TInt &, TInt &, TInt &, TInt &, TInt &, TInt &)

IMPORT_C TIntGetGpsDestLongitude(TInt &aDegNumerator,
TInt &aDegDenominator,
TInt &aMinNumerator,
TInt &aMinDenominator,
TInt &aSecNumerator,
TInt &aSecDenominator
)const

Parameters

TInt & aDegNumerator
TInt & aDegDenominator
TInt & aMinNumerator
TInt & aMinDenominator
TInt & aSecNumerator
TInt & aSecDenominator

GetGpsDestLongitudeRef(HBufC8 *&)

IMPORT_C TIntGetGpsDestLongitudeRef(HBufC8 *&aParam)const

Parameters

HBufC8 *& aParam

GetGpsDifferential(TUint16 &)

IMPORT_C TIntGetGpsDifferential(TUint16 &aParam)const

Parameters

TUint16 & aParam

GetGpsDop(TInt &, TInt &)

IMPORT_C TIntGetGpsDop(TInt &aNumerator,
TInt &aDenominator
)const

Parameters

TInt & aNumerator
TInt & aDenominator

GetGpsImgDirection(TInt &, TInt &)

IMPORT_C TIntGetGpsImgDirection(TInt &aNumerator,
TInt &aDenominator
)const

Parameters

TInt & aNumerator
TInt & aDenominator

GetGpsImgDirectionRef(HBufC8 *&)

IMPORT_C TIntGetGpsImgDirectionRef(HBufC8 *&aParam)const

Parameters

HBufC8 *& aParam

GetGpsLatitude(TInt &, TInt &, TInt &, TInt &, TInt &, TInt &)

IMPORT_C TIntGetGpsLatitude(TInt &aDegNumerator,
TInt &aDegDenominator,
TInt &aMinNumerator,
TInt &aMinDenominator,
TInt &aSecNumerator,
TInt &aSecDenominator
)const

Parameters

TInt & aDegNumerator
TInt & aDegDenominator
TInt & aMinNumerator
TInt & aMinDenominator
TInt & aSecNumerator
TInt & aSecDenominator

GetGpsLatitudeRef(HBufC8 *&)

IMPORT_C TIntGetGpsLatitudeRef(HBufC8 *&aParam)const

Parameters

HBufC8 *& aParam

GetGpsLongitude(TInt &, TInt &, TInt &, TInt &, TInt &, TInt &)

IMPORT_C TIntGetGpsLongitude(TInt &aDegNumerator,
TInt &aDegDenominator,
TInt &aMinNumerator,
TInt &aMinDenominator,
TInt &aSecNumerator,
TInt &aSecDenominator
)const

Parameters

TInt & aDegNumerator
TInt & aDegDenominator
TInt & aMinNumerator
TInt & aMinDenominator
TInt & aSecNumerator
TInt & aSecDenominator

GetGpsLongitudeRef(HBufC8 *&)

IMPORT_C TIntGetGpsLongitudeRef(HBufC8 *&aParam)const

Parameters

HBufC8 *& aParam

GetGpsMapDatum(HBufC8 *&)

IMPORT_C TIntGetGpsMapDatum(HBufC8 *&aParam)const

Parameters

HBufC8 *& aParam

GetGpsMeasureMode(HBufC8 *&)

IMPORT_C TIntGetGpsMeasureMode(HBufC8 *&aParam)const

Parameters

HBufC8 *& aParam

GetGpsProcessingMethod(HBufC8 *&)

IMPORT_C TIntGetGpsProcessingMethod(HBufC8 *&aParam)const

Parameters

HBufC8 *& aParam

GetGpsSatellites(HBufC8 *&)

IMPORT_C TIntGetGpsSatellites(HBufC8 *&aParam)const

Parameters

HBufC8 *& aParam

GetGpsSpeed(TInt &, TInt &)

IMPORT_C TIntGetGpsSpeed(TInt &aNumerator,
TInt &aDenominator
)const

Parameters

TInt & aNumerator
TInt & aDenominator

GetGpsSpeedRef(HBufC8 *&)

IMPORT_C TIntGetGpsSpeedRef(HBufC8 *&aParam)const

Parameters

HBufC8 *& aParam

GetGpsStatus(HBufC8 *&)

IMPORT_C TIntGetGpsStatus(HBufC8 *&aParam)const

Parameters

HBufC8 *& aParam

GetGpsTimeStamp(TInt &, TInt &, TInt &, TInt &, TInt &, TInt &)

IMPORT_C TIntGetGpsTimeStamp(TInt &aHourNumerator,
TInt &aHourDenominator,
TInt &aMinNumerator,
TInt &aMinDenominator,
TInt &aSecNumerator,
TInt &aSecDenominator
)const

Parameters

TInt & aHourNumerator
TInt & aHourDenominator
TInt & aMinNumerator
TInt & aMinDenominator
TInt & aSecNumerator
TInt & aSecDenominator

GetGpsTrack(TInt &, TInt &)

IMPORT_C TIntGetGpsTrack(TInt &aNumerator,
TInt &aDenominator
)const

Parameters

TInt & aNumerator
TInt & aDenominator

GetGpsTrackRef(HBufC8 *&)

IMPORT_C TIntGetGpsTrackRef(HBufC8 *&aParam)const

Parameters

HBufC8 *& aParam

GetGpsVersionId(HBufC8 *&)

IMPORT_C TIntGetGpsVersionId(HBufC8 *&aParam)const

Parameters

HBufC8 *& aParam

GetImageDescription(HBufC8 *&)

IMPORT_C TIntGetImageDescription(HBufC8 *&aParam)const

Parameters

HBufC8 *& aParam

GetInteroperabilityIndex(HBufC8 *&)

IMPORT_C TIntGetInteroperabilityIndex(HBufC8 *&aParam)const

Parameters

HBufC8 *& aParam

GetInteroperabilityVersion(HBufC8 *&)

IMPORT_C TIntGetInteroperabilityVersion(HBufC8 *&aParam)const

Parameters

HBufC8 *& aParam

GetJpegInterchangeFormatLength(TInt &)

IMPORT_C TIntGetJpegInterchangeFormatLength(TInt &aParam)const

Parameters

TInt & aParam

GetJpegInterchangeFormatLength(TUint &)

IMPORT_C TIntGetJpegInterchangeFormatLength(TUint &aParam)const

Parameters

TUint & aParam

GetMake(HBufC8 *&)

IMPORT_C TIntGetMake(HBufC8 *&aParam)const

Parameters

HBufC8 *& aParam

GetMakerNote(HBufC8 *&)

IMPORT_C TIntGetMakerNote(HBufC8 *&aParam)const

Parameters

HBufC8 *& aParam

GetModel(HBufC8 *&)

IMPORT_C TIntGetModel(HBufC8 *&aParam)const

Parameters

HBufC8 *& aParam

GetOrientation(TUint16 &)

IMPORT_C TIntGetOrientation(TUint16 &aParam)const

Parameters

TUint16 & aParam

GetPixelXDimension(TInt &)

IMPORT_C TIntGetPixelXDimension(TInt &aParam)const

Parameters

TInt & aParam

GetPixelYDimension(TInt &)

IMPORT_C TIntGetPixelYDimension(TInt &aParam)const

Parameters

TInt & aParam

GetResolutionUnit(TUint16 &)

IMPORT_C TIntGetResolutionUnit(TUint16 &aParam)const

Parameters

TUint16 & aParam

GetShutterSpeedValue(TInt &, TInt &)

IMPORT_C TIntGetShutterSpeedValue(TInt &aNumerator,
TInt &aDenominator
)const

Parameters

TInt & aNumerator
TInt & aDenominator

GetThumbCompression(TUint16 &)

IMPORT_C TIntGetThumbCompression(TUint16 &aParam)const

Parameters

TUint16 & aParam

GetThumbOrientation(TUint16 &)

IMPORT_C TIntGetThumbOrientation(TUint16 &aParam)const

Parameters

TUint16 & aParam

GetThumbResolutionUnit(TUint16 &)

IMPORT_C TIntGetThumbResolutionUnit(TUint16 &aParam)const

Parameters

TUint16 & aParam

GetThumbXResolution(TInt &, TInt &)

IMPORT_C TIntGetThumbXResolution(TInt &aNumerator,
TInt &aDenominator
)const

Parameters

TInt & aNumerator
TInt & aDenominator

GetThumbYResolution(TInt &, TInt &)

IMPORT_C TIntGetThumbYResolution(TInt &aNumerator,
TInt &aDenominator
)const

Parameters

TInt & aNumerator
TInt & aDenominator

GetUserComment(HBufC8 *&)

IMPORT_C TIntGetUserComment(HBufC8 *&aParam)const

Parameters

HBufC8 *& aParam

GetXResolution(TInt &, TInt &)

IMPORT_C TIntGetXResolution(TInt &aNumerator,
TInt &aDenominator
)const

Parameters

TInt & aNumerator
TInt & aDenominator

GetYCbCrPositioning(TUint16 &)

IMPORT_C TIntGetYCbCrPositioning(TUint16 &aParam)const

Parameters

TUint16 & aParam

GetYResolution(TInt &, TInt &)

IMPORT_C TIntGetYResolution(TInt &aNumerator,
TInt &aDenominator
)const

Parameters

TInt & aNumerator
TInt & aDenominator

Member Data Documentation

MExifMetadataReader * iExifRead

MExifMetadataReader *iExifRead[private]