ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
SCT_CalibAlgs::XmlHeader Class Reference

#include <XmlHeader.h>

Collaboration diagram for SCT_CalibAlgs::XmlHeader:

Public Member Functions

 XmlHeader (std::ostream &output)
 
void addStylesheet (const std::string &stylesheetPath)
 

Private Attributes

std::ostream & m_os
 

Detailed Description

Definition at line 18 of file XmlHeader.h.

Constructor & Destructor Documentation

◆ XmlHeader()

SCT_CalibAlgs::XmlHeader::XmlHeader ( std::ostream &  output)

Definition at line 16 of file XmlHeader.cxx.

16  : m_os(output) {
17  m_os << "<?xml version=\"1.0\" encoding=\"UTF-8\"?> \n";
18 }

Member Function Documentation

◆ addStylesheet()

void SCT_CalibAlgs::XmlHeader::addStylesheet ( const std::string &  stylesheetPath)

Definition at line 21 of file XmlHeader.cxx.

21  {
22  m_os << std::string{"<?xml-stylesheet type=\"text/xsl\" href=\""} + stylesheetPath + std::string{"\"?>\n"};
23 }

Member Data Documentation

◆ m_os

std::ostream& SCT_CalibAlgs::XmlHeader::m_os
private

Definition at line 24 of file XmlHeader.h.


The documentation for this class was generated from the following files:
SCT_CalibAlgs::XmlHeader::m_os
std::ostream & m_os
Definition: XmlHeader.h:24
merge.output
output
Definition: merge.py:17