#include <DaqXmlStream.h>
Public Member Functions | |
DaqXmlStream (std::ostream &output, const std::string &indent, bool strict) | |
Create an instance of this class. | |
virtual | ~DaqXmlStream () |
Destroy this instance of the class. | |
void | dumpElement (const DybDaq::FadcData &data) const |
void | dumpElement (const DybDaq::FadcData &data, const std::string &indent) const |
void | dumpElement (const DybDaq::FadcFoot &foot) const |
void | dumpElement (const DybDaq::FadcFoot &foot, const std::string &indent) const |
void | dumpElement (const DybDaq::FadcHead &head) const |
void | dumpElement (const DybDaq::FadcHead &head, const std::string &indent) const |
void | dumpElement (const DybDaq::FadcReadout &readout) const |
void | dumpElement (const DybDaq::FadcReadout &readout, const std::string &indent) const |
void | dumpElement (const DybDaq::FeeHit &hit) const |
void | dumpElement (const DybDaq::FeeHit &hit, const std::string &indent) const |
void | dumpElement (const DybDaq::FeeFoot &foot) const |
void | dumpElement (const DybDaq::FeeFoot &foot, const std::string &indent) const |
void | dumpElement (const DybDaq::FeeHead &head) const |
void | dumpElement (const DybDaq::FeeHead &head, const std::string &indent) const |
void | dumpElement (const DybDaq::FeeReadout &readout) const |
void | dumpElement (const DybDaq::FeeReadout &readout, const std::string &indent) const |
void | dumpElement (const DybDaq::LtbFrame &frame) const |
void | dumpElement (const DybDaq::LtbFrame &frame, const std::string &indent) const |
void | dumpElement (const DybDaq::LtbFoot &foot) const |
void | dumpElement (const DybDaq::LtbFoot &foot, const std::string &indent) const |
void | dumpElement (const DybDaq::LtbHead &head) const |
void | dumpElement (const DybDaq::LtbHead &head, const std::string &indent) const |
void | dumpElement (const DybDaq::LtbReadout &readout) const |
void | dumpElement (const DybDaq::LtbReadout &readout, const std::string &indent) const |
void | dumpElement (const DybDaq::CbltBody &body) const |
void | dumpElement (const DybDaq::CbltBody &body, const std::string &indent) const |
void | dumpElement (const DybDaq::CbltFoot &foot) const |
void | dumpElement (const DybDaq::CbltFoot &foot, const std::string &indent) const |
void | dumpElement (const DybDaq::CbltHead &head) const |
void | dumpElement (const DybDaq::CbltHead &head, const std::string &indent) const |
void | dumpElement (const DybDaq::CbltReadout &readout) const |
void | dumpElement (const DybDaq::CbltReadout &readout, const std::string &indent) const |
void | dumpElement (const DybDaq::RomHeader &header) const |
void | dumpElement (const DybDaq::RomHeader &header, const std::string &indent) const |
void | dumpElement (const DybDaq::RomFragment &fragment) const |
void | dumpElement (const DybDaq::RomFragment &fragment, const std::string &indent) const |
void | dumpElement (const DybDaq::EventHeader &header) const |
void | dumpElement (const DybDaq::EventHeader &header, const std::string &indent) const |
void | dumpElement (const DybDaq::EventReadout &readout) const |
void | dumpElement (const DybDaq::EventReadout &readout, const std::string &indent) const |
void | dumpElement (const DybDaq::FileEndRecord &record) const |
void | dumpElement (const DybDaq::FileEndRecord &record, const std::string &indent) const |
void | dumpElement (const DybDaq::DataSeparatorRecord &record) const |
void | dumpElement (const DybDaq::DataSeparatorRecord &record, const std::string &indent) const |
void | dumpElement (const DybDaq::CalibrationParametersRecord &record) const |
void | dumpElement (const DybDaq::CalibrationParametersRecord &record, const std::string &indent) const |
void | dumpElement (const DybDaq::RunParametersRecord &record) const |
void | dumpElement (const DybDaq::RunParametersRecord &record, const std::string &indent) const |
void | dumpElement (const DybDaq::MetadataStrings &record) const |
void | dumpElement (const DybDaq::MetadataStrings &record, const std::string &indent) const |
void | dumpElement (const DybDaq::FileNameStrings &record) const |
void | dumpElement (const DybDaq::FileNameStrings &record, const std::string &indent) const |
void | dumpElement (const DybDaq::FileStartRecord &record) const |
void | dumpElement (const DybDaq::FileStartRecord &record, const std::string &indent) const |
void | dumpElement (const DybDaq::FileBuffer &record) const |
void | dumpElement (const DybDaq::FileBuffer &record, const std::string &indent) const |
Private Member Functions | |
DaqXmlStream () | |
Suppress default. | |
DaqXmlStream (DaqXmlStream &rhs) | |
Suppress default. | |
DaqXmlStream & | operator= (DaqXmlStream &rhs) |
Suppress default. | |
Private Attributes | |
std::ostream * | m_output |
The ostream to which the XML will be written. | |
std::string * | m_indent |
The change in indentation for each line in the output. | |
bool | m_strict |
True if the output should include all information. |
Definition at line 48 of file DaqXmlStream.h.
DybDaq::DaqXmlStream::DaqXmlStream | ( | std::ostream & | output, | |
const std::string & | indent, | |||
bool | strict | |||
) |
Create an instance of this class.
DaqXmlStream::~DaqXmlStream | ( | ) | [virtual] |
DybDaq::DaqXmlStream::DaqXmlStream | ( | ) | [private] |
Suppress default.
DybDaq::DaqXmlStream::DaqXmlStream | ( | DaqXmlStream & | rhs | ) | [private] |
Suppress default.
void DaqXmlStream::dumpElement | ( | const DybDaq::FadcData & | data | ) | const |
Definition at line 67 of file DaqXmlStream.cc.
00067 { 00068 dumpElement(data, 00069 emptyString); 00070 }
void DybDaq::DaqXmlStream::dumpElement | ( | const DybDaq::FadcData & | data, | |
const std::string & | indent | |||
) | const |
void DaqXmlStream::dumpElement | ( | const DybDaq::FadcFoot & | foot | ) | const |
Definition at line 83 of file DaqXmlStream.cc.
00083 { 00084 dumpElement(foot, 00085 emptyString); 00086 }
void DybDaq::DaqXmlStream::dumpElement | ( | const DybDaq::FadcFoot & | foot, | |
const std::string & | indent | |||
) | const |
void DaqXmlStream::dumpElement | ( | const DybDaq::FadcHead & | head | ) | const |
Definition at line 100 of file DaqXmlStream.cc.
00100 { 00101 dumpElement(head, 00102 emptyString); 00103 }
void DybDaq::DaqXmlStream::dumpElement | ( | const DybDaq::FadcHead & | head, | |
const std::string & | indent | |||
) | const |
void DaqXmlStream::dumpElement | ( | const DybDaq::FadcReadout & | readout | ) | const |
Definition at line 116 of file DaqXmlStream.cc.
00116 { 00117 dumpElement(readout, 00118 emptyString); 00119 }
void DybDaq::DaqXmlStream::dumpElement | ( | const DybDaq::FadcReadout & | readout, | |
const std::string & | indent | |||
) | const |
void DaqXmlStream::dumpElement | ( | const DybDaq::FeeHit & | hit | ) | const |
Definition at line 137 of file DaqXmlStream.cc.
00137 { 00138 dumpElement(hit, 00139 emptyString); 00140 }
void DybDaq::DaqXmlStream::dumpElement | ( | const DybDaq::FeeHit & | hit, | |
const std::string & | indent | |||
) | const |
void DaqXmlStream::dumpElement | ( | const DybDaq::FeeFoot & | foot | ) | const |
Definition at line 167 of file DaqXmlStream.cc.
00167 { 00168 dumpElement(foot, 00169 emptyString); 00170 }
void DybDaq::DaqXmlStream::dumpElement | ( | const DybDaq::FeeFoot & | foot, | |
const std::string & | indent | |||
) | const |
void DaqXmlStream::dumpElement | ( | const DybDaq::FeeHead & | head | ) | const |
Definition at line 184 of file DaqXmlStream.cc.
00184 { 00185 dumpElement(head, 00186 emptyString); 00187 }
void DybDaq::DaqXmlStream::dumpElement | ( | const DybDaq::FeeHead & | head, | |
const std::string & | indent | |||
) | const |
void DaqXmlStream::dumpElement | ( | const DybDaq::FeeReadout & | readout | ) | const |
Definition at line 201 of file DaqXmlStream.cc.
00201 { 00202 dumpElement(readout, 00203 emptyString); 00204 }
void DybDaq::DaqXmlStream::dumpElement | ( | const DybDaq::FeeReadout & | readout, | |
const std::string & | indent | |||
) | const |
void DaqXmlStream::dumpElement | ( | const DybDaq::LtbFrame & | frame | ) | const |
Definition at line 220 of file DaqXmlStream.cc.
00220 { 00221 dumpElement(frame, 00222 emptyString); 00223 }
void DybDaq::DaqXmlStream::dumpElement | ( | const DybDaq::LtbFrame & | frame, | |
const std::string & | indent | |||
) | const |
void DaqXmlStream::dumpElement | ( | const DybDaq::LtbFoot & | foot | ) | const |
Definition at line 268 of file DaqXmlStream.cc.
00268 { 00269 dumpElement(foot, 00270 emptyString); 00271 }
void DybDaq::DaqXmlStream::dumpElement | ( | const DybDaq::LtbFoot & | foot, | |
const std::string & | indent | |||
) | const |
void DaqXmlStream::dumpElement | ( | const DybDaq::LtbHead & | head | ) | const |
Definition at line 283 of file DaqXmlStream.cc.
00283 { 00284 dumpElement(head, 00285 emptyString); 00286 }
void DybDaq::DaqXmlStream::dumpElement | ( | const DybDaq::LtbHead & | head, | |
const std::string & | indent | |||
) | const |
void DaqXmlStream::dumpElement | ( | const DybDaq::LtbReadout & | readout | ) | const |
Definition at line 302 of file DaqXmlStream.cc.
00302 { 00303 dumpElement(readout, 00304 emptyString); 00305 }
void DybDaq::DaqXmlStream::dumpElement | ( | const DybDaq::LtbReadout & | readout, | |
const std::string & | indent | |||
) | const |
void DaqXmlStream::dumpElement | ( | const DybDaq::CbltBody & | body | ) | const |
Definition at line 321 of file DaqXmlStream.cc.
00321 { 00322 dumpElement(body, 00323 emptyString); 00324 }
void DybDaq::DaqXmlStream::dumpElement | ( | const DybDaq::CbltBody & | body, | |
const std::string & | indent | |||
) | const |
void DaqXmlStream::dumpElement | ( | const DybDaq::CbltFoot & | foot | ) | const |
Definition at line 349 of file DaqXmlStream.cc.
00349 { 00350 dumpElement(foot, 00351 emptyString); 00352 }
void DybDaq::DaqXmlStream::dumpElement | ( | const DybDaq::CbltFoot & | foot, | |
const std::string & | indent | |||
) | const |
void DaqXmlStream::dumpElement | ( | const DybDaq::CbltHead & | head | ) | const |
Definition at line 366 of file DaqXmlStream.cc.
00366 { 00367 dumpElement(head, 00368 emptyString); 00369 }
void DybDaq::DaqXmlStream::dumpElement | ( | const DybDaq::CbltHead & | head, | |
const std::string & | indent | |||
) | const |
void DaqXmlStream::dumpElement | ( | const DybDaq::CbltReadout & | readout | ) | const |
Definition at line 381 of file DaqXmlStream.cc.
00381 { 00382 dumpElement(readout, 00383 emptyString); 00384 }
void DybDaq::DaqXmlStream::dumpElement | ( | const DybDaq::CbltReadout & | readout, | |
const std::string & | indent | |||
) | const |
void DaqXmlStream::dumpElement | ( | const DybDaq::RomHeader & | header | ) | const |
Definition at line 396 of file DaqXmlStream.cc.
00396 { 00397 dumpElement(header, 00398 emptyString); 00399 }
void DybDaq::DaqXmlStream::dumpElement | ( | const DybDaq::RomHeader & | header, | |
const std::string & | indent | |||
) | const |
void DaqXmlStream::dumpElement | ( | const DybDaq::RomFragment & | fragment | ) | const |
Definition at line 418 of file DaqXmlStream.cc.
00418 { 00419 dumpElement(fragment, 00420 emptyString); 00421 }
void DybDaq::DaqXmlStream::dumpElement | ( | const DybDaq::RomFragment & | fragment, | |
const std::string & | indent | |||
) | const |
void DaqXmlStream::dumpElement | ( | const DybDaq::EventHeader & | header | ) | const |
Definition at line 456 of file DaqXmlStream.cc.
00456 { 00457 dumpElement(header, 00458 emptyString); 00459 }
void DybDaq::DaqXmlStream::dumpElement | ( | const DybDaq::EventHeader & | header, | |
const std::string & | indent | |||
) | const |
void DaqXmlStream::dumpElement | ( | const DybDaq::EventReadout & | readout | ) | const |
Definition at line 491 of file DaqXmlStream.cc.
00491 { 00492 dumpElement(readout, 00493 emptyString); 00494 }
void DybDaq::DaqXmlStream::dumpElement | ( | const DybDaq::EventReadout & | readout, | |
const std::string & | indent | |||
) | const |
void DaqXmlStream::dumpElement | ( | const DybDaq::FileEndRecord & | record | ) | const |
Definition at line 512 of file DaqXmlStream.cc.
00512 { 00513 dumpElement(record, 00514 emptyString); 00515 }
void DybDaq::DaqXmlStream::dumpElement | ( | const DybDaq::FileEndRecord & | record, | |
const std::string & | indent | |||
) | const |
void DaqXmlStream::dumpElement | ( | const DybDaq::DataSeparatorRecord & | record | ) | const |
Definition at line 541 of file DaqXmlStream.cc.
00541 { 00542 dumpElement(record, 00543 emptyString); 00544 }
void DybDaq::DaqXmlStream::dumpElement | ( | const DybDaq::DataSeparatorRecord & | record, | |
const std::string & | indent | |||
) | const |
void DaqXmlStream::dumpElement | ( | const DybDaq::CalibrationParametersRecord & | record | ) | const |
Definition at line 556 of file DaqXmlStream.cc.
00556 { 00557 dumpElement(record, 00558 emptyString); 00559 }
void DybDaq::DaqXmlStream::dumpElement | ( | const DybDaq::CalibrationParametersRecord & | record, | |
const std::string & | indent | |||
) | const |
void DaqXmlStream::dumpElement | ( | const DybDaq::RunParametersRecord & | record | ) | const |
Definition at line 575 of file DaqXmlStream.cc.
00575 { 00576 dumpElement(record, 00577 emptyString); 00578 }
void DybDaq::DaqXmlStream::dumpElement | ( | const DybDaq::RunParametersRecord & | record, | |
const std::string & | indent | |||
) | const |
void DaqXmlStream::dumpElement | ( | const DybDaq::MetadataStrings & | record | ) | const |
Definition at line 607 of file DaqXmlStream.cc.
00607 { 00608 dumpElement(record, 00609 emptyString); 00610 }
void DybDaq::DaqXmlStream::dumpElement | ( | const DybDaq::MetadataStrings & | record, | |
const std::string & | indent | |||
) | const |
void DaqXmlStream::dumpElement | ( | const DybDaq::FileNameStrings & | record | ) | const |
Definition at line 632 of file DaqXmlStream.cc.
00632 { 00633 dumpElement(record, 00634 emptyString); 00635 }
void DybDaq::DaqXmlStream::dumpElement | ( | const DybDaq::FileNameStrings & | record, | |
const std::string & | indent | |||
) | const |
void DaqXmlStream::dumpElement | ( | const DybDaq::FileStartRecord & | record | ) | const |
Definition at line 650 of file DaqXmlStream.cc.
00650 { 00651 dumpElement(record, 00652 emptyString); 00653 }
void DybDaq::DaqXmlStream::dumpElement | ( | const DybDaq::FileStartRecord & | record, | |
const std::string & | indent | |||
) | const |
void DaqXmlStream::dumpElement | ( | const DybDaq::FileBuffer & | record | ) | const |
Definition at line 671 of file DaqXmlStream.cc.
00671 { 00672 dumpElement(record, 00673 emptyString); 00674 }
void DybDaq::DaqXmlStream::dumpElement | ( | const DybDaq::FileBuffer & | record, | |
const std::string & | indent | |||
) | const |
DaqXmlStream& DybDaq::DaqXmlStream::operator= | ( | DaqXmlStream & | rhs | ) | [private] |
Suppress default.
std::ostream* DybDaq::DaqXmlStream::m_output [private] |
std::string* DybDaq::DaqXmlStream::m_indent [private] |
The change in indentation for each line in the output.
Definition at line 228 of file DaqXmlStream.h.
bool DybDaq::DaqXmlStream::m_strict [private] |