ATLAS Offline Software
Loading...
Searching...
No Matches
InnerDetector
InDetCalibAlgs
SCT_CalibAlgs
src
XmlHeader.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
11
12
#include "
XmlHeader.h
"
13
#include <ostream>
14
15
namespace
SCT_CalibAlgs
{
16
XmlHeader::XmlHeader
(std::ostream& output):
m_os
(output) {
17
m_os
<<
"<?xml version=\"1.0\" encoding=\"UTF-8\"?> \n"
;
18
}
19
20
void
21
XmlHeader::addStylesheet
(
const
std::string& stylesheetPath) {
22
m_os
<< std::string{
"<?xml-stylesheet type=\"text/xsl\" href=\""
} + stylesheetPath + std::string{
"\"?>\n"
};
23
}
24
25
}
XmlHeader.h
header file for the XmlHeader class
SCT_CalibAlgs::XmlHeader::XmlHeader
XmlHeader(std::ostream &output)
Definition
XmlHeader.cxx:16
SCT_CalibAlgs::XmlHeader::m_os
std::ostream & m_os
Definition
XmlHeader.h:24
SCT_CalibAlgs::XmlHeader::addStylesheet
void addStylesheet(const std::string &stylesheetPath)
Definition
XmlHeader.cxx:21
SCT_CalibAlgs
Definition
IElementStreamer.cxx:13
Generated on
for ATLAS Offline Software by
1.14.0