ATLAS Offline Software
DetectorDescription
AGDD
AGDDHandlers
src
versionHandler.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
AGDDHandlers/versionHandler.h
"
6
7
#include <iostream>
8
9
versionHandler::versionHandler
(
const
std::string&
s
,
10
AGDDController
&
c
)
11
:
XMLHandler
(
s
,
c
)
12
{
13
}
14
15
void
versionHandler::ElementHandle
(
AGDDController
&
c
,
16
xercesc::DOMNode *
t
)
17
{
18
bool
bres;
19
std::string
fileName
=
getAttributeAsString
(
c
,
t
,
"filename"
);
20
std::string
version
=
getAttributeAsString
(
c
,
t
,
"version"
);
21
std::string
comment
=
getAttributeAsString
(
c
,
t
,
"comment"
,bres);
22
std::cout<<
" ---> File being parsed: "
<<
fileName
<<
" version: "
<<
version
;
23
if
(bres) std::cout<<
" comment: "
<<
comment
;
24
std::cout<<std::endl;
25
}
python.SystemOfUnits.s
int s
Definition:
SystemOfUnits.py:131
versionHandler::versionHandler
versionHandler(const std::string &, AGDDController &c)
Definition:
versionHandler.cxx:9
read_hist_ntuple.t
t
Definition:
read_hist_ntuple.py:5
AGDDController
Definition:
AGDDController.h:30
FortranAlgorithmOptions.fileName
fileName
Definition:
FortranAlgorithmOptions.py:13
versionHandler.h
XMLHandler::getAttributeAsString
std::string getAttributeAsString(AGDDController &c, const xercesc::DOMNode *t, const std::string &) const
Definition:
XMLHandler.cxx:69
CaloCondBlobAlgs_fillNoiseFromASCII.comment
string comment
Definition:
CaloCondBlobAlgs_fillNoiseFromASCII.py:27
versionHandler::ElementHandle
virtual void ElementHandle(AGDDController &c, xercesc::DOMNode *t) override
Definition:
versionHandler.cxx:15
XMLHandler
Definition:
XMLHandler.h:15
get_generator_info.version
version
Definition:
get_generator_info.py:33
python.compressB64.c
def c
Definition:
compressB64.py:93
Generated on Thu Nov 7 2024 21:31:24 for ATLAS Offline Software by
1.8.18