ost::MIMEMultipart(3)

πŸ“¦ version 1.8.1, in ubuntu jammy

πŸ‘‘ ost::MIMEMultipart πŸ‘‘

okay so bestie, this page is from the Library Functions Manual (section 3, periodt) and it's all about ost::MIMEMultipart β€” a container class for multi-part MIME document objects which can be streamed to a std::ostream destination. it's giving "i hold all ur MIME parts so u don't have to" and honestly? we're obsessed πŸ’…


✨ NAME ✨

ost::MIMEMultipart β€” a container class for multi-part MIME document objects which can be streamed to a std::ostream destination. that's the whole vibe fr fr πŸ¦‹


πŸŽ€ SYNOPSIS πŸŽ€

#include <mime.h>

Inherited by ost::MIMEMultipartForm. (yes she has a legacy, we love an inheritance moment πŸ‘‘)

🌸 Public Member Functions

  • MIMEMultipart (const char *document) β€” Contruct a multi-part document, and describe it's type. (and yeah the manpage really does spell it "Contruct", iconic behavior, we keep it exactly as it is 🫢)
  • virtual void head (std::ostream *output) β€” Stream the headers of the multi-part document.
  • virtual void body (std::ostream *output) β€” Stream the 'body' of the multi-part document.
  • char ** getHeaders (void) β€” Get a string array of the headers to use.

πŸ”’ Protected Member Functions

  • virtual ~MIMEMultipart ()

πŸ™ˆ Protected Attributes

  • char boundry [8]
  • char mtype [80]
  • char * header [16]
  • MIMEItemPart * first
  • MIMEItemPart * last

🫢 Friends

  • class __EXPORT MIMEItemPart

πŸ’– DETAILED DESCRIPTION πŸ’–

A container class for multi-part MIME document objects which can be streamed to a std::ostream destination. like, it literally just holds ur multi-part MIME docs and then streams them out. no cap.

Author: David Sugar dyfet@ostel.com β€” container for streamable multi-part MIME documents. ty for ur service king 🫑


🌈 Constructor & Destructor Documentation 🌈

virtual ost::MIMEMultipart::~MIMEMultipart () [protected], [virtual]

the destructor! protected, virtual, doing her quiet little cleanup thing behind the scenes. main character energy but make it humble πŸ’œ

ost::MIMEMultipart::MIMEMultipart (const char * document)

Contruct a multi-part document, and describe it's type.

Parameters

  • document β€” (content) type. so u hand her the content type and she's like "say less, i got it" ✨

πŸ”₯ Member Function Documentation πŸ”₯

virtual void ost::MIMEMultipart::body (std::ostream * output) [virtual]

Stream the 'body' of the multi-part document. This involves streaming the headers and body of each document part.

Parameters

  • output β€” output to stream document body into.

so like, she's not just doing the body β€” she's doing the headers AND the body of every single part. multitasking queen πŸ‘‘

char** ost::MIMEMultipart::getHeaders (void) [inline]

Get a string array of the headers to use. This is used to assist URLStream::post. (iykyk β€” that's the whole point of her honestly)

Returns

  • array of headers. go off, headers πŸŽ€

virtual void ost::MIMEMultipart::head (std::ostream * output) [virtual]

Stream the headers of the multi-part document. The headers of individual entities are streamed as part of the body. so don't come for her looking for individual entity headers here, okay? they're in the body. read the room πŸ’…

Parameters

  • output β€” output to stream document header into.

friend class __EXPORT MIMEItemPart [friend]

the literal friend of the class. friendship bracelet secured 🫢


πŸ¦‹ Member Data Documentation πŸ¦‹

char ost::MIMEMultipart::boundry[8] [protected]

MIMEItemPart* ost::MIMEMultipart::first [protected]

char* ost::MIMEMultipart::header[16] [protected]

MIMEItemPart * ost::MIMEMultipart::last [protected]

char ost::MIMEMultipart::mtype[80] [protected]

all protected, all cozy, all part of the internal slay. nothing to see here, just her little private attributes living their best lives πŸ’–


⭐ Author ⭐

Generated automatically by Doxygen for GNU CommonC++ from the source code. so if u have beef with the docs, take it up with doxygen, not me πŸ’€


and that's the whole page bestie! GNU CommonC++ representation, dated Sun Dec 27 2020, straight from the source code. stan a streamable multi-part MIME container. periodt. πŸ’…βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’–

πŸ“¦ where this page comes from