gmime.signature_list

Module for [SignatureList] class

Types 3

A collection of #GMimeSignature objects.

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
SignatureList self() nothrowReturns `this`, for use in `with` statements.
SignatureListGidBuilder builder() static nothrowGet builder for [gmime.signature_list.SignatureList] Returns: New builder object
int add(gmime.signature.Signature sig) nothrowAdds a #GMimeSignature to the #GMimeSignatureList.
void clear() nothrowClears the list of addresses.
bool contains(gmime.signature.Signature sig) nothrowChecks whether or not the specified #GMimeSignature is contained within the #GMimeSignatureList.
gmime.signature.Signature getSignature(int index) nothrowGets the #GMimeSignature at the specified index.
int indexOf(gmime.signature.Signature sig) nothrowGets the index of the specified #GMimeSignature inside the #GMimeSignatureList.
void insert(int index, gmime.signature.Signature sig) nothrowInserts a #GMimeSignature into the #GMimeSignatureList at the specified index.
int length() nothrowGets the length of the list. Returns: the number of #GMimeSignature objects in the list.
bool remove(gmime.signature.Signature sig) nothrowRemoves a #GMimeSignature from the #GMimeSignatureList.
bool removeAt(int index) nothrowRemoves a #GMimeSignature from the #GMimeSignatureList at the specified index.
void setSignature(int index, gmime.signature.Signature sig) nothrowSets the #GMimeSignature at the specified index to sig.
Constructors
this(void * ptr, Flag!"Take" take)
this()Creates a new #GMimeSignatureList. Returns: a new #GMimeSignatureList.
Methods
SignatureList build() nothrowCreate object from builder. Returns: New object