CMS 3D CMS Logo

DDLCompositeMaterial.h
Go to the documentation of this file.
1 #ifndef DDL_CompositeMaterial_H
2 #define DDL_CompositeMaterial_H
3 
4 #include <string>
5 
6 // -------------------------------------------------------------------------
7 // Includes
8 // -------------------------------------------------------------------------
9 #include "DDLMaterial.h"
10 
11 class DDCompactView;
12 class DDLElementRegistry;
13 
15 
31 class DDLCompositeMaterial final : public DDLMaterial {
32 public:
34 
35  void preProcessElement(const std::string& name, const std::string& nmspace, DDCompactView& cpv) override;
36  void processElement(const std::string& name, const std::string& nmspace, DDCompactView& cpv) override;
37 };
38 
39 #endif
void processElement(const std::string &name, const std::string &nmspace, DDCompactView &cpv) override
Processing the element.
DDLMaterial processes Box elements.
Definition: DDLMaterial.h:29
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:81
DDLCompositeMaterial(DDLElementRegistry *myreg)
void preProcessElement(const std::string &name, const std::string &nmspace, DDCompactView &cpv) override
Called by loadAttributes AFTER attributes are loaded.
DDLCompositeMaterial processes all CompositeMaterial elements.
The main class for processing parsed elements.