97 static std::string
escapeXML(
const std::string& to_escape);
106 static void replace(std::string& replace_in,
char to_replace,
const std::string& replace_with);
108 const std::string schema_location_ =
"/SCHEMAS/Param_1_7_0.xsd";
109 const std::string schema_version_ =
"1.7.0";
Serializes a Param class in paramCTD file format. Note: only storing is currently possible.
Definition: ParamCTDFile.h:62
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:70
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
std::vector< std::string > citations_
Definition: ParamCTDFile.h:53
std::string name_
Definition: ParamCTDFile.h:49
std::string version_
Definition: ParamCTDFile.h:48
std::string category_
Definition: ParamCTDFile.h:51
std::string docurl_
Definition: ParamCTDFile.h:50
std::string description_
Definition: ParamCTDFile.h:52