krita
ExifValue Class Reference
List of all members.Detailed Description
Definition at line 40 of file kis_exif_value.h.
Public Types | |
| enum | ExifType { EXIF_TYPE_BYTE = 1, EXIF_TYPE_ASCII = 2, EXIF_TYPE_SHORT = 3, EXIF_TYPE_LONG = 4, EXIF_TYPE_RATIONAL = 5, EXIF_TYPE_SBYTE = 6, EXIF_TYPE_UNDEFINED = 7, EXIF_TYPE_SSHORT = 8, EXIF_TYPE_SLONG = 9, EXIF_TYPE_SRATIONAL = 10, EXIF_TYPE_FLOAT = 11, EXIF_TYPE_DOUBLE = 12, EXIF_TYPE_UNKNOW = 13 } |
| enum | ByteOrder { BYTE_ORDER_MOTOROLA, BYTE_ORDER_INTEL } |
Public Member Functions | |
| ExifValue () | |
| ExifValue (ExifType type, unsigned char *data, unsigned int size, int ifd, uint components, ExifValue::ByteOrder order) | |
| virtual bool | load (const QDomElement &elmt) |
| virtual QDomElement | save (QDomDocument &doc) |
| ExifType | type () |
| const UByteArray | asUndefined () |
| void | setAsUndefined (const unsigned char *data, unsigned int size) |
| const QString | asAscii () |
| void | setAsAscii (char *data) |
| void | setAsAscii (QString str) |
| void | convertToData (unsigned char **data, unsigned int *size, ExifValue::ByteOrder order) |
| int | ifd () |
| uint | components () |
| QString | toString () |
| Q_UINT8 | asByte (uint i) |
| void | setValue (uint i, Q_UINT8 v) |
| Q_UINT8 | asShort (uint i) |
| void | setValue (uint i, Q_UINT16 v) |
| Q_UINT8 | asLong (uint i) |
| void | setValue (uint i, Q_UINT32 v) |
| KisExifRational | asRational (uint i) |
| void | setValue (uint i, Q_UINT32 n, Q_UINT32 d) |
| void | setValue (uint i, KisExifRational r) |
| Q_INT8 | asSByte (uint i) |
| void | setValue (uint i, Q_INT8 v) |
| Q_INT16 | asSShort (uint i) |
| void | setValue (uint i, Q_INT16 v) |
| Q_INT32 | asSLong (uint i) |
| void | setValue (uint i, Q_INT32 v) |
| KisExifSRational | asSRational (uint i) |
| void | setValue (uint i, KisExifSRational r) |
| void | setValue (uint i, Q_INT32 n, Q_INT32 d) |
| float | asFloat (uint i) |
| void | setValue (uint i, float v) |
| double | asDouble (uint i) |
| void | setValue (uint i, double v) |
Member Function Documentation
| ExifType ExifValue::type | ( | ) | [inline] |
| int ExifValue::ifd | ( | ) | [inline] |
Return the ifd number to which this ExifValue belongs.
Definition at line 119 of file kis_exif_value.h.
| uint ExifValue::components | ( | ) | [inline] |
| QString ExifValue::toString | ( | ) |
This function return the value of a the ExifValue as a string.
Definition at line 622 of file kis_exif_value.cc.
The documentation for this class was generated from the following files:

