Class: Gegl::MetadataStore
- Inherits:
-
Object
- Object
- Gegl::MetadataStore
- Defined in:
- (unknown)
Overview
The class structure for the Gegl::MetadataStore
Direct Known Subclasses
Instance Method Summary collapse
-
#artist ⇒ String
Name of image creator.
-
#artist=(artist) ⇒ String
Name of image creator.
-
#comment ⇒ String
Miscellaneous comment; conversion from GIF comment.
-
#comment=(comment) ⇒ String
Miscellaneous comment; conversion from GIF comment.
-
#copyright ⇒ String
Copyright notice.
-
#copyright=(copyright) ⇒ String
Copyright notice.
-
#declare(pspec) ⇒ nil
Declare a metadata value using a GParam::Spec.
-
#description ⇒ String
Description of image (possibly long).
-
#description=(description) ⇒ String
Description of image (possibly long).
-
#disclaimer ⇒ String
Legal disclaimer.
-
#disclaimer=(disclaimer) ⇒ String
Legal disclaimer.
-
#file_module_name ⇒ String
Current file loader/saver module name.
-
#file_module_name=(file_module_name) ⇒ String
Current file loader/saver module name.
-
#get_string(name) ⇒ String
A slightly more efficient version of gegl_metadata_store_get_value() for string values avoiding a duplication.
-
#get_value(name, value) ⇒ nil
Retrieve the metadata value.
-
#has_value(name) ⇒ Boolean
Test whether the Gegl::MetadataStore contains a value for the specified name.
-
#notify(pspec, shadow) ⇒ nil
gegl_metadata_store_notify() is called by subclasses when the value of a metadata variable changes.
- #register(local_name, name, transform) ⇒ nil
-
#resolution_unit ⇒ Gegl::ResolutionUnit
A Gegl::ResolutionUnit specifying units for the image resolution (density).
-
#resolution_unit=(resolution_unit) ⇒ Gegl::ResolutionUnit
A Gegl::ResolutionUnit specifying units for the image resolution (density).
-
#resolution_x ⇒ Float
X resolution or density in dots per unit.
-
#resolution_x=(resolution_x) ⇒ Float
X resolution or density in dots per unit.
-
#resolution_y ⇒ Float
Y resolution or density in dots per unit.
-
#resolution_y=(resolution_y) ⇒ Float
Y resolution or density in dots per unit.
-
#set_string(name, string) ⇒ nil
A slightly more efficient version of gegl_metadata_store_set_value() for string values avoiding a duplication.
-
#set_value(name, value) ⇒ nil
Set the specified metadata value.
-
#software ⇒ String
Software used to create the image.
-
#software=(software) ⇒ String
Software used to create the image.
-
#source ⇒ String
Device used to create the image.
-
#source=(source) ⇒ String
Device used to create the image.
-
#timestamp ⇒ GLib::DateTime
Time of original image creation.
-
#timestamp=(timestamp) ⇒ GLib::DateTime
Time of original image creation.
-
#title ⇒ String
Short (one line) title or caption for image.
-
#title=(title) ⇒ String
Short (one line) title or caption for image.
-
#typeof_value(name) ⇒ GLib::Type
Get the declared type of the value in the Gegl::MetadataStore.
-
#warning ⇒ String
Warning of nature of content.
-
#warning=(warning) ⇒ String
Warning of nature of content.
Instance Method Details
#artist ⇒ String
Name of image creator.
#artist=(artist) ⇒ String
Name of image creator.
#comment ⇒ String
Miscellaneous comment; conversion from GIF comment.
#comment=(comment) ⇒ String
Miscellaneous comment; conversion from GIF comment.
#copyright ⇒ String
Copyright notice.
#copyright=(copyright) ⇒ String
Copyright notice.
#declare(pspec) ⇒ nil
Declare a metadata value using a GParam::Spec.
#description ⇒ String
Description of image (possibly long).
#description=(description) ⇒ String
Description of image (possibly long).
#disclaimer ⇒ String
Legal disclaimer.
#disclaimer=(disclaimer) ⇒ String
Legal disclaimer.
#file_module_name ⇒ String
Current file loader/saver module name. Valid only while a Gegl::Metadata mapping is registered. This property is mainly provided for use in signal handlers.
#file_module_name=(file_module_name) ⇒ String
Current file loader/saver module name. Valid only while a Gegl::Metadata mapping is registered. This property is mainly provided for use in signal handlers.
#get_string(name) ⇒ String
A slightly more efficient version of gegl_metadata_store_get_value() for string values avoiding a duplication. Otherwise it behaves the same gegl_metadata_store_get_value().
#get_value(name, value) ⇒ nil
Retrieve the metadata value. value must be initialised with a compatible type. If the value is unset or has not been previously declared value is unchanged and an error message is logged.
#has_value(name) ⇒ Boolean
Test whether the Gegl::MetadataStore contains a value for the specified name.
#notify(pspec, shadow) ⇒ nil
gegl_metadata_store_notify() is called by subclasses when the value of a
metadata variable changes. It emits the ::changed signal with the variable
name as the detail parameter. Set shadow = true if variable is shadowed
by a property so that a notify signal is emitted with the property name as
the detail parameter.
#register(local_name, name, transform) ⇒ nil
#resolution_unit ⇒ Gegl::ResolutionUnit
A Gegl::ResolutionUnit specifying units for the image resolution (density).
#resolution_unit=(resolution_unit) ⇒ Gegl::ResolutionUnit
A Gegl::ResolutionUnit specifying units for the image resolution (density).
#resolution_x ⇒ Float
X resolution or density in dots per unit.
#resolution_x=(resolution_x) ⇒ Float
X resolution or density in dots per unit.
#resolution_y ⇒ Float
Y resolution or density in dots per unit.
#resolution_y=(resolution_y) ⇒ Float
Y resolution or density in dots per unit.
#set_string(name, string) ⇒ nil
A slightly more efficient version of gegl_metadata_store_set_value() for string values avoiding a duplication. Otherwise it behaves the same gegl_metadata_store_set_value().
#set_value(name, value) ⇒ nil
Set the specified metadata value. If value is nil the default value from
the associated GParam::Spec is used. This operation will fail if the value
has not been previously declared. A changed::name signal is emitted when
the value is set. If the value is shadowed by a property a notify::name
signal is also emitted.
#software ⇒ String
Software used to create the image.
#software=(software) ⇒ String
Software used to create the image.
#source ⇒ String
Device used to create the image.
#source=(source) ⇒ String
Device used to create the image.
#timestamp ⇒ GLib::DateTime
Time of original image creation.
#timestamp=(timestamp) ⇒ GLib::DateTime
Time of original image creation.
#title ⇒ String
Short (one line) title or caption for image.
#title=(title) ⇒ String
Short (one line) title or caption for image.
#typeof_value(name) ⇒ GLib::Type
Get the declared type of the value in the Gegl::MetadataStore.
#warning ⇒ String
Warning of nature of content.
#warning=(warning) ⇒ String
Warning of nature of content.