ost::MIMEItemPart(3)
π ost::MIMEItemPart π
okay bestie, so this is a page from the Library Functions Manual β it's ost::MIMEItemPart, and it's genuinely the little glue-girl of MIME multipart streaming, no cap. let's get into it π
β¨ NAME β¨
ost::MIMEItemPart β this is used to attach an item part to a MIME multipart document that is being streamed.
πΈ SYNOPSIS πΈ
#include <mime.h>
Inherited by ost::MIMEFormData. periodt. π
π¦ Protected Member Functions π¦
virtual void head (std::ostream *output)β stream the header(s) for the current document part.virtual void body (std::ostream *output)=0β stream the content of this document part.MIMEItemPart (MIMEMultipart *top, const char *ct)β construct and attach a document part to a multipart document.virtual ~MIMEItemPart ()
π§ Protected Attributes π§
MIMEMultipart * baseMIMEItemPart * nextconst char * ctype
π Friends π
class __EXPORT MIMEMultipart
π Detailed Description π
so basically: this is used to attach an item part to a MIME multipart document that is being streamed. it's giving streaming, it's giving multipart, it's giving iconic. π
the base item part class is used by all derived items β like, every single one. main character energy for real.
Author
- David Sugar
dyfet@ostel.com
item or part of a multi-part object. π«Ά
π Constructor & Destructor Documentation π
ost::MIMEItemPart::MIMEItemPart (MIMEMultipart * top, const char * ct)
[protected]
Construct and attach a document part to a multipart document. it literally does what it says on the tin, bestie.
Parameters
topβ multipart document to attach to.ctβ Content-Type to use.
virtual ost::MIMEItemPart::~MIMEItemPart ()
[protected], [virtual]
π₯ Member Function Documentation π₯
virtual void ost::MIMEItemPart::body (std::ostream * output)
[protected], [pure virtual]
Stream the content of this document part. it's pure virtual so likeβ¦ you gotta implement it, no skipping, that's the vibe check. π
Parameters
outputβ to stream document body into.
Implemented in ost::MIMEFormData.
virtual void ost::MIMEItemPart::head (std::ostream * output)
[protected], [virtual]
Stream the header(s) for the current document part. lowkey the opening act before the body shows up. β¨
Parameters
outputβ to stream header into.
Reimplemented in ost::MIMEFormData.
π Friends And Related Function Documentation π
friend class __EXPORT MIMEMultipart
[friend]
π Member Data Documentation π
MIMEMultipart* ost::MIMEItemPart::base
[protected]
const char* ost::MIMEItemPart::ctype
[protected]
MIMEItemPart* ost::MIMEItemPart::next
[protected]
β Author β
Generated automatically by Doxygen for GNU CommonC++ from the source code. so like, not a human writing this, just Doxygen doing its little thing. iconic behaviour honestly. π€π
ok that's the whole page, bestie!! every flag, every member, every param, all of it β nothing dropped, we ate and left no crumbs. π«Ά
and that's a wrap!! this page came from GNU CommonC++ and it's dated Sun Dec 27 2020, page ost::MIMEItemPart(3) β byeeee, go stream something multipart πβ¨
π¦ where this page comes from
- ubuntu jammy: libcommoncpp2-doc 1.8.1-10
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms