Wt examples: Attachment Class Reference

Wt examples 3.3.0

- Main Page
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Hierarchy
- Class Members

Public Member Functions | Public Attributes
Attachment Class Reference
Composer example

An email attachment. More...

`#include <Attachment.h>`

List of all members.

## Public Member Functions
| Attachment (const std::wstring aFileName, const std::wstring aContentDescription, const std::string aSpoolFileName)
| Create an attachment.
## Public Attributes
std::wstring | fileName
| The file name.
std::wstring | contentDescription
| The content description.
std::string | spoolFileName
| the spooled file name.

## Detailed Description

An email attachment.

This widget is part of the Wt composer example.

Definition at line 19 of file Attachment.h.

## Constructor & Destructor Documentation

Attachment::Attachment | ( | const std::wstring | aFileName,
|  | const std::wstring | aContentDescription,
|  | const std::string | aSpoolFileName
| ) |  | `[inline]`

Create an attachment.

Definition at line 36 of file Attachment.h.

        : fileName(aFileName),
          contentDescription(aContentDescription),
          spoolFileName(aSpoolFileName)
      { }

## Member Data Documentation

std::wstring Attachment::contentDescription

The content description.

Definition at line 28 of file Attachment.h.

std::wstring Attachment::fileName

The file name.

Definition at line 24 of file Attachment.h.

std::string Attachment::spoolFileName

the spooled file name.

Definition at line 32 of file Attachment.h.

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

- /home/koen/project/wt/public-git/wt/examples/composer/Attachment.h