Skip to content
Snippets Groups Projects
Commit aeb2f8f5 authored by Vakhtang Tsulaia's avatar Vakhtang Tsulaia
Browse files

Merge branch 'master-gmx-threading' into 'master'

Synch-ed GeoModelXml with the latest updates in the Athena repository

See merge request !101
parents dede0596 3aa790ad
No related branches found
No related tags found
1 merge request!101Synch-ed GeoModelXml with the latest updates in the Athena repository
Showing
with 40 additions and 40 deletions
/* /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
*/ */
// //
...@@ -28,9 +28,9 @@ class Element2GeoItem { ...@@ -28,9 +28,9 @@ class Element2GeoItem {
public: public:
Element2GeoItem(); Element2GeoItem();
virtual ~Element2GeoItem(); virtual ~Element2GeoItem();
const RCBase * process(const xercesc::DOMElement *element, GmxUtil &gmxUtil); RCBase * process(const xercesc::DOMElement *element, GmxUtil &gmxUtil);
virtual const RCBase * make(const xercesc::DOMElement *element, GmxUtil &gmxUtil) const; virtual RCBase * make(const xercesc::DOMElement *element, GmxUtil &gmxUtil) const;
protected: protected:
std::map<std::string, const RCBase *> m_map; std::map<std::string, RCBase *> m_map;
}; };
#endif // ELEMENT2GEO_ITEM_H #endif // ELEMENT2GEO_ITEM_H
/* /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
*/ */
#include <vector> #include <vector>
#include "GeoModelKernel/GeoGraphNode.h" #include "GeoModelKernel/GeoGraphNode.h"
typedef std::vector<GeoGraphNode *> GeoNodeList; typedef std::vector<GeoGraphNode *> GeoNodeList;
/* /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
*/ */
// //
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
class MakeElement: public Element2GeoItem { class MakeElement: public Element2GeoItem {
public: public:
MakeElement(); MakeElement();
const RCBase * make(const xercesc::DOMElement *element, GmxUtil &gmxUtil) const; virtual RCBase * make(const xercesc::DOMElement *element, GmxUtil &gmxUtil) const override;
}; };
#endif // MAKE_ELEMENT_H #endif // MAKE_ELEMENT_H
/* /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
*/ */
// //
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
class MakeMaterial: public Element2GeoItem { class MakeMaterial: public Element2GeoItem {
public: public:
MakeMaterial(); MakeMaterial();
const RCBase * make(const xercesc::DOMElement *element, GmxUtil &gmxUtil) const; virtual RCBase * make(const xercesc::DOMElement *element, GmxUtil &gmxUtil) const override;
}; };
#endif // MAKE_MATERIAL_H #endif // MAKE_MATERIAL_H
/* /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
*/ */
// //
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
class MakeTransformation: public Element2GeoItem { class MakeTransformation: public Element2GeoItem {
public: public:
MakeTransformation(); MakeTransformation();
const RCBase * make(const xercesc::DOMElement *element, GmxUtil &gmxUtil) const; virtual RCBase * make(const xercesc::DOMElement *element, GmxUtil &gmxUtil) const override;
}; };
#endif // MAKE_TRANSFORMATION_H #endif // MAKE_TRANSFORMATION_H
/* /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
*/ */
// //
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
class MakeTransformationref: public Element2GeoItem { class MakeTransformationref: public Element2GeoItem {
public: public:
const RCBase * make(const xercesc::DOMElement *element, GmxUtil &gmxUtil) const; virtual RCBase * make(const xercesc::DOMElement *element, GmxUtil &gmxUtil) const override;
}; };
#endif // MAKE_TRANSFORMATIONREF_H #endif // MAKE_TRANSFORMATIONREF_H
/* /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
*/ */
// //
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
class MakeBox: public Element2GeoItem { class MakeBox: public Element2GeoItem {
public: public:
MakeBox(); MakeBox();
const RCBase * make(const xercesc::DOMElement *element, GmxUtil &gmxUtil) const; virtual RCBase * make(const xercesc::DOMElement *element, GmxUtil &gmxUtil) const override;
}; };
#endif // GEO_MODEL_XML_MAKE_BOX_H #endif // GEO_MODEL_XML_MAKE_BOX_H
/* /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
*/ */
// //
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
class MakeCons: public Element2GeoItem { class MakeCons: public Element2GeoItem {
public: public:
MakeCons(); MakeCons();
const RCBase * make(const xercesc::DOMElement *element, GmxUtil &gmxUtil) const; virtual RCBase * make(const xercesc::DOMElement *element, GmxUtil &gmxUtil) const override;
}; };
#endif // GEO_MODEL_XML_MAKE_CONS_H #endif // GEO_MODEL_XML_MAKE_CONS_H
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
class MakeEllipticalTube: public Element2GeoItem { class MakeEllipticalTube: public Element2GeoItem {
public: public:
MakeEllipticalTube(); MakeEllipticalTube();
const RCBase * make(const xercesc::DOMElement *element, GmxUtil &gmxUtil) const; virtual RCBase * make(const xercesc::DOMElement *element, GmxUtil &gmxUtil) const override;
}; };
#endif // GEO_MODEL_XML_MAKE_ELLIPTICAL_TUBE_H #endif // GEO_MODEL_XML_MAKE_ELLIPTICAL_TUBE_H
/* /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
*/ */
// //
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
class MakeGenericTrap: public Element2GeoItem { class MakeGenericTrap: public Element2GeoItem {
public: public:
MakeGenericTrap(); MakeGenericTrap();
const RCBase * make(const xercesc::DOMElement *element, GmxUtil &gmxUtil) const; virtual RCBase * make(const xercesc::DOMElement *element, GmxUtil &gmxUtil) const override;
}; };
#endif // GEO_MODEL_XML_MAKE_GENERICTRAP_H #endif // GEO_MODEL_XML_MAKE_GENERICTRAP_H
/* /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
*/ */
// //
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
class MakeIntersection: public Element2GeoItem { class MakeIntersection: public Element2GeoItem {
public: public:
MakeIntersection(); MakeIntersection();
const RCBase * make(const xercesc::DOMElement *element, GmxUtil &gmxUtil) const; virtual RCBase * make(const xercesc::DOMElement *element, GmxUtil &gmxUtil) const override;
}; };
#endif // GEO_MODEL_XML_MAKE_INTERSECTION_H #endif // GEO_MODEL_XML_MAKE_INTERSECTION_H
/* /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
*/ */
// //
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
class MakePara: public Element2GeoItem { class MakePara: public Element2GeoItem {
public: public:
MakePara(); MakePara();
const RCBase * make(const xercesc::DOMElement *element, GmxUtil &gmxUtil) const; virtual RCBase * make(const xercesc::DOMElement *element, GmxUtil &gmxUtil) const override;
}; };
#endif // GEO_MODEL_XML_MAKE_PARA_H #endif // GEO_MODEL_XML_MAKE_PARA_H
/* /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
*/ */
// //
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
class MakePcon: public Element2GeoItem { class MakePcon: public Element2GeoItem {
public: public:
MakePcon(); MakePcon();
const RCBase * make(const xercesc::DOMElement *element, GmxUtil &gmxUtil) const; virtual RCBase * make(const xercesc::DOMElement *element, GmxUtil &gmxUtil) const override;
}; };
#endif // GEO_MODEL_XML_MAKE_PCON_H #endif // GEO_MODEL_XML_MAKE_PCON_H
/* /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
*/ */
// //
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
class MakePgon: public Element2GeoItem { class MakePgon: public Element2GeoItem {
public: public:
MakePgon(); MakePgon();
const RCBase * make(const xercesc::DOMElement *element, GmxUtil &gmxUtil) const; virtual RCBase * make(const xercesc::DOMElement *element, GmxUtil &gmxUtil) const override;
}; };
#endif // GEO_MODEL_XML_MAKE_PGON_H #endif // GEO_MODEL_XML_MAKE_PGON_H
/* /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
*/ */
// //
...@@ -14,8 +14,7 @@ ...@@ -14,8 +14,7 @@
class MakeShaperef: public Element2GeoItem { class MakeShaperef: public Element2GeoItem {
public: public:
// MakeShaperef() {}; RCBase * process(const xercesc::DOMElement *element, GmxUtil &gmxUtil) const;
const RCBase * process(const xercesc::DOMElement *element, GmxUtil &gmxUtil) const;
}; };
#endif // GEO_MODEL_XML_MAKE_SHAPEREF_H #endif // GEO_MODEL_XML_MAKE_SHAPEREF_H
/* /*
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
*/ */
#include <xercesc/util/XercesDefs.hpp> #include <xercesc/util/XercesDefs.hpp>
// //
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
class MakeSimplePolygonBrep: public Element2GeoItem { class MakeSimplePolygonBrep: public Element2GeoItem {
public: public:
MakeSimplePolygonBrep(); MakeSimplePolygonBrep();
const RCBase * make(const xercesc::DOMElement *element, GmxUtil &gmxUtil) const; virtual RCBase * make(const xercesc::DOMElement *element, GmxUtil &gmxUtil) const override;
}; };
#endif // GEO_MODEL_XML_MAKE_SIMPLEPOLYGONBREP_H #endif // GEO_MODEL_XML_MAKE_SIMPLEPOLYGONBREP_H
/* /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
*/ */
// //
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
class MakeSubtraction: public Element2GeoItem { class MakeSubtraction: public Element2GeoItem {
public: public:
MakeSubtraction(); MakeSubtraction();
const RCBase * make(const xercesc::DOMElement *element, GmxUtil &gmxUtil) const; virtual RCBase * make(const xercesc::DOMElement *element, GmxUtil &gmxUtil) const override;
}; };
#endif // GEO_MODEL_XML_MAKE_SUBTRACTION_H #endif // GEO_MODEL_XML_MAKE_SUBTRACTION_H
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
class MakeTorus: public Element2GeoItem { class MakeTorus: public Element2GeoItem {
public: public:
MakeTorus(); MakeTorus();
const RCBase * make(const xercesc::DOMElement *element, GmxUtil &gmxUtil) const; virtual RCBase * make(const xercesc::DOMElement *element, GmxUtil &gmxUtil) const override;
}; };
#endif // GEO_MODEL_XML_MAKE_TORUS_H #endif // GEO_MODEL_XML_MAKE_TORUS_H
/* /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
*/ */
// //
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
class MakeTrap: public Element2GeoItem { class MakeTrap: public Element2GeoItem {
public: public:
MakeTrap(); MakeTrap();
const RCBase * make(const xercesc::DOMElement *element, GmxUtil &gmxUtil) const; virtual RCBase * make(const xercesc::DOMElement *element, GmxUtil &gmxUtil) const override;
}; };
#endif // GEO_MODEL_XML_MAKE_TRAP_H #endif // GEO_MODEL_XML_MAKE_TRAP_H
/* /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
*/ */
// //
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
class MakeTrd: public Element2GeoItem { class MakeTrd: public Element2GeoItem {
public: public:
MakeTrd(); MakeTrd();
const RCBase * make(const xercesc::DOMElement *element, GmxUtil &gmxUtil) const; virtual RCBase * make(const xercesc::DOMElement *element, GmxUtil &gmxUtil) const override;
}; };
#endif // GEO_MODEL_XML_MAKE_TRD_H #endif // GEO_MODEL_XML_MAKE_TRD_H
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment