ATLAS Offline Software
Loading...
Searching...
No Matches
sectionHandler.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
8#include <iostream>
9
10
11sectionHandler::sectionHandler(const std::string& s,
13 : XMLHandler(s, c)
14{
15// std::cout<<"Creating handler for section"<<std::endl;
16}
17
19 xercesc::DOMNode *t)
20{
21 bool res;
22 std::string name = getAttributeAsString(c, t, "name",res);
23 std::string version = getAttributeAsString(c, t, "version",res);
24 std::string date = getAttributeAsString(c, t, "date",res);
25 std::string author = getAttributeAsString(c, t, "author",res);
26 std::string top="";
27 top=getAttributeAsString(c, t, "top_volume",res);
28
29 new AGDDSection(name,version,author,date,top,c.GetSectionStore(),res);
30}
std::pair< std::vector< unsigned int >, bool > res
@ top
XMLHandler(const std::string &n, AGDDController &c)
std::string getAttributeAsString(AGDDController &c, const xercesc::DOMNode *t, const std::string &) const
virtual void ElementHandle(AGDDController &c, xercesc::DOMNode *t) override
sectionHandler(const std::string &, AGDDController &c)
std::string date()
sadly, includes a return at the end
Definition hcg.cxx:58