NAWA 0.9
Web Application Framework for C++
nawa::MimeMultipart::Part Class Reference

#include <nawa/util/MimeMultipart.h>

Public Member Functions

virtual ~Part ()
 
 Part ()
 
 Part (Part const &other)
 
Partoperator= (const Part &other)
 
 Part (Part &&other) noexcept
 
Partoperator= (Part &&other) noexcept
 
std::string & partName () noexcept
 
std::string const & partName () const noexcept
 
PartpartName (std::string value) noexcept
 
std::string & filename () noexcept
 
std::string const & filename () const noexcept
 
Partfilename (std::string value) noexcept
 
std::string & contentType () noexcept
 
std::string const & contentType () const noexcept
 
PartcontentType (std::string value) noexcept
 
HeadersMapheaders () noexcept
 
HeadersMap const & headers () const noexcept
 
Partheaders (HeadersMap value) noexcept
 
std::string & content () noexcept
 
std::string const & content () const noexcept
 
Partcontent (std::string value) noexcept
 

Detailed Description

Definition at line 45 of file MimeMultipart.h.

Constructor & Destructor Documentation

◆ ~Part()

virtual nawa::MimeMultipart::Part::~Part ( )
virtual

◆ Part() [1/3]

nawa::MimeMultipart::Part::Part ( )

◆ Part() [2/3]

nawa::MimeMultipart::Part::Part ( Part const &  other)

◆ Part() [3/3]

nawa::MimeMultipart::Part::Part ( Part &&  other)
noexcept

Member Function Documentation

◆ operator=() [1/2]

Part & nawa::MimeMultipart::Part::operator= ( const Part other)

◆ operator=() [2/2]

Part & nawa::MimeMultipart::Part::operator= ( Part &&  other)
noexcept

◆ partName() [1/3]

std::string & nawa::MimeMultipart::Part::partName ( )
noexcept

Name of the MIME part.

Returns
Name of the MIME part.

◆ partName() [2/3]

std::string const & nawa::MimeMultipart::Part::partName ( ) const
noexcept

◆ partName() [3/3]

Part & nawa::MimeMultipart::Part::partName ( std::string  value)
noexcept

◆ filename() [1/3]

std::string & nawa::MimeMultipart::Part::filename ( )
noexcept

The file name, if available (if this MIME part is a file). Otherwise empty.

Returns
The file name.

◆ filename() [2/3]

std::string const & nawa::MimeMultipart::Part::filename ( ) const
noexcept

◆ filename() [3/3]

Part & nawa::MimeMultipart::Part::filename ( std::string  value)
noexcept

◆ contentType() [1/3]

std::string & nawa::MimeMultipart::Part::contentType ( )
noexcept

The content type of this MIME part.

Returns
The content type.

◆ contentType() [2/3]

std::string const & nawa::MimeMultipart::Part::contentType ( ) const
noexcept

◆ contentType() [3/3]

Part & nawa::MimeMultipart::Part::contentType ( std::string  value)
noexcept

◆ headers() [1/3]

HeadersMap & nawa::MimeMultipart::Part::headers ( )
noexcept

Access a map containing this MIME part's headers.

Returns
Reference to the map of headers.

◆ headers() [2/3]

HeadersMap const & nawa::MimeMultipart::Part::headers ( ) const
noexcept

◆ headers() [3/3]

Part & nawa::MimeMultipart::Part::headers ( HeadersMap  value)
noexcept

◆ content() [1/3]

std::string & nawa::MimeMultipart::Part::content ( )
noexcept

Access the content of this MIME part.

Returns
Reference to the content of this MIME part.

◆ content() [2/3]

std::string const & nawa::MimeMultipart::Part::content ( ) const
noexcept

◆ content() [3/3]

Part & nawa::MimeMultipart::Part::content ( std::string  value)
noexcept

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