ATLAS Offline Software
Loading...
Searching...
No Matches
arrayHandler.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
7#include <iostream>
8
9
10arrayHandler::arrayHandler(const std::string& s,
12 : XMLHandler(s, c)
13{
14}
15
17 xercesc::DOMNode *t)
18{
19 std::string name=getAttributeAsString(c, t, "name");
20 std::vector<double> value=getAttributeAsVector(c, t, "values");
21 c.Evaluator().RegisterArray(name,value);
22}
std::vector< double > getAttributeAsVector(AGDDController &c, const xercesc::DOMNode *t, const std::string &) const
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
arrayHandler(const std::string &, AGDDController &c)