File adapter for MzIdentML files. More...
#include <OpenMS/FORMAT/MzIdentMLFile.h>
Public Member Functions | |
| MzIdentMLFile () | |
| Default constructor. | |
| virtual | ~MzIdentMLFile () |
| Destructor. | |
| void | load (const String &filename, Identification &id) |
| Loads a map from a MzIdentML file. | |
| void | store (const String &filename, const std::vector< ProteinIdentification > &poid, const std::vector< PeptideIdentification > &peid) const |
| Stores a map in a MzIdentML file. | |
| void | store (const String &filename, const Identification &id) const |
| Stores a map in a MzIdentML 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. | |
File adapter for MzIdentML files.
If a critical error occurs due to the missing functionality, Exception::NotImplemented is thrown.
| MzIdentMLFile | ( | ) |
Default constructor.
| virtual ~MzIdentMLFile | ( | ) | [virtual] |
Destructor.
| 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.
| 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. |
| Exception::FileNotFound | is thrown if the file could not be opened |
| void load | ( | const String & | filename, | |
| Identification & | id | |||
| ) |
Loads a map from a MzIdentML file.
| 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 Identification & | id | |||
| ) | const |
Stores a map in a MzIdentML file.
| Exception::UnableToCreateFile | is thrown if the file could not be created |
| void store | ( | const String & | filename, | |
| const std::vector< ProteinIdentification > & | poid, | |||
| const std::vector< PeptideIdentification > & | peid | |||
| ) | const |
Stores a map in a MzIdentML file.
| 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 |