fileInfo Class Reference
Stores information about a file attachment.
More...
List of all members.
Detailed Description
Stores information about a file attachment.
Constructor & Destructor Documentation
Member Function Documentation
| const datetime & getCreationDate |
( |
|
) |
const |
Return the value of the 'creation-date' property.
- Returns:
- file creation time
| const word & getFilename |
( |
|
) |
const |
Return the value of the 'filename' property.
- Returns:
- file name
| const datetime & getModificationDate |
( |
|
) |
const |
Return the value of the 'modification-date' property.
- Returns:
- file modification time
Return the value of the 'read-date' property.
- Returns:
- file access time
| unsigned int getSize |
( |
|
) |
const |
Return the value of the 'size' property.
- Returns:
- file size
| bool hasCreationDate |
( |
|
) |
const |
Check whether the 'creation-date' property is present.
- Returns:
- true if the 'creation-date' property is set, false otherwise
| bool hasFilename |
( |
|
) |
const |
Check whether the 'filename' property is present.
- Returns:
- true if the 'filename' property is set, false otherwise
| bool hasModificationDate |
( |
|
) |
const |
Check whether the 'modification-date' property is present.
- Returns:
- true if the 'modification-date' property is set, false otherwise
| bool hasReadDate |
( |
|
) |
const |
Check whether the 'read-date' property is set.
- Returns:
- true if the 'read-date' property is set, false otherwise
Check whether the value of the 'size' property is set.
- Returns:
- true if the 'size' property is set, false otherwise
| void setCreationDate |
( |
const datetime & |
date |
) |
|
Set the value of the 'creation-date' property.
- Parameters:
-
| void setFilename |
( |
const word & |
name |
) |
|
Set the value of the 'filename' property.
- Parameters:
-
| void setFilename |
( |
const string & |
name |
) |
|
Set the value of the 'filename' property.
- Parameters:
-
| void setModificationDate |
( |
const datetime & |
date |
) |
|
Set the value of the 'modification-date' property.
- Parameters:
-
| date | file modification time |
| void setReadDate |
( |
const datetime & |
date |
) |
|
Set the value of the 'read-date' property.
- Parameters:
-
| void setSize |
( |
const unsigned int & |
size |
) |
|
Set the value of the 'size' property.
- Parameters:
-
The documentation for this class was generated from the following files: