|
VMime
|
#include <fileAttachment.hpp>
Public Member Functions | |
| fileInfo () | |
| ~fileInfo () | |
| bool | hasFilename () const |
| const word & | getFilename () const |
| void | setFilename (const string &name) |
| void | setFilename (const word &name) |
| bool | hasCreationDate () const |
| const datetime & | getCreationDate () const |
| void | setCreationDate (const datetime &date) |
| bool | hasModificationDate () const |
| const datetime & | getModificationDate () const |
| void | setModificationDate (const datetime &date) |
| bool | hasReadDate () const |
| const datetime & | getReadDate () const |
| void | setReadDate (const datetime &date) |
| bool | hasSize () const |
| size_t | getSize () const |
| void | setSize (const size_t size) |
Stores information about a file attachment.
| fileInfo | ( | ) |
| ~fileInfo | ( | ) |
Return the value of the 'creation-date' property.
Return the value of the 'modification-date' property.
Return the value of the 'read-date' property.
| size_t getSize | ( | ) | const |
Return the value of the 'size' property.
| bool hasCreationDate | ( | ) | const |
Check whether the 'creation-date' property is present.
References vmime::dynamicCast().
| bool hasFilename | ( | ) | const |
Check whether the 'filename' property is present.
References vmime::dynamicCast().
| bool hasModificationDate | ( | ) | const |
Check whether the 'modification-date' property is present.
References vmime::dynamicCast().
| bool hasReadDate | ( | ) | const |
Check whether the 'read-date' property is set.
References vmime::dynamicCast().
| bool hasSize | ( | ) | const |
Check whether the value of the 'size' property is set.
References vmime::dynamicCast().
Set the value of the 'creation-date' property.
| date | file creation time |
References vmime::dynamicCast().
Set the value of the 'filename' property.
| name | file name |
Referenced by fileAttachment::fileAttachment(), fileAttachment::fileAttachment(), and fileAttachment::fileAttachment().
Set the value of the 'filename' property.
| name | file name |
Set the value of the 'modification-date' property.
| date | file modification time |
References vmime::dynamicCast().
Set the value of the 'read-date' property.
| date | file access time |
References vmime::dynamicCast().