ATLAS Offline Software
Loading...
Searching...
No Matches
gvxy_pointHandler.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
13 : XMLHandler(s, c),
14 m_point (0, 0)
15{
16// std::cout<<"Creating handler for gvxy_point"<<std::endl;
17}
18
20 xercesc::DOMNode *t)
21{
22 std::vector<double> vvv=getAttributeAsVector(c, t, "X_Y");
23 m_point.x(vvv[0]);
24 m_point.y(vvv[1]);
25}
std::vector< double > getAttributeAsVector(AGDDController &c, const xercesc::DOMNode *t, const std::string &) const
XMLHandler(const std::string &n, AGDDController &c)
gvxy_pointHandler(const std::string &, AGDDController &c)
virtual void ElementHandle(AGDDController &c, xercesc::DOMNode *t) override