dpap-record

## dpap-record dpap-record |

## Synopsis

    #define             TYPE_DPAP_RECORD
    #define             DPAP_RECORD                         (o)
    #define             IS_DPAP_RECORD                      (o)
    #define             DPAP_RECORD_GET_INTERFACE           (o)
                        DPAPRecord;
                        DPAPRecordInterface;
    GType               dpap_record_get_type                (void);
    GInputStream *      dpap_record_read                    (DPAPRecord *record,
                                                             GError **err);
    GByteArray *        dpap_record_to_blob                 (DPAPRecord *record);
    DPAPRecord *        dpap_record_new_from_blob           (DPAPRecord *record,
                                                             GByteArray *blob);

## Object Hierarchy

      GInterface
       +----DPAPRecord

## Properties

      "aspect-ratio"             gchar*                : Read / Write
      "comments"                 gchar*                : Read / Write
      "creation-date"            gint                  : Read / Write
      "filename"                 gchar*                : Read / Write
      "filesize"                 gint                  : Read / Write
      "format"                   gchar*                : Read / Write
      "large-filesize"           gint                  : Read / Write
      "location"                 gchar*                : Read / Write
      "pixel-height"             gint                  : Read / Write
      "pixel-width"              gint                  : Read / Write
      "rating"                   gint                  : Read / Write
      "thumbnail"                gpointer              : Read / Write

## Description

## Details

### TYPE_DPAP_RECORD

    #define TYPE_DPAP_RECORD	     (dpap_record_get_type ())

The type for DPAPRecord.

### DPAP_RECORD()

    #define             DPAP_RECORD(o)

Casts a DPAPRecord or derived pointer into a (DPAPRecord *) pointer. Depending on the current debugging level, this function may invoke certain runtime checks to identify invalid casts.

`o` : | Object which is subject to casting.

### IS_DPAP_RECORD()

    #define             IS_DPAP_RECORD(o)

Checks whether a valid GTypeInstance pointer is of type `TYPE_DPAP_RECORD`.

`o` : | Instance to check for being a `TYPE_DPAP_RECORD`.

### DPAP_RECORD_GET_INTERFACE()

    #define             DPAP_RECORD_GET_INTERFACE(o)

Get the class structure associated to a DPAPRecord instance.

`o` : | a DPAPRecord instance.
Returns : | pointer to object interface structure.

### DPAPRecord

    typedef struct _DPAPRecord DPAPRecord;

### DPAPRecordInterface

    typedef struct {
    	GTypeInterface parent;

    	GInputStream *  (*read)          (DPAPRecord *record, GError **err);
    	GByteArray   *  (*to_blob)       (DPAPRecord *record);
    	DPAPRecord   *  (*new_from_blob) (DPAPRecord *record, GByteArray *blob);
    } DPAPRecordInterface;

### dpap_record_get_type ()

    GType               dpap_record_get_type                (void);

Returns : |

### dpap_record_read ()

    GInputStream *      dpap_record_read                    (DPAPRecord *record,
                                                             GError **err);

`record` : | a DPAPRecord.
`err` : | a GError.
Returns : | A GInputStream that provides read-only access to the data stream associated with record.

### dpap_record_to_blob ()

    GByteArray *        dpap_record_to_blob                 (DPAPRecord *record);

`record` : | a DPAPRecord.
Returns : | A serialized representation of the record.

### dpap_record_new_from_blob ()

    DPAPRecord *        dpap_record_new_from_blob           (DPAPRecord *record,
                                                             GByteArray *blob);

`record` : |
`blob` : | a serialized DPAPRecord representation.
Returns : | A DPAPRecord.

## Property Details

### The `"aspect-ratio"` property

      "aspect-ratio"             gchar*                : Read / Write

Photo aspect ratio.

Default value: NULL

### The `"comments"` property

      "comments"                 gchar*                : Read / Write

Photo comments.

Default value: NULL

### The `"creation-date"` property

      "creation-date"            gint                  : Read / Write

Photo creation date.

Allowed values: >= 0

Default value: 0

### The `"filename"` property

      "filename"                 gchar*                : Read / Write

Photo filename.

Default value: NULL

### The `"filesize"` property

      "filesize"                 gint                  : Read / Write

Photo file size.

Allowed values: >= 0

Default value: 0

### The `"format"` property

      "format"                   gchar*                : Read / Write

Photo data format.

Default value: NULL

### The `"large-filesize"` property

      "large-filesize"           gint                  : Read / Write

Photo large file size.

Allowed values: >= 0

Default value: 0

### The `"location"` property

      "location"                 gchar*                : Read / Write

URI pointing to photo data.

Default value: NULL

### The `"pixel-height"` property

      "pixel-height"             gint                  : Read / Write

Photo pixel height.

Allowed values: >= 0

Default value: 0

### The `"pixel-width"` property

      "pixel-width"              gint                  : Read / Write

Photo pixel width.

Allowed values: >= 0

Default value: 0

### The `"rating"` property

      "rating"                   gint                  : Read / Write

Photo rating.

Allowed values: >= 0

Default value: 0

### The `"thumbnail"` property

      "thumbnail"                gpointer              : Read / Write

Photo thumbnail.