71 static std::string
escapeXML(
const std::string& to_escape);
80 static void replace(std::string& replace_in,
char to_replace,
const std::string& replace_with);
82 const std::string schema_location_ =
"/SCHEMAS/Param_1_8_0.xsd";
83 const std::string schema_version_ =
"1.8.0";
Serializes a Param class in paramCTD file format. Note: only storing is currently possible.
Definition: ParamCTDFile.h:36
static void replace(std::string &replace_in, char to_replace, const std::string &replace_with)
Replace all occurrences of a character in a string with a string.
~ParamCTDFile()=default
Constructor.
void store(const std::string &filename, const Param ¶m, const ToolInfo &tool_info) const
Destructor.
static std::string escapeXML(const std::string &to_escape)
Escapes certain characters in a string that are not allowed in XML Escaped characters are: & < > " '.
void writeCTDToStream(std::ostream *os_ptr, const Param ¶m, const ToolInfo &tool_info) const
Write CTD to output stream.
Management and storage of parameters / INI files.
Definition: Param.h:44
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19
std::vector< std::string > citations_
Definition: ParamCTDFile.h:27
std::string name_
Definition: ParamCTDFile.h:23
std::string version_
Definition: ParamCTDFile.h:22
std::string category_
Definition: ParamCTDFile.h:25
std::string docurl_
Definition: ParamCTDFile.h:24
std::string description_
Definition: ParamCTDFile.h:26