MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / getType

Method getType

src/openms/source/FORMAT/FileHandler.cpp:43–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41namespace OpenMS
42{
43 FileTypes::Type FileHandler::getType(const String& filename)
44 {
45 FileTypes::Type type = getTypeByFileName(filename);
46 if (type == FileTypes::UNKNOWN)
47 {
48 type = getTypeByContent(filename);
49 }
50 return type;
51 }
52
53 FileTypes::Type FileHandler::getTypeByFileName(const String& filename)
54 {

Callers 6

getCentroidInfoMethod · 0.45
exportTableToJSON_Method · 0.45
writeHeader_Method · 0.45
writeSpectrum_Method · 0.45
writeToMethod · 0.45
writeToMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected