|
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 | ( | ) |
| const datetime & getCreationDate | ( | ) | const |
Return the value of the 'creation-date' property.
| const word & getFilename | ( | ) | const |
Return the value of the 'filename' property.
| const datetime & getModificationDate | ( | ) | const |
Return the value of the 'modification-date' property.
| const datetime & getReadDate | ( | ) | const |
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.
| bool hasFilename | ( | ) | const |
Check whether the 'filename' property is present.
| bool hasModificationDate | ( | ) | const |
Check whether the 'modification-date' property is present.
| bool hasReadDate | ( | ) | const |
Check whether the 'read-date' property is set.
| bool hasSize | ( | ) | const |
Check whether the value of the 'size' property is set.
| void setCreationDate | ( | const datetime & | date | ) |
Set the value of the 'creation-date' property.
| date | file creation time |
| void setFilename | ( | const string & | name | ) |
Set the value of the 'filename' property.
| name | file name |
| void setFilename | ( | const word & | name | ) |
Set the value of the 'filename' property.
| name | file name |
| void setModificationDate | ( | const datetime & | date | ) |
Set the value of the 'modification-date' property.
| date | file modification time |
| void setReadDate | ( | const datetime & | date | ) |
Set the value of the 'read-date' property.
| date | file access time |
| void setSize | ( | const size_t | size | ) |
Set the value of the 'size' property.
| size | file size |