Description of a polled file.
More...
#include <tsPolledFile.h>
|
| bool | deleted () const |
| | Check if the file has been deleted since last notification.
|
| |
| const UString & | getFileName () const |
| | Get the file name.
|
| |
| std::uintmax_t | getSize () const |
| | Get file size in bytes.
|
| |
| Status | getStatus () const |
| | Get file status since last notification.
|
| |
| bool | updated () const |
| | Check if the file has been updated (created or modified) since last notification.
|
| |
Description of a polled file.
◆ Status
Status of a polled file.
| Enumerator |
|---|
| MODIFIED | The file was modified since last time.
|
| ADDED | The file was added since last time.
|
| DELETED | The file was deleted since last time.
|
◆ StatusEnumeration()
| static const Names & ts::PolledFile::StatusEnumeration |
( |
| ) |
|
|
static |
Enumeration names for Status.
- Returns
- A constant reference to the enumeration description.
◆ getFileName()
| const UString & ts::PolledFile::getFileName |
( |
| ) |
const |
|
inline |
Get the file name.
- Returns
- The file name.
◆ getStatus()
| Status ts::PolledFile::getStatus |
( |
| ) |
const |
|
inline |
Get file status since last notification.
- Returns
- The file status since last notification.
◆ updated()
| bool ts::PolledFile::updated |
( |
| ) |
const |
|
inline |
Check if the file has been updated (created or modified) since last notification.
- Returns
- True if the file has been updated.
◆ deleted()
| bool ts::PolledFile::deleted |
( |
| ) |
const |
|
inline |
Check if the file has been deleted since last notification.
- Returns
- True if the file has been deleted.
◆ getSize()
| std::uintmax_t ts::PolledFile::getSize |
( |
| ) |
const |
|
inline |
Get file size in bytes.
- Returns
- The file size in bytes.
The documentation for this class was generated from the following file: