17#ifndef MS_CROSSLINKING_CONFIGFILE_HPP
18#define MS_CROSSLINKING_CONFIGFILE_HPP
25namespace matrix_science {
26 class ms_crosslinking_method;
72 virtual void defaultValues();
75 std::string getFileName()
const;
78 void setFileName(
const char* filename);
81 void setSchemaFileName(
const char* name);
84 std::string getSchemaFileName()
const;
87 static std::string getDefaultSchemaFileName();
102 void read_buffer(
const char* buffer);
105 std::string save_buffer(
bool validateAgainstSchema =
true);
108 std::string validateDocument()
const;
111 std::string getMajorVersion()
const;
114 std::string getMinorVersion()
const;
118 int getNumberOfMethods()
const;
139 bool deleteMethodByNumber(
const int idx);
142 bool deleteMethodByName(
const char *name);
146 std::string m_fileName;
147 std::string m_schemaFileName;
150 std::string m_majorVersion;
151 std::string m_minorVersion;
153 std::string m_encodingName;
156 typedef std::vector< ms_crosslinking_method* > method_vector;
157 method_vector m_methods;
Settings required to make an HTTP connection to a Mascot server.
Definition: ms_connection_settings.hpp:54
This class represents the file crosslinking.xml.
Definition: ms_crosslinking_configfile.hpp:49
Represents a method object in crosslinking.xml
Definition: ms_crosslinking_method.hpp:50
This class is used as a base class for several Mascot Parser classes.
Definition: ms_errors.hpp:696