CMS 3D CMS Logo

DDLAlgorithm.h
Go to the documentation of this file.
1 #ifndef DDL_ALGORITHM_H
2 #define DDL_ALGORITHM_H
3 
4 #include <string>
5 
6 #include "DDXMLElement.h"
7 
8 class DDCompactView;
10 
12 
25 class DDLAlgorithm final : public DDXMLElement {
26 public:
28 
29  void preProcessElement(const std::string& name, const std::string& nmspace, DDCompactView& cpv) override;
30  void processElement(const std::string& name, const std::string& nmspace, DDCompactView& cpv) override;
31 };
32 
33 #endif
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:81
DDLAlgorithm processes Algorithm elements.
Definition: DDLAlgorithm.h:25
void processElement(const std::string &name, const std::string &nmspace, DDCompactView &cpv) override
Processing the element.
Definition: DDLAlgorithm.cc:24
void preProcessElement(const std::string &name, const std::string &nmspace, DDCompactView &cpv) override
Called by loadAttributes AFTER attributes are loaded.
Definition: DDLAlgorithm.cc:20
This is a base class for processing XML elements in the DDD.
Definition: DDXMLElement.h:48
DDLAlgorithm(DDLElementRegistry *myreg)
Definition: DDLAlgorithm.cc:18
The main class for processing parsed elements.