Added invalidByteOrder and changed invalid to invalidTypeId
This commit is contained in:
parent
0a774bbe4d
commit
ebfc63dc56
@ -20,14 +20,14 @@
|
||||
*/
|
||||
/*
|
||||
File: types.cpp
|
||||
Version: $Name: $ $Revision: 1.4 $
|
||||
Version: $Name: $ $Revision: 1.5 $
|
||||
Author(s): Andreas Huggel (ahu) <ahuggel@gmx.net>
|
||||
History: 26-Jan-04, ahu: created
|
||||
11-Feb-04, ahu: isolated as a component
|
||||
*/
|
||||
// *****************************************************************************
|
||||
#include "rcsid.hpp"
|
||||
EXIV2_RCSID("@(#) $Name: $ $Revision: 1.4 $ $RCSfile: types.cpp,v $")
|
||||
EXIV2_RCSID("@(#) $Name: $ $Revision: 1.5 $ $RCSfile: types.cpp,v $")
|
||||
|
||||
// *****************************************************************************
|
||||
// included header files
|
||||
@ -51,7 +51,7 @@ namespace Exif {
|
||||
|
||||
//! Lookup list of supported IFD type information
|
||||
const TypeInfoTable TypeInfo::typeInfoTable_[] = {
|
||||
TypeInfoTable(invalid, "Invalid", 0),
|
||||
TypeInfoTable(invalidTypeId, "Invalid", 0),
|
||||
TypeInfoTable(unsignedByte, "Byte", 1),
|
||||
TypeInfoTable(asciiString, "Ascii", 1),
|
||||
TypeInfoTable(unsignedShort, "Short", 2),
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
/*!
|
||||
@file types.hpp
|
||||
@brief Type definitions for Exiv2 and related functionality
|
||||
@version $Name: $ $Revision: 1.6 $
|
||||
@version $Name: $ $Revision: 1.7 $
|
||||
@author Andreas Huggel (ahu)
|
||||
<a href="mailto:ahuggel@gmx.net">ahuggel@gmx.net</a>
|
||||
@date 09-Jan-04, ahu: created
|
||||
@ -61,10 +61,10 @@ namespace Exif {
|
||||
typedef std::pair<int32, int32> Rational;
|
||||
|
||||
//! Type to express the byte order (little or big endian)
|
||||
enum ByteOrder { littleEndian, bigEndian };
|
||||
enum ByteOrder { invalidByteOrder, littleEndian, bigEndian };
|
||||
|
||||
//! Type identifiers for IFD format types
|
||||
enum TypeId { invalid, unsignedByte, asciiString, unsignedShort,
|
||||
enum TypeId { invalidTypeId, unsignedByte, asciiString, unsignedShort,
|
||||
unsignedLong, unsignedRational, invalid6, undefined,
|
||||
signedShort, signedLong, signedRational };
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user