86 String toXMLString(
UInt indentation_level)
const;
115 String toXMLString(
UInt indentation_level)
const;
124 String map2csv(
const std::map<
String, std::map<String, String> >& cvs_table,
const String& separator)
const;
130 void registerSet(
const String id,
const String name,
const std::set<String>& names);
140 void removeAttachment(
String r, std::vector<String>& ids,
String at =
"");
144 void removeAllAttachments(
String at);
146 void removeQualityParameter(
String r, std::vector<String>& ids);
150 void collectSetParameter(
const String setname,
const String qp, std::vector<String>& ret);
158 void getRunIDs (std::vector<String>& ids)
const;
160 void getRunNames (std::vector<String>& ids)
const;
162 bool existsRun(
const String filename,
bool checkname =
false)
const;
164 bool existsSet(
const String filename,
bool checkname =
false)
const;
166 void existsRunQualityParameter(
const String filename,
const String qpname, std::vector<String>& ids)
const;
168 void existsSetQualityParameter(
const String filename,
const String qpname, std::vector<String>& ids)
const;
170 void store(
const String & filename)
const;
172 void load(
const String & filename);
178 void endElement(
const XMLCh *
const ,
const XMLCh *
const ,
const XMLCh *
const qname)
override;
181 void startElement(
const XMLCh *
const ,
const XMLCh *
const ,
const XMLCh *
const qname,
const xercesc::Attributes & attributes)
override;
184 void characters(
const XMLCh *
const chars,
const XMLSize_t length)
override;
203 std::vector<QualityParameter>
qps_;
String value
Value.
Definition: QcMLFile.h:69
String unitRef
cv reference of the unit
Definition: QcMLFile.h:97
A more convenient string class.
Definition: String.h:57
String value
Value.
Definition: QcMLFile.h:94
std::map< String, std::vector< Attachment > > setQualityAts_
Definition: QcMLFile.h:189
QualityParameter qp_
Definition: QcMLFile.h:196
std::vector< std::vector< String > > tableRows
cell values if QP has a table, type see colType
Definition: QcMLFile.h:102
String id
Name.
Definition: QcMLFile.h:93
String id
Identifier.
Definition: QcMLFile.h:68
String unitRef
cv reference of the unit
Definition: QcMLFile.h:72
String cvAcc
cv accession
Definition: QcMLFile.h:71
std::map< String, std::vector< QualityParameter > > runQualityQPs_
Definition: QcMLFile.h:186
std::map< String, String > set_Name_ID_map_
Definition: QcMLFile.h:192
unsigned int UInt
Unsigned integer type.
Definition: Types.h:94
String cvAcc
cv accession
Definition: QcMLFile.h:96
Attachment at_
Definition: QcMLFile.h:197
Base class for XML handlers.
Definition: XMLHandler.h:148
bool operator==(_Iterator< _Val, _Ref, _Ptr > const &, _Iterator< _Val, _Ref, _Ptr > const &)
Definition: KDTree.h:806
std::vector< String > row_
Definition: QcMLFile.h:198
String name_
Definition: QcMLFile.h:200
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
bool operator<(const MultiplexDeltaMasses &dm1, const MultiplexDeltaMasses &dm2)
String unitAcc
cv accession of the unit
Definition: QcMLFile.h:98
std::vector< String > header_
Definition: QcMLFile.h:199
String name
Name.
Definition: QcMLFile.h:67
std::map< String, std::set< String > > setQualityQPs_members_
Definition: QcMLFile.h:190
Representation of an attachment.
Definition: QcMLFile.h:90
String flag
cv accession of the unit
Definition: QcMLFile.h:74
std::map< String, String > run_Name_ID_map_
Definition: QcMLFile.h:191
String tag_
Definition: QcMLFile.h:194
String unitAcc
cv accession of the unit
Definition: QcMLFile.h:73
std::map< String, std::vector< QualityParameter > > setQualityQPs_
Definition: QcMLFile.h:188
std::vector< String > StringList
Vector of String.
Definition: ListUtils.h:73
File adapter for QcML files used to load and store QcML files.
Definition: QcMLFile.h:57
String cvRef
cv reference
Definition: QcMLFile.h:95
std::set< String > names_
Definition: QcMLFile.h:202
Base class for all classes that want to report their progress.
Definition: ProgressLogger.h:54
Representation of a quality parameter.
Definition: QcMLFile.h:65
Base class for loading/storing XML files that have a handler derived from XMLHandler.
Definition: XMLFile.h:48
UInt progress_
Definition: QcMLFile.h:195
std::vector< String > colTypes
type of the cols if QP has a table of values
Definition: QcMLFile.h:101
String name
Name.
Definition: QcMLFile.h:92
String qualityRef
reference to qp to which attachment, if empty attached to run/set
Definition: QcMLFile.h:100
String run_id_
Definition: QcMLFile.h:201
String cvRef
cv reference
Definition: QcMLFile.h:70
std::map< String, std::vector< Attachment > > runQualityAts_
Definition: QcMLFile.h:187
std::vector< Attachment > ats_
Definition: QcMLFile.h:204
String binary
binary content of the attachment
Definition: QcMLFile.h:99
std::vector< QualityParameter > qps_
Definition: QcMLFile.h:203