![]() |
NDEVR
API Documentation
|
A FileRequest bundles format data as well as a particular file. More...
Public Member Functions | |
| FileRequest () | |
| Default constructor. | |
| FileRequest (const File &file) | |
| Constructs a FileRequest for the given file with an invalid format. | |
| FileRequest (const File &file, const FileFormat &format) | |
| Constructs a FileRequest for the given file and format. | |
| bool | operator!= (const FileRequest &request) const |
| Checks inequality with another FileRequest by comparing file and format. | |
| bool | operator== (const FileRequest &request) const |
| Checks equality with another FileRequest by comparing both file and format. | |
Public Attributes | |
| File | file |
| The file path associated with this request. | |
| FileFormat | format |
| The file format describing how to handle the file. | |
A FileRequest bundles format data as well as a particular file.
Definition at line 100 of file FileFormat.h.
|
inline |
Default constructor.
Creates a FileRequest with an invalid format and no file.
Definition at line 105 of file FileFormat.h.
References format.
Referenced by operator!=(), and operator==().
|
inline |
Constructs a FileRequest for the given file with an invalid format.
| [in] | file | The file to associate with this request. |
Definition at line 112 of file FileFormat.h.
|
inline |
Constructs a FileRequest for the given file and format.
| [in] | file | The file to associate with this request. |
| [in] | format | The FileFormat describing how to read or write the file. |
Definition at line 121 of file FileFormat.h.
|
inline |
Checks inequality with another FileRequest by comparing file and format.
| [in] | request | The FileRequest to compare against. |
Definition at line 139 of file FileFormat.h.
References FileRequest(), file, and format.
|
inline |
Checks equality with another FileRequest by comparing both file and format.
| [in] | request | The FileRequest to compare against. |
Definition at line 130 of file FileFormat.h.
References FileRequest(), file, and format.