ATLAS Offline Software
Loading...
Searching...
No Matches
addmaterialHandler.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
6
9 : XMLHandler(s, c)
10{
11}
12
14 xercesc::DOMNode *t)
15{
16 m_names.push_back (getAttributeAsString(c, t, "material"));
17}
18
19
20std::vector<std::string> addmaterialHandler::GetNames()
21{
22 std::vector<std::string> v;
23 v.swap (m_names);
24 return v;
25}
XMLHandler(const std::string &n, AGDDController &c)
std::string getAttributeAsString(AGDDController &c, const xercesc::DOMNode *t, const std::string &) const
std::vector< std::string > m_names
addmaterialHandler(const std::string &, AGDDController &c)
std::vector< std::string > GetNames()
virtual void ElementHandle(AGDDController &c, xercesc::DOMNode *t) override