Top |
Modulemd.ComponentModulemd.Component — Pure virtual parent class for components that go into a module stream. See ModulemdComponentRPM and ModulemdComponentModule for specific types. |
ModulemdComponent * | modulemd_component_new () |
void | modulemd_component_set_buildorder () |
gint64 | modulemd_component_get_buildorder () |
gint64 | modulemd_component_peek_buildorder () |
void | modulemd_component_set_name () |
const gchar * | modulemd_component_get_name () |
const gchar * | modulemd_component_peek_name () |
gchar * | modulemd_component_dup_name () |
void | modulemd_component_set_rationale () |
const gchar * | modulemd_component_get_rationale () |
const gchar * | modulemd_component_peek_rationale () |
gchar * | modulemd_component_dup_rationale () |
ModulemdComponent * | modulemd_component_copy () |
ModulemdComponent *
modulemd_component_new (void
);
Allocates a new ModulemdComponent
Since: 1.0
void modulemd_component_set_buildorder (ModulemdComponent *self
,gint64 buildorder
);
Sets the 'buildorder' property.
Since: 1.0
gint64
modulemd_component_get_buildorder (ModulemdComponent *self
);
Returns the 'buildorder' property
Since: 1.0
gint64
modulemd_component_peek_buildorder (ModulemdComponent *self
);
Returns the 'buildorder' property
Since: 1.1
void modulemd_component_set_name (ModulemdComponent *self
,const gchar *name
);
Sets the 'name' property.
Since: 1.0
const gchar *
modulemd_component_get_name (ModulemdComponent *self
);
modulemd_component_get_name
has been deprecated since version 1.1 and should not be used in newly-written code.
Use peek_name()
instead.
Returns the 'name' property;
Since: 1.0
const gchar *
modulemd_component_peek_name (ModulemdComponent *self
);
Returns the 'name' property;
Since: 1.1
gchar *
modulemd_component_dup_name (ModulemdComponent *self
);
Returns a copy of the 'name' property;
Since: 1.1
void modulemd_component_set_rationale (ModulemdComponent *self
,const gchar *rationale
);
Sets the 'rationale' property.
Since: 1.0
const gchar *
modulemd_component_get_rationale (ModulemdComponent *self
);
modulemd_component_get_rationale
has been deprecated since version 1.1 and should not be used in newly-written code.
Use peek_rationale()
instead.
Returns the 'rationale' property;
Since: 1.0
const gchar *
modulemd_component_peek_rationale (ModulemdComponent *self
);
Returns the 'rationale' property;
Since: 1.1
gchar *
modulemd_component_dup_rationale (ModulemdComponent *self
);
Returns a copy of the 'rationale' property;
Since: 1.1
ModulemdComponent *
modulemd_component_copy (ModulemdComponent *self
);
Returns a complete copy of this Component.
Since: 1.1
struct ModulemdComponentClass { GObjectClass parent_instance; /* Virtual Public Members */ void (*set_buildorder) (ModulemdComponent *self, gint64 buildorder); gint64 (*peek_buildorder) (ModulemdComponent *self); void (*set_name) (ModulemdComponent *self, const gchar *name); const gchar *(*peek_name) (ModulemdComponent *self); void (*set_rationale) (ModulemdComponent *self, const gchar *rationale); const gchar *(*peek_rationale) (ModulemdComponent *self); gchar *(*dup_name) (ModulemdComponent *self); gchar *(*dup_rationale) (ModulemdComponent *self); /* Pure Virtual Public Members */ ModulemdComponent *(*copy) (ModulemdComponent *self); /* Padding to allow adding up to 11 new virtual functions without * breaking ABI. */ gpointer padding[9]; };