OpenMS
2.7.0
|
Used to load XML files from unimod.org files. More...
#include <OpenMS/FORMAT/UnimodXMLFile.h>
Public Member Functions | |
UnimodXMLFile () | |
Default constructor. More... | |
~UnimodXMLFile () override | |
Destructor. More... | |
void | load (const String &filename, std::vector< ResidueModification * > &modifications) |
loads data from unimod.xml file More... | |
Public Member Functions inherited from XMLFile | |
XMLFile () | |
Default constructor. More... | |
XMLFile (const String &schema_location, const String &version) | |
Constructor that sets the schema location. More... | |
virtual | ~XMLFile () |
Destructor. More... | |
bool | isValid (const String &filename, std::ostream &os) |
Checks if a file validates against the XML schema. More... | |
const String & | getVersion () const |
return the version of the schema More... | |
Private Member Functions | |
UnimodXMLFile (const UnimodXMLFile &rhs) | |
Not implemented. More... | |
UnimodXMLFile & | operator= (const UnimodXMLFile &rhs) |
Not implemented. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from XMLFile | |
void | parse_ (const String &filename, XMLHandler *handler) |
Parses the XML file given by filename using the handler given by handler . More... | |
void | parseBuffer_ (const std::string &buffer, XMLHandler *handler) |
Parses the in-memory buffer given by buffer using the handler given by handler . More... | |
void | save_ (const String &filename, XMLHandler *handler) const |
Stores the contents of the XML handler given by handler in the file given by filename . More... | |
void | enforceEncoding_ (const String &encoding) |
Protected Attributes inherited from XMLFile | |
String | schema_location_ |
XML schema file location. More... | |
String | schema_version_ |
Version string. More... | |
String | enforced_encoding_ |
Encoding string that replaces the encoding (system dependent or specified in the XML). Disabled if empty. Used as a workaround for XTandem output xml. More... | |
Used to load XML files from unimod.org files.
UnimodXMLFile | ( | ) |
Default constructor.
|
override |
Destructor.
|
private |
Not implemented.
|
private |
Not implemented.