#include <x/mime/sectioninfo.H> x::mime::sectioninfo info=x::mime::sectioninfo::create();
x::mime::sectioninfo
is a reference to a
reference-counted object
that provides metadata about an entire MIME document, or one entity in
a compound MIME document. It gets constructed and used by templates
and functions described later in this chapter.
The metadata in this object consists of:
A children
vector in a multipart MIME entity
gives x::mime::sectioninfo
s for each
subpart of a multipart entity.
A message/rfc822
MIME entity has a vector
with one subpart, the MIME entity with the message.
A weak pointer to this MIME entity's
parent entity's x::mime::sectioninfo
.
The top level MIME entity's parent entity weak pointer is null.
The starting byte offset where this entity starts in the MIME
document. The
x::mime::sectioninfo
for the entire MIME
document has a starting offset of 0.
The number of octets in the header and the body portion of the MIME entity, and the number of lines in each; also whether the MIME entity does or does not have a trailing newline character.
See the class reference for more information.