2 * Copyright (c) 2003, 2004 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
14 * Description: Exif tag wrapper
32 // FUNCTION PROTOTYPES
34 // FORWARD DECLARATIONS
40 * Interface class for handling Exif Tags.
41 * This class is used to get tag data from an Exif image.
45 NONSHARABLE_CLASS( CExifTag ): public CBase
47 public: // Enumerations
50 * Tag Data type enumeration.
71 public: // New functions
74 * Duplicate constructor. Creates an exact copy instance of the tag.
77 * @return An instance of this class including the same contents of
80 virtual CExifTag* DuplicateL() const = 0;
83 * Returns the informative fields of a tag.
86 * @return TExifTagInfo structure including informative fields of a tag
88 virtual TExifTagInfo TagInfo() const = 0;
91 * Returns data contents of a tag
94 * @return Unmodifiable pointer to tag data.
96 virtual TPtrC8 Data() const = 0;
103 public: // Constructors and destructor
105 IMPORT_C TExifTagInfo(
107 CExifTag::TExifTagDataType aDataType,
108 TUint32 aDataCount );
116 CExifTag::TExifTagDataType iDataType;
118 // Number of tag data elements (having tag data type).