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