ost::MIMEItemPart(3)

πŸ“¦ version 1.8.1, in ubuntu jammy

πŸ’– 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 * base
  • MIMEItemPart * next
  • const 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.


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