TExifWriterUtility Class Reference

class TExifWriterUtility

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

Note: Unless otherwise stated in a method's documentation, it should be assumed that TInt arguments are representing unsigned quantities, even though TInt is a signed type. So unless otherwise stated, these parameters should be given unsigned values only.

Public Member Functions
TExifWriterUtility(MExifMetadataWriter *)
IMPORT_C TIntSetColorSpace(TInt)
IMPORT_C TIntSetComponentsConfiguration(HBufC8 *)
IMPORT_C TIntSetCopyright(HBufC8 *)
IMPORT_C TIntSetDateTime(HBufC8 *)
IMPORT_C TIntSetDateTimeDigitized(HBufC8 *)
IMPORT_C TIntSetDateTimeOriginal(HBufC8 *)
IMPORT_C TIntSetExifVersion(HBufC8 *)
IMPORT_C TIntSetFlash(TUint16)
IMPORT_C TIntSetFlashPixVersion(HBufC8 *)
IMPORT_C TIntSetFocalLength(TInt, TInt)
IMPORT_C TIntSetGpsAltitude(TInt, TInt)
IMPORT_C TIntSetGpsAltitudeRef(TUint8)
IMPORT_C TIntSetGpsAreaInformation(HBufC8 *)
IMPORT_C TIntSetGpsDateStamp(HBufC8 *)
IMPORT_C TIntSetGpsDestBearing(TInt, TInt)
IMPORT_C TIntSetGpsDestBearingRef(HBufC8 *)
IMPORT_C TIntSetGpsDestDistance(TInt, TInt)
IMPORT_C TIntSetGpsDestDistanceRef(HBufC8 *)
IMPORT_C TIntSetGpsDestLatitude(TInt, TInt, TInt, TInt, TInt, TInt)
IMPORT_C TIntSetGpsDestLatitudeRef(HBufC8 *)
IMPORT_C TIntSetGpsDestLongitude(TInt, TInt, TInt, TInt, TInt, TInt)
IMPORT_C TIntSetGpsDestLongitudeRef(HBufC8 *)
IMPORT_C TIntSetGpsDifferential(TUint16)
IMPORT_C TIntSetGpsDop(TInt, TInt)
IMPORT_C TIntSetGpsImgDirection(TInt, TInt)
IMPORT_C TIntSetGpsImgDirectionRef(HBufC8 *)
IMPORT_C TIntSetGpsLatitude(TInt, TInt, TInt, TInt, TInt, TInt)
IMPORT_C TIntSetGpsLatitudeRef(HBufC8 *)
IMPORT_C TIntSetGpsLongitude(TInt, TInt, TInt, TInt, TInt, TInt)
IMPORT_C TIntSetGpsLongitudeRef(HBufC8 *)
IMPORT_C TIntSetGpsMapDatum(HBufC8 *)
IMPORT_C TIntSetGpsMeasureMode(HBufC8 *)
IMPORT_C TIntSetGpsProcessingMethod(HBufC8 *)
IMPORT_C TIntSetGpsSatellites(HBufC8 *)
IMPORT_C TIntSetGpsSpeed(TInt, TInt)
IMPORT_C TIntSetGpsSpeedRef(HBufC8 *)
IMPORT_C TIntSetGpsStatus(HBufC8 *)
IMPORT_C TIntSetGpsTimeStamp(TInt, TInt, TInt, TInt, TInt, TInt)
IMPORT_C TIntSetGpsTrack(TInt, TInt)
IMPORT_C TIntSetGpsTrackRef(HBufC8 *)
IMPORT_C TIntSetGpsVersionId(HBufC8 *)
IMPORT_C TIntSetImageDescription(HBufC8 *)
IMPORT_C TIntSetInteroperabilityIndex(HBufC8 *)
IMPORT_C TIntSetInteroperabilityVersion(HBufC8 *)
IMPORT_C TIntSetMake(HBufC8 *)
IMPORT_C TIntSetMakerNote(HBufC8 *)
IMPORT_C TIntSetModel(HBufC8 *)
IMPORT_C TIntSetOrientation(TInt)
IMPORT_C TIntSetPixelXDimension(TInt)
IMPORT_C TIntSetPixelYDimension(TInt)
IMPORT_C TIntSetResolutionUnit(TInt)
IMPORT_C TIntSetShutterSpeedValue(TInt, TInt)
IMPORT_C TIntSetThumbCompression(TInt)
IMPORT_C TIntSetThumbOrientation(TInt)
IMPORT_C TIntSetThumbResolutionUnit(TInt)
IMPORT_C TIntSetThumbXResolution(TInt, TInt)
IMPORT_C TIntSetThumbYResolution(TInt, TInt)
IMPORT_C TIntSetUserComment(HBufC8 *)
IMPORT_C TIntSetXResolution(TInt, TInt)
IMPORT_C TIntSetYCbCrPositioning(TInt)
IMPORT_C TIntSetYResolution(TInt, TInt)
Private Attributes
MExifMetadataWriter *iExifWrite

Constructor & Destructor Documentation

TExifWriterUtility(MExifMetadataWriter *)

IMPORT_CTExifWriterUtility(MExifMetadataWriter *aExifMetadata)

Parameters

MExifMetadataWriter * aExifMetadata

Member Functions Documentation

SetColorSpace(TInt)

IMPORT_C TIntSetColorSpace(TIntaColorSpace)

Parameters

TInt aColorSpace

SetComponentsConfiguration(HBufC8 *)

IMPORT_C TIntSetComponentsConfiguration(HBufC8 *aComponentsConfig)

Parameters

HBufC8 * aComponentsConfig

SetCopyright(HBufC8 *)

IMPORT_C TIntSetCopyright(HBufC8 *aCopyright)

Parameters

HBufC8 * aCopyright

SetDateTime(HBufC8 *)

IMPORT_C TIntSetDateTime(HBufC8 *aDateTime)

Parameters

HBufC8 * aDateTime

SetDateTimeDigitized(HBufC8 *)

IMPORT_C TIntSetDateTimeDigitized(HBufC8 *aDateTime)

Parameters

HBufC8 * aDateTime

SetDateTimeOriginal(HBufC8 *)

IMPORT_C TIntSetDateTimeOriginal(HBufC8 *aDateTime)

Parameters

HBufC8 * aDateTime

SetExifVersion(HBufC8 *)

IMPORT_C TIntSetExifVersion(HBufC8 *aExifVersion)

Parameters

HBufC8 * aExifVersion

SetFlash(TUint16)

IMPORT_C TIntSetFlash(TUint16aFlash)

Parameters

TUint16 aFlash

SetFlashPixVersion(HBufC8 *)

IMPORT_C TIntSetFlashPixVersion(HBufC8 *aFlashPixVer)

Parameters

HBufC8 * aFlashPixVer

SetFocalLength(TInt, TInt)

IMPORT_C TIntSetFocalLength(TIntaNumerator,
TIntaDenominator
)

Parameters

TInt aNumerator
TInt aDenominator

SetGpsAltitude(TInt, TInt)

IMPORT_C TIntSetGpsAltitude(TIntaNumerator,
TIntaDenominator
)

Parameters

TInt aNumerator
TInt aDenominator

SetGpsAltitudeRef(TUint8)

IMPORT_C TIntSetGpsAltitudeRef(TUint8aGpsAltitudeRef)

Parameters

TUint8 aGpsAltitudeRef

SetGpsAreaInformation(HBufC8 *)

IMPORT_C TIntSetGpsAreaInformation(HBufC8 *aGpsAreaInformation)

Parameters

HBufC8 * aGpsAreaInformation

SetGpsDateStamp(HBufC8 *)

IMPORT_C TIntSetGpsDateStamp(HBufC8 *aDateStamp)

Parameters

HBufC8 * aDateStamp

SetGpsDestBearing(TInt, TInt)

IMPORT_C TIntSetGpsDestBearing(TIntaNumerator,
TIntaDenominator
)

Parameters

TInt aNumerator
TInt aDenominator

SetGpsDestBearingRef(HBufC8 *)

IMPORT_C TIntSetGpsDestBearingRef(HBufC8 *aGpsDestBearingRef)

Parameters

HBufC8 * aGpsDestBearingRef

SetGpsDestDistance(TInt, TInt)

IMPORT_C TIntSetGpsDestDistance(TIntaNumerator,
TIntaDenominator
)

Parameters

TInt aNumerator
TInt aDenominator

SetGpsDestDistanceRef(HBufC8 *)

IMPORT_C TIntSetGpsDestDistanceRef(HBufC8 *aGpsDestDistanceRef)

Parameters

HBufC8 * aGpsDestDistanceRef

SetGpsDestLatitude(TInt, TInt, TInt, TInt, TInt, TInt)

IMPORT_C TIntSetGpsDestLatitude(TIntaDegNumerator,
TIntaDegDenominator,
TIntaMinNumerator,
TIntaMinDenominator,
TIntaSecNumerator,
TIntaSecDenominator
)

Parameters

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

SetGpsDestLatitudeRef(HBufC8 *)

IMPORT_C TIntSetGpsDestLatitudeRef(HBufC8 *aGpsDestLatitudeRef)

Parameters

HBufC8 * aGpsDestLatitudeRef

SetGpsDestLongitude(TInt, TInt, TInt, TInt, TInt, TInt)

IMPORT_C TIntSetGpsDestLongitude(TIntaDegNumerator,
TIntaDegDenominator,
TIntaMinNumerator,
TIntaMinDenominator,
TIntaSecNumerator,
TIntaSecDenominator
)

Parameters

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

SetGpsDestLongitudeRef(HBufC8 *)

IMPORT_C TIntSetGpsDestLongitudeRef(HBufC8 *aGpsDestLongitudeRef)

Parameters

HBufC8 * aGpsDestLongitudeRef

SetGpsDifferential(TUint16)

IMPORT_C TIntSetGpsDifferential(TUint16aGpsDifferential)

Parameters

TUint16 aGpsDifferential

SetGpsDop(TInt, TInt)

IMPORT_C TIntSetGpsDop(TIntaNumerator,
TIntaDenominator
)

Parameters

TInt aNumerator
TInt aDenominator

SetGpsImgDirection(TInt, TInt)

IMPORT_C TIntSetGpsImgDirection(TIntaNumerator,
TIntaDenominator
)

Parameters

TInt aNumerator
TInt aDenominator

SetGpsImgDirectionRef(HBufC8 *)

IMPORT_C TIntSetGpsImgDirectionRef(HBufC8 *aGpsImgDirectionRef)

Parameters

HBufC8 * aGpsImgDirectionRef

SetGpsLatitude(TInt, TInt, TInt, TInt, TInt, TInt)

IMPORT_C TIntSetGpsLatitude(TIntaDegNumerator,
TIntaDegDenominator,
TIntaMinNumerator,
TIntaMinDenominator,
TIntaSecNumerator,
TIntaSecDenominator
)

Parameters

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

SetGpsLatitudeRef(HBufC8 *)

IMPORT_C TIntSetGpsLatitudeRef(HBufC8 *aGpsLatitudeRef)

Parameters

HBufC8 * aGpsLatitudeRef

SetGpsLongitude(TInt, TInt, TInt, TInt, TInt, TInt)

IMPORT_C TIntSetGpsLongitude(TIntaDegNumerator,
TIntaDegDenominator,
TIntaMinNumerator,
TIntaMinDenominator,
TIntaSecNumerator,
TIntaSecDenominator
)

Parameters

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

SetGpsLongitudeRef(HBufC8 *)

IMPORT_C TIntSetGpsLongitudeRef(HBufC8 *aGpsLongitudeRef)

Parameters

HBufC8 * aGpsLongitudeRef

SetGpsMapDatum(HBufC8 *)

IMPORT_C TIntSetGpsMapDatum(HBufC8 *aGpsMapDatum)

Parameters

HBufC8 * aGpsMapDatum

SetGpsMeasureMode(HBufC8 *)

IMPORT_C TIntSetGpsMeasureMode(HBufC8 *aGpsMeasureMode)

Parameters

HBufC8 * aGpsMeasureMode

SetGpsProcessingMethod(HBufC8 *)

IMPORT_C TIntSetGpsProcessingMethod(HBufC8 *aGpsProcessingMethod)

Parameters

HBufC8 * aGpsProcessingMethod

SetGpsSatellites(HBufC8 *)

IMPORT_C TIntSetGpsSatellites(HBufC8 *aGpsSatellites)

Parameters

HBufC8 * aGpsSatellites

SetGpsSpeed(TInt, TInt)

IMPORT_C TIntSetGpsSpeed(TIntaNumerator,
TIntaDenominator
)

Parameters

TInt aNumerator
TInt aDenominator

SetGpsSpeedRef(HBufC8 *)

IMPORT_C TIntSetGpsSpeedRef(HBufC8 *aGpsSpeedRef)

Parameters

HBufC8 * aGpsSpeedRef

SetGpsStatus(HBufC8 *)

IMPORT_C TIntSetGpsStatus(HBufC8 *aGpsStatus)

Parameters

HBufC8 * aGpsStatus

SetGpsTimeStamp(TInt, TInt, TInt, TInt, TInt, TInt)

IMPORT_C TIntSetGpsTimeStamp(TIntaHourNumerator,
TIntaHourDenominator,
TIntaMinNumerator,
TIntaMinDenominator,
TIntaSecNumerator,
TIntaSecDenominator
)

Parameters

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

SetGpsTrack(TInt, TInt)

IMPORT_C TIntSetGpsTrack(TIntaNumerator,
TIntaDenominator
)

Parameters

TInt aNumerator
TInt aDenominator

SetGpsTrackRef(HBufC8 *)

IMPORT_C TIntSetGpsTrackRef(HBufC8 *aGpsTrackRef)

Parameters

HBufC8 * aGpsTrackRef

SetGpsVersionId(HBufC8 *)

IMPORT_C TIntSetGpsVersionId(HBufC8 *aGpsVersionId)

Parameters

HBufC8 * aGpsVersionId

SetImageDescription(HBufC8 *)

IMPORT_C TIntSetImageDescription(HBufC8 *aImageDescription)

Parameters

HBufC8 * aImageDescription

SetInteroperabilityIndex(HBufC8 *)

IMPORT_C TIntSetInteroperabilityIndex(HBufC8 *aIdx)

Parameters

HBufC8 * aIdx

SetInteroperabilityVersion(HBufC8 *)

IMPORT_C TIntSetInteroperabilityVersion(HBufC8 *aIdx)

Parameters

HBufC8 * aIdx

SetMake(HBufC8 *)

IMPORT_C TIntSetMake(HBufC8 *aMake)

Parameters

HBufC8 * aMake

SetMakerNote(HBufC8 *)

IMPORT_C TIntSetMakerNote(HBufC8 *aMakerNote)

Parameters

HBufC8 * aMakerNote

SetModel(HBufC8 *)

IMPORT_C TIntSetModel(HBufC8 *aModel)

Parameters

HBufC8 * aModel

SetOrientation(TInt)

IMPORT_C TIntSetOrientation(TIntaOrientation)

Parameters

TInt aOrientation

SetPixelXDimension(TInt)

IMPORT_C TIntSetPixelXDimension(TIntaPixelXDim)

Parameters

TInt aPixelXDim

SetPixelYDimension(TInt)

IMPORT_C TIntSetPixelYDimension(TIntaPixelYDim)

Parameters

TInt aPixelYDim

SetResolutionUnit(TInt)

IMPORT_C TIntSetResolutionUnit(TIntaResUnit)

Parameters

TInt aResUnit

SetShutterSpeedValue(TInt, TInt)

IMPORT_C TIntSetShutterSpeedValue(TIntaNumerator,
TIntaDenominator
)

Parameters

TInt aNumerator
TInt aDenominator

SetThumbCompression(TInt)

IMPORT_C TIntSetThumbCompression(TIntaCompression)

Parameters

TInt aCompression

SetThumbOrientation(TInt)

IMPORT_C TIntSetThumbOrientation(TIntaOrientation)

Parameters

TInt aOrientation

SetThumbResolutionUnit(TInt)

IMPORT_C TIntSetThumbResolutionUnit(TIntaResUnit)

Parameters

TInt aResUnit

SetThumbXResolution(TInt, TInt)

IMPORT_C TIntSetThumbXResolution(TIntaNumerator,
TIntaDenominator
)

Parameters

TInt aNumerator
TInt aDenominator

SetThumbYResolution(TInt, TInt)

IMPORT_C TIntSetThumbYResolution(TIntaNumerator,
TIntaDenominator
)

Parameters

TInt aNumerator
TInt aDenominator

SetUserComment(HBufC8 *)

IMPORT_C TIntSetUserComment(HBufC8 *aUserComment)

Parameters

HBufC8 * aUserComment

SetXResolution(TInt, TInt)

IMPORT_C TIntSetXResolution(TIntaNumerator,
TIntaDenominator
)

Parameters

TInt aNumerator
TInt aDenominator

SetYCbCrPositioning(TInt)

IMPORT_C TIntSetYCbCrPositioning(TIntaPositioning)

Parameters

TInt aPositioning

SetYResolution(TInt, TInt)

IMPORT_C TIntSetYResolution(TIntaNumerator,
TIntaDenominator
)

Parameters

TInt aNumerator
TInt aDenominator

Member Data Documentation

MExifMetadataWriter * iExifWrite

MExifMetadataWriter *iExifWrite[private]