#include <extfilefilter.h>
Public Member Functions | |
| ExtFileFilter () | |
| void | set_filetype (FileType ft) |
| Set the file type according the values specified in FileType. | |
| FileType | get_filetype () const |
| Get the file type. | |
| void | set_extension (const std::string &ext) |
| Set the extension associated with the file type. | |
| std::string | get_extension () const |
| Get the extension. | |
Private Attributes | |
| FileType | filetype |
| The file type. | |
| std::string | extension |
| The extension associated with the file type. | |
| ExtFileFilter::ExtFileFilter | ( | ) | [inline] |
| void ExtFileFilter::set_filetype | ( | FileType | ft | ) | [inline] |
Set the file type according the values specified in FileType.
| ft | The file type. |
| FileType ExtFileFilter::get_filetype | ( | ) | const [inline] |
Get the file type.
| void ExtFileFilter::set_extension | ( | const std::string & | ext | ) | [inline] |
Set the extension associated with the file type.
| ext | a std::string specifying the extension, e.g. ".xvs". |
| std::string ExtFileFilter::get_extension | ( | ) | const [inline] |
Get the extension.
FileType ExtFileFilter::filetype [private] |
The file type.
std::string ExtFileFilter::extension [private] |
The extension associated with the file type.
1.4.7