OpenMS
|
Exports .cwl files. More...
#include <OpenMS/FORMAT/ParamCWLFile.h>
Public Member Functions | |
void | store (const std::string &filename, const Param ¶m, const ToolInfo &tool_info) const |
Write CWL file. More... | |
void | writeCWLToStream (std::ostream *os_ptr, const Param ¶m, const ToolInfo &tool_info) const |
Write CWL to output stream. More... | |
Public Attributes | |
bool | flatHierarchy {} |
If set to true, all parameters will be listed without nesting when writing the CWL File. The names will be expanded to include the nesting hierarchy. More... | |
Exports .cwl files.
If Names include ':' it will be replaced with "__";
Write CWL file.
filename | The name of the file the param data structure should be stored in. |
param | The param data structure that should be stored. |
tool_info | Additional information about the Tool for which the param data should be stored. |
std::ios::failure | is thrown if the file could not be created |
void writeCWLToStream | ( | std::ostream * | os_ptr, |
const Param & | param, | ||
const ToolInfo & | tool_info | ||
) | const |
Write CWL to output stream.
os_ptr | The stream to which the param data should be written. |
param | The param data structure that should be writte to stream. |
tool_info | Additional information about the Tool for which the param data should be written. |
bool flatHierarchy {} |
If set to true, all parameters will be listed without nesting when writing the CWL File. The names will be expanded to include the nesting hierarchy.