#include <XmlStreamer.h>
|
| | XmlStreamer (const std::string &name, const std::map< std::string, std::string > &attributes, std::ostream &os=std::cout) |
| | XmlStreamer (const std::string &name, const std::string &attributeName, const std::string &attributeValue, std::ostream &os=std::cout) |
| | XmlStreamer (const std::string &name, const std::vector< std::string > &attributeNames, const std::vector< std::string > &attributeValues, std::ostream &os=std::cout) |
| | XmlStreamer (const std::string &name, std::ostream &os=std::cout) |
| virtual | ~XmlStreamer () |
| template<class T> |
| void | value (const T &v) |
Definition at line 18 of file XmlStreamer.h.
◆ XmlStreamer() [1/4]
| SCT_CalibAlgs::XmlStreamer::XmlStreamer |
( |
const std::string & | name, |
|
|
const std::map< std::string, std::string > & | attributes, |
|
|
std::ostream & | os = std::cout ) |
Definition at line 20 of file XmlStreamer.cxx.
20 :
27 m_os <<
" " <<
i->first <<
"=\"" <<
i->second <<
"\"";
28 }
29 }
32}
IElementStreamer(const std::string &name, const std::map< std::string, std::string > &attributeMap, std::ostream &os=std::cout)
◆ XmlStreamer() [2/4]
| SCT_CalibAlgs::XmlStreamer::XmlStreamer |
( |
const std::string & | name, |
|
|
const std::string & | attributeName, |
|
|
const std::string & | attributeValue, |
|
|
std::ostream & | os = std::cout ) |
Definition at line 50 of file XmlStreamer.cxx.
50 :
55 }
58}
std::vector< std::string > m_attributeValues
std::vector< std::string > m_attributeNames
◆ XmlStreamer() [3/4]
| SCT_CalibAlgs::XmlStreamer::XmlStreamer |
( |
const std::string & | name, |
|
|
const std::vector< std::string > & | attributeNames, |
|
|
const std::vector< std::string > & | attributeValues, |
|
|
std::ostream & | os = std::cout ) |
Definition at line 34 of file XmlStreamer.cxx.
34 :
37 for (
unsigned int i{0};
i!=attributeNames.size(); ++
i) {
38 m_os <<
" " << attributeNames[
i] <<
"=\"" << attributeValues[
i] <<
"\"";
39 }
42}
◆ XmlStreamer() [4/4]
| SCT_CalibAlgs::XmlStreamer::XmlStreamer |
( |
const std::string & | name, |
|
|
std::ostream & | os = std::cout ) |
◆ ~XmlStreamer()
| SCT_CalibAlgs::XmlStreamer::~XmlStreamer |
( |
| ) |
|
|
virtual |
◆ value()
template<class T>
| void SCT_CalibAlgs::IElementStreamer::value |
( |
const T & | v | ) |
|
|
inlineinherited |
◆ m_attributeNames
| std::vector<std::string> SCT_CalibAlgs::IElementStreamer::m_attributeNames |
|
protectedinherited |
◆ m_attributeValues
| std::vector<std::string> SCT_CalibAlgs::IElementStreamer::m_attributeValues |
|
protectedinherited |
◆ m_depth
| unsigned int SCT_CalibAlgs::IElementStreamer::m_depth {} |
|
protectedinherited |
◆ m_name
| std::string SCT_CalibAlgs::IElementStreamer::m_name |
|
protectedinherited |
◆ m_nodeId
| unsigned int SCT_CalibAlgs::IElementStreamer::m_nodeId {} |
|
protectedinherited |
◆ m_nodeIndex
| unsigned int SCT_CalibAlgs::IElementStreamer::m_nodeIndex {} |
|
protectedinherited |
◆ m_os
| std::ostream& SCT_CalibAlgs::IElementStreamer::m_os |
|
protectedinherited |
The documentation for this class was generated from the following files: