Gromacs
2022.2
|
Handles a single file type known to FileNameOptionStorage.
Methods in this class do not throw, except for a possible std::bad_alloc when constructing std::string return values.
Public Member Functions | |
FileTypeHandler (int fileType) | |
Returns a handler for a single file type. More... | |
int | extensionCount () const |
Returns the number of acceptable extensions for this file type. | |
const char * | extension (int i) const |
Returns the extension with the given index. | |
bool | isValidType (int fileType) const |
Returns whether fileType (from filetypes.h) is accepted for this type. | |