Multipart
Object Hierarchy:
Description:
A base MIME multipart object.
All known sub-classes:
Namespace: GMime
Package: gmime-3.0
Content:
Creation methods:
- public Multipart ()
Creates a new MIME multipart object with a default content-type of multipart/mixed.
- public Multipart.with_subtype (string subtype)
Creates a new MIME multipart object with a content-type of multipart/
subtype
.
Methods:
- public void @foreach (ObjectForeachFunc callback)
Recursively calls
callback
on each of this's subparts. - public virtual void add (Object part)
Appends a mime part to this.
- public virtual void clear ()
Removes all subparts from this.
- public virtual bool contains (Object part)
Checks if
part
is contained within this. - public virtual unowned string get_boundary ()
Gets the boundary on the multipart.
- public virtual int get_count ()
Gets the number of parts contained within this .
- public unowned string get_epilogue ()
Gets the epilogue on the multipart.
- public virtual unowned Object get_part (int index)
Gets the part at the specified
index
within the multipart. - public unowned string get_prologue ()
Gets the prologue on the multipart.
- public unowned Object get_subpart_from_content_id (string content_id)
Gets the mime part with the content-id
content_id
from the multipart this. - public virtual int index_of (Object part)
Gets the 0-based index of
part
within this. - public virtual void insert (int index, Object part)
Inserts
part
into this at the specifiedindex
. - public virtual bool remove (Object part)
Removes the specified
part
from this . - public virtual Object remove_at (int index)
Removes the part at the specified
index
from this. - public Object replace (int index, Object replacement)
Replaces the part at the specified
index
within this withreplacement
. - public virtual void set_boundary (string boundary)
Sets
boundary
as the boundary on the multipart. - public void set_epilogue (string epilogue)
Sets the epilogue on the multipart.
- public void set_prologue (string prologue)
Sets the prologue on the multipart.
Fields:
- public unowned string boundary
- public unowned GenericArray<void*> children
- public unowned string epilogue
- public unowned string prologue
Inherited Members:
All known members inherited from class GMime.Object
All known members inherited from class GLib.Object