Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
Public Member Functions

MzQuantMLFile Class Reference
[File IO]

File adapter for MzQuantML files. More...

#include <OpenMS/FORMAT/MzQuantMLFile.h>

Inheritance diagram for MzQuantMLFile:
XMLFile ProgressLogger

List of all members.

Public Member Functions

 MzQuantMLFile ()
 Default constructor.
virtual ~MzQuantMLFile ()
 Destructor.
void load (const String &filename, MSQuantifications &msq)
 Loads a map from a MzQuantML file.
void store (const String &filename, const MSQuantifications &cmsq) const
 Stores a map in a MzQuantML file.
bool isSemanticallyValid (const String &filename, StringList &errors, StringList &warnings)
 Checks if a file is valid with respect to the mapping file and the controlled vocabulary.

Detailed Description

File adapter for MzQuantML files.

If a critical error occurs due to the missing functionality, Exception::NotImplemented is thrown.


Constructor & Destructor Documentation

MzQuantMLFile (  ) 

Default constructor.

virtual ~MzQuantMLFile (  )  [virtual]

Destructor.


Member Function Documentation

bool isSemanticallyValid ( const String filename,
StringList errors,
StringList warnings 
)

Checks if a file is valid with respect to the mapping file and the controlled vocabulary.

Parameters:
filename File name of the file to be checked.
errors Errors during the validation are returned in this output parameter.
warnings Warnings during the validation are returned in this output parameter.
Exceptions:
Exception::FileNotFound is thrown if the file could not be opened
void load ( const String filename,
MSQuantifications msq 
)

Loads a map from a MzQuantML file.

Exceptions:
Exception::FileNotFound is thrown if the file could not be opened
Exception::ParseError is thrown if an error occurs during parsing
void store ( const String filename,
const MSQuantifications cmsq 
) const

Stores a map in a MzQuantML file.

Exceptions:
Exception::UnableToCreateFile is thrown if the file could not be created

OpenMS / TOPP release 1.10.0 Documentation generated on Thu Mar 7 2013 09:42:54 using doxygen 1.7.1