NAWA 0.9
Web Application Framework for C++
nawa::mail::MimeEmail::MimePartList Class Reference

#include <nawa/mail/Email/impl/MimeEmail.h>

Public Types

enum class  MultipartType {
  MIXED , DIGEST , ALTERNATIVE , RELATED ,
  REPORT , SIGNED , ENCRYPTED
}
 

Public Member Functions

virtual ~MimePartList ()
 
 MimePartList ()
 
 MimePartList (MimePartList const &other)
 
MimePartListoperator= (const MimePartList &other)
 
 MimePartList (MimePartList &&other) noexcept
 
MimePartListoperator= (MimePartList &&other) noexcept
 
MultipartTypemultipartType () noexcept
 
MultipartType multipartType () const noexcept
 
MimePartListmultipartType (MultipartType value) noexcept
 
std::vector< MimePartOrList > & mimeParts () noexcept
 
std::vector< MimePartOrList > const & mimeParts () const noexcept
 
MimePartListmimeParts (std::vector< MimePartOrList > value) noexcept
 

Public Attributes

friend MimePartOrList
 

Detailed Description

A list containing MIME parts, which can also be lists of MIME parts themselves (nested).

Definition at line 186 of file MimeEmail.h.

Member Enumeration Documentation

◆ MultipartType

Possible types of MIME containers (content-type, e.g., multipart/mixed for independent parts, or multipart/alternative for alternatives like plain text and HTML). See Wikipedia/MIME for details.

Enumerator
MIXED 
DIGEST 
ALTERNATIVE 
RELATED 
REPORT 
SIGNED 
ENCRYPTED 

Definition at line 194 of file MimeEmail.h.

Constructor & Destructor Documentation

◆ ~MimePartList()

virtual nawa::mail::MimeEmail::MimePartList::~MimePartList ( )
virtual

◆ MimePartList() [1/3]

nawa::mail::MimeEmail::MimePartList::MimePartList ( )

◆ MimePartList() [2/3]

nawa::mail::MimeEmail::MimePartList::MimePartList ( MimePartList const &  other)

◆ MimePartList() [3/3]

nawa::mail::MimeEmail::MimePartList::MimePartList ( MimePartList &&  other)
noexcept

Member Function Documentation

◆ operator=() [1/2]

MimePartList & nawa::mail::MimeEmail::MimePartList::operator= ( const MimePartList other)

◆ operator=() [2/2]

MimePartList & nawa::mail::MimeEmail::MimePartList::operator= ( MimePartList &&  other)
noexcept

◆ multipartType() [1/3]

MultipartType & nawa::mail::MimeEmail::MimePartList::multipartType ( )
noexcept

The type of this MIME container, see nawa::MimeEmail::MimePartList::MultipartType. Default: MIXED/

◆ multipartType() [2/3]

MultipartType nawa::mail::MimeEmail::MimePartList::multipartType ( ) const
noexcept

◆ multipartType() [3/3]

MimePartList & nawa::mail::MimeEmail::MimePartList::multipartType ( MultipartType  value)
noexcept

◆ mimeParts() [1/3]

std::vector< MimePartOrList > & nawa::mail::MimeEmail::MimePartList::mimeParts ( )
noexcept

The list of MIME parts. The MimePartOrList type allows nesting, it can contain either a "final" MIME part with payload, or another nested list of MIME parts.

◆ mimeParts() [2/3]

std::vector< MimePartOrList > const & nawa::mail::MimeEmail::MimePartList::mimeParts ( ) const
noexcept

◆ mimeParts() [3/3]

MimePartList & nawa::mail::MimeEmail::MimePartList::mimeParts ( std::vector< MimePartOrList value)
noexcept

Member Data Documentation

◆ MimePartOrList

friend nawa::mail::MimeEmail::MimePartList::MimePartOrList

Definition at line 227 of file MimeEmail.h.


The documentation for this class was generated from the following file: