krita

ExifValue Class Reference

List of all members.

Detailed Description

Definition at line 40 of file kis_exif_value.h.


Public Types

 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
 BYTE_ORDER_MOTOROLA
 BYTE_ORDER_INTEL
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

uint ExifValue::components (  )  [inline]

Return the number of components of this ExifValue.

Definition at line 123 of file kis_exif_value.h.

int ExifValue::ifd (  )  [inline]

Return the ifd number to which this ExifValue belongs.

Definition at line 119 of file kis_exif_value.h.

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.

ExifType ExifValue::type (  )  [inline]

Return the type of the array.

Definition at line 82 of file kis_exif_value.h.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys