ATLAS Offline Software
aliasHandler.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
9 #include <iostream>
10 
11 
12 aliasHandler::aliasHandler(const std::string& s,
14  : XMLHandler(s, c)
15 {
16 }
17 
19  xercesc::DOMNode *t)
20 {
21  std::string name=getAttributeAsString(c, t, "name");
22  std::string value=getAttributeAsString(c, t, "standsFor");
23  c.GetAliasStore().AddAlias(name,value);
24 }
AGDDController.h
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
aliasHandler::aliasHandler
aliasHandler(const std::string &, AGDDController &c)
Definition: aliasHandler.cxx:12
aliasHandler::ElementHandle
virtual void ElementHandle(AGDDController &c, xercesc::DOMNode *t) override
Definition: aliasHandler.cxx:18
athena.value
value
Definition: athena.py:124
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
XMLHandler.h
AGDDController
Definition: AGDDController.h:30
AliasStore.h
XMLHandler::getAttributeAsString
std::string getAttributeAsString(AGDDController &c, const xercesc::DOMNode *t, const std::string &) const
Definition: XMLHandler.cxx:69
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
XMLHandler
Definition: XMLHandler.h:15
python.compressB64.c
def c
Definition: compressB64.py:93
aliasHandler.h