35 #ifndef OPENMS_FORMAT_MZMLFILE_H 
   36 #define OPENMS_FORMAT_MZMLFILE_H 
   85     template <
typename MapType>
 
   91       map.setLoadedFileType(filename);
 
   92       map.setLoadedFilePath(filename);
 
   99         parse_(filename, &handler);
 
  106         std::stringstream ss;
 
  108         expr.append(ss.str());
 
  111         std::string mess = 
"- due to that error of type ";
 
  125     template <
typename MapType>
 
  130       save_(filename, &handler);
 
  138     bool isValid(
const String& filename, std::ostream& os = std::cerr);
 
  162 #endif // OPENMS_FOMAT_MZMLFILE_H 
A more convenient string class. 
Definition: String.h:56
int getLine() const 
Returns the line number where it occured. 
PeakFileOptions options_
Options for loading / storing. 
Definition: MzMLFile.h:154
const char * getFile() const 
Returns the file where it occured. 
File adapter for MzML files. 
Definition: MzMLFile.h:58
XML handler for MzMLFile. 
Definition: MzMLHandler.h:94
const char * getName() const 
Returns the name of the exception. 
void load(const String &filename, MapType &map)
Loads a map from a MzML file. 
Definition: MzMLFile.h:86
void store(const String &filename, const MapType &map) const 
Stores a map in a MzML file. 
Definition: MzMLFile.h:126
Exception base class. 
Definition: Exception.h:90
const char * getFunction() const 
Returns the function where it occured. 
String list. 
Definition: StringList.h:56
Base class for all classes that want to report their progess. 
Definition: ProgressLogger.h:56
void setOptions(const PeakFileOptions &opt)
Definition: MzMLHandler.h:184
Base class for loading/storing XML files that have a handler derived from XMLHandler. 
Definition: XMLFile.h:51
Options for loading files containing peak data. 
Definition: PeakFileOptions.h:47
String indexed_schema_location_
Location of indexed mzML schema. 
Definition: MzMLFile.h:157
Parse Error exception. 
Definition: Exception.h:608