#include <nawa/mail/Email/impl/MimeEmail.h>
This struct can save either a MimePart or a MimePartList object and acts as a basis for the MimePartList. You don't have to deal with this object directly, you can just use the MimePartList::mimePart.emplace_back() function to add a MimePart or another MimePartList object to the list.
Definition at line 125 of file MimeEmail.h.
◆ ~MimePartOrList()
virtual nawa::mail::MimeEmail::MimePartOrList::~MimePartOrList |
( |
| ) |
|
|
virtual |
◆ MimePartOrList() [1/5]
nawa::mail::MimeEmail::MimePartOrList::MimePartOrList |
( |
| ) |
|
◆ MimePartOrList() [2/5]
nawa::mail::MimeEmail::MimePartOrList::MimePartOrList |
( |
MimePartOrList const & |
other | ) |
|
◆ MimePartOrList() [3/5]
nawa::mail::MimeEmail::MimePartOrList::MimePartOrList |
( |
MimePartOrList && |
other | ) |
|
|
noexcept |
◆ MimePartOrList() [4/5]
nawa::mail::MimeEmail::MimePartOrList::MimePartOrList |
( |
MimePart const & |
_mimePart | ) |
|
◆ MimePartOrList() [5/5]
nawa::mail::MimeEmail::MimePartOrList::MimePartOrList |
( |
MimePartList const & |
_mimePartList | ) |
|
◆ operator=() [1/4]
◆ operator=() [2/4]
◆ operator=() [3/4]
Assign a MimePart object to this MimePartOrList.
- Parameters
-
otherMimePart | Object to assign. |
- Returns
- This object.
◆ operator=() [4/4]
◆ mimePart() [1/3]
std::unique_ptr< MimePart > & nawa::mail::MimeEmail::MimePartOrList::mimePart |
( |
| ) |
|
|
noexcept |
Create a MIME part containing data. If this pointer contains a MimePart object, the second pointer (for another MimePartList object) will be ignored (and not copied together with the object). Please use the assignment operator for assigning a new object, that function will make sure that the old object will be destroyed properly.
◆ mimePart() [2/3]
std::unique_ptr< MimePart > const & nawa::mail::MimeEmail::MimePartOrList::mimePart |
( |
| ) |
const |
|
noexcept |
◆ mimePart() [3/3]
◆ mimePartList() [1/3]
std::unique_ptr< MimePartList > & nawa::mail::MimeEmail::MimePartOrList::mimePartList |
( |
| ) |
|
|
noexcept |
Create a MIME part containing another MIME container with (possibly) multiple MIME parts. Please use the assignment operator for assigning a new object, that function will make sure that the old object will be destroyed properly.
◆ mimePartList() [2/3]
std::unique_ptr< MimePartList > const & nawa::mail::MimeEmail::MimePartOrList::mimePartList |
( |
| ) |
const |
|
noexcept |
◆ mimePartList() [3/3]
The documentation for this class was generated from the following file: