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 {
27  public:
28 
30 
31  void preProcessElement( const std::string& name, const std::string& nmspace, DDCompactView& cpv ) override;
32  void processElement( const std::string& name, const std::string& nmspace, DDCompactView& cpv ) override;
33 };
34 
35 #endif
36 
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:80
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:29
void preProcessElement(const std::string &name, const std::string &nmspace, DDCompactView &cpv) override
Called by loadAttributes AFTER attributes are loaded.
Definition: DDLAlgorithm.cc:23
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.