ost::MIMEMultipart(3)
π 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 * firstMIMEItemPart * 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.
π Friends And Related Function Documentation π
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
- 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