ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
graphics
JiveXML
JiveXML
XMLFormatTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef JIVEXML__XMLFORMATTOOL_H
6
#define JIVEXML__XMLFORMATTOOL_H
7
8
#include "
JiveXML/IFormatTool.h
"
9
#include "
AthenaBaseComps/AthAlgTool.h
"
10
11
namespace
JiveXML
{
12
20
21
class
XMLFormatTool
:
virtual
public
IFormatTool
,
public
AthAlgTool
{
22
23
public
:
24
26
XMLFormatTool
(
const
std::string&,
const
std::string&,
const
IInterface*);
27
29
virtual
StatusCode
initialize
()
override
;
30
32
virtual
StatusCode
finalize
()
override
;
33
35
virtual
StatusCode
SetTag
(
const
TagType
tag )
override
;
36
38
virtual
StatusCode
StartEvent
(
const
unsigned
long
EventNumber,
const
unsigned
int
RunNumber,
39
const
std::string& DateTime,
40
const
unsigned
int
lumiBlock,
41
const
std::string& eventProperty,
42
const
std::string& geometryVersion )
override
;
43
45
virtual
StatusCode
EndEvent
()
override
;
46
48
virtual
StatusCode
AddToEvent
(
const
std::string& component,
49
const
std::string& key,
50
const
DataMap
* aMap)
override
;
51
53
virtual
const
std::ostringstream*
getFormattedEvent
()
const override
;
54
55
56
private
:
57
59
std::ostringstream*
m_EventBuffer
;
60
62
std::string
m_release
;
63
64
};
65
66
67
}
//namespace
68
69
#endif
AthAlgTool.h
IFormatTool.h
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
JiveXML::IFormatTool
Abstract interface to event data formatting classes.
Definition
IFormatTool.h:23
JiveXML::XMLFormatTool::EndEvent
virtual StatusCode EndEvent() override
Finialize this event.
Definition
XMLFormatTool.cxx:97
JiveXML::XMLFormatTool::getFormattedEvent
virtual const std::ostringstream * getFormattedEvent() const override
Return the formated stringstream.
Definition
XMLFormatTool.cxx:183
JiveXML::XMLFormatTool::m_release
std::string m_release
the release tag
Definition
XMLFormatTool.h:62
JiveXML::XMLFormatTool::initialize
virtual StatusCode initialize() override
Initialize.
Definition
XMLFormatTool.cxx:26
JiveXML::XMLFormatTool::XMLFormatTool
XMLFormatTool(const std::string &, const std::string &, const IInterface *)
Constructor.
Definition
XMLFormatTool.cxx:13
JiveXML::XMLFormatTool::m_EventBuffer
std::ostringstream * m_EventBuffer
the string buffer that will hold the complete event
Definition
XMLFormatTool.h:59
JiveXML::XMLFormatTool::AddToEvent
virtual StatusCode AddToEvent(const std::string &component, const std::string &key, const DataMap *aMap) override
Append a formatted version of one event component.
Definition
XMLFormatTool.cxx:112
JiveXML::XMLFormatTool::SetTag
virtual StatusCode SetTag(const TagType tag) override
Set additional tags.
Definition
XMLFormatTool.cxx:45
JiveXML::XMLFormatTool::StartEvent
virtual StatusCode StartEvent(const unsigned long EventNumber, const unsigned int RunNumber, const std::string &DateTime, const unsigned int lumiBlock, const std::string &eventProperty, const std::string &geometryVersion) override
Start a new event.
Definition
XMLFormatTool.cxx:60
JiveXML::XMLFormatTool::finalize
virtual StatusCode finalize() override
Finalize.
Definition
XMLFormatTool.cxx:34
JiveXML
This header is shared inbetween the C-style server thread and the C++ Athena ServerSvc.
Definition
BadLArRetriever.cxx:22
JiveXML::DataMap
std::map< std::string, DataVect > DataMap
Definition
DataType.h:59
JiveXML::TagType
std::pair< std::string, std::string > TagType
Defines a tag as a pair of strings.
Definition
DataType.h:62
Generated on
for ATLAS Offline Software by
1.17.0