MetadataStore
Object Hierarchy:
Description:
[ CCode ( type_id = "gegl_metadata_store_get_type ()" ) ]
public abstract class MetadataStore : Object, Metadata
public abstract class MetadataStore : Object, Metadata
All known sub-classes:
Namespace: Gegl
Package: gegl-0.4
Content:
Properties:
- public string artist { get; set; }
Name of image creator.
- public string comment { get; set; }
Miscellaneous comment; conversion from GIF comment.
- public string copyright { get; set; }
Copyright notice.
- public string description { get; set; }
Description of image (possibly long).
- public string disclaimer { get; set; }
Legal disclaimer.
- public string file_module_name { get; }
Current file loader/saver module name.
- public ResolutionUnit resolution_unit { get; set; }
A ResolutionUnit specifying units for the image resolution (density).
- public double resolution_x { get; set; }
X resolution or density in dots per unit.
- public double resolution_y { get; set; }
Y resolution or density in dots per unit.
- public string software { get; set; }
Software used to create the image.
- public string source { get; set; }
Device used to create the image.
- public DateTime timestamp { owned get; set; }
Time of original image creation.
- public string title { get; set; }
Short (one line) title or caption for image.
- public string warning { get; set; }
Warning of nature of content.
Creation methods:
- protected MetadataStore ()
Methods:
- public virtual void _declare (ParamSpec pspec, bool shadow)
- public virtual unowned Value? _get_value (string name)
- public void declare (ParamSpec pspec)
Declare a metadata value using a ParamSpec.
- public unowned string get_artist ()
Get name of image creator.
- public unowned string get_comment ()
Get the comment.
- public unowned string get_copyright ()
Get the copyright notice.
- public unowned string get_description ()
Get description of image.
- public unowned string get_disclaimer ()
Get the legal disclaimer.
- public unowned string get_file_module_name ()
Return the name registered by the current file module.
- public ResolutionUnit get_resolution_unit ()
Get the units used for resolution.
- public double get_resolution_x ()
Get the X resolution or density in dots per unit.
- public double get_resolution_y ()
Get the Y resolution or density in dots per unit.
- public unowned string get_software ()
Get software used to create the image.
- public unowned string get_source ()
Get device used to create the image.
- public unowned string get_string (string name)
A slightly more efficient version of get_value for string values avoiding a duplication.
- public DateTime get_timestamp ()
Get time of original image creation.
- public unowned string get_title ()
Get title or caption for image.
- public void get_value (string name, ref Value value)
Retrieve the metadata value.
- public unowned string get_warning ()
Get warning.
- public virtual bool has_value (string name)
Test whether the MetadataStore contains a value for the specified name.
- public void notify (ParamSpec pspec, bool shadow)
notify is called by subclasses when the value of a metadata variable changes.
- public void register (string local_name, string name, ValueTransform transform)
- public virtual void register_hook (string file_module_name, uint flags)
- public void set_artist (string artist)
Set name of image creator.
- public void set_comment (string comment)
Set the miscellaneous comment; conversion from GIF comment.
- public void set_copyright (string copyright)
Set the copyright notice.
- public void set_description (string description)
Set description of image.
- public void set_disclaimer (string disclaimer)
Set the legal disclaimer.
- public void set_resolution_unit (ResolutionUnit unit)
Set the units used for the resolution (density) values.
- public void set_resolution_x (double resolution_x)
Set the X resolution or density in dots per unit.
- public void set_resolution_y (double resolution_y)
Set the Y resolution or density in dots per unit.
- public void set_software (string software)
Set software used to create the image.
- public void set_source (string source)
Set device used to create the image.
- public void set_string (string name, string string)
A slightly more efficient version of set_value for string values avoiding a duplication.
- public void set_timestamp (DateTime timestamp)
Set time of original image creation.
- public void set_title (string title)
Set title or caption for image.
- public virtual void set_value (string name, Value value)
Set the specified metadata value.
- public void set_warning (string warning)
Set the warning of nature of content.
- public Type typeof_value (string name)
Get the declared type of the value in the MetadataStore.
Signals:
- public signal void changed (ParamSpec pspec)
`changed` is emitted when a metadata value is changed.
- public signal bool generate_value (ParamSpec pspec, ref Value value)
If a signal handler is connected to `generate_value ` a signal is emitted when the file module accesses a value using
gegl_metadata_get_value
. - public signal void mapped (string file_module, bool exclude_unmapped)
`mapped` is emitted after a file module registers a mapping and before other processing takes place.
- public signal bool parse_value (ParamSpec pspec, ref Value value)
If a signal handler is connected to `parse_value ` a signal is emitted when the file module accesses a value using
gegl_metadata_set_value
. - public signal void unmapped (string file_module, string local_name)
`unmapped` is emitted when a file module tries to look up an unmapped metadata name.
Inherited Members:
All known members inherited from class GLib.Object
All known members inherited from interface Gegl.Metadata