OpenMS
2.4.0
|
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, CACHEDMZML, MS2, PEPXML, PROTXML, MZIDENTML, MZQUANTML, QCML, GELML, TRAML, MSP, OMSSAXML, MASCOTXML, PNG, XMASS, TSV, MZTAB, PEPLIST, HARDKLOER, KROENIK, FASTA, EDTA, CSV, TXT, OBO, HTML, XML, ANALYSISXML, XSD, PSQ, MRM, SQMASS, PQP, OSW, PSMS, PIN, PARAMXML, SPLIB, NOVOR, XQUESTXML, 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).
enum Type |
Actual file types enum.
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!)
Returns the name/extension of the type.
Referenced by TOPPViewBase::addDataFile(), and InspectOutfile::getExperiment().
Maps the FileType::Type to the preferred mzML CV name.