Centralizes the file types recognized by FileHandler. More...
#include <OpenMS/FORMAT/FileTypes.h>
Public Types | |
enum | Type { UNKNOWN, DTA, DTA2D, MZDATA, MZXML, FEATUREXML, IDXML, CONSENSUSXML, MGF, INI, TOPPAS, TRANSFORMATIONXML, MZML, MS2, PEPXML, PROTXML, MZIDENTML, MZQUANTML, QCML, GELML, TRAML, MSP, OMSSAXML, MASCOTXML, PNG, XMASS, TSV, PEPLIST, HARDKLOER, KROENIK, FASTA, EDTA, CSV, TXT, OBO, HTML, XML, ANALYSISXML, XSD, PSQ, MRM, SIZE_OF_TYPE } |
Actual file types enum. More... | |
Static Public Member Functions | |
static String | typeToName (Type type) |
Returns the name/extension of the type. More... | |
static String | typeToMZML (Type type) |
Returns the mzML name (TODO: switch to accession since they are more stable!) More... | |
static Type | nameToType (const String &name) |
Converts a file type name into a Type. More... | |
Static Private Member Functions | |
static std::map< Type, String > | initializeMap_ () |
Initializer for the file extension map. More... | |
static std::map< Type, String > | initializeMZMLMap_ () |
Initializer for the file extension map. More... | |
Static Private Attributes | |
static const std::map< Type, String > | name_of_types_ |
Maps the FileType::Type to the preferred extension. More... | |
static const std::map< Type, String > | name_of_MZMLtypes_ |
Maps the FileType::Type to the preferred mzML CV name. More... | |
Centralizes the file types recognized by FileHandler.
FileType separate from FileHandler to avoid circular inclusions by DocumentIdentifier, ExperimentalSettings and FileHandler and respective fileclasses (e.g. DTA2DFile).
Initializer for the file extension map.
Initializer for the file extension map.
Returns the mzML name (TODO: switch to accession since they are more stable!)
Referenced by FileHandler::loadExperiment().
Returns the name/extension of the type.
Referenced by TOPPViewBase::addDataFile(), and InspectOutfile::getExperiment().
Maps the FileType::Type to the preferred mzML CV name.
OpenMS / TOPP release 2.0.0 | Documentation generated on Fri May 29 2015 17:20:38 using doxygen 1.8.9.1 |