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 {
33  public:
34 
36 
37  void preProcessElement (const std::string& name, const std::string& nmspace, DDCompactView& cpv ) override;
38  void processElement (const std::string& name, const std::string& nmspace, DDCompactView& cpv ) override;
39 };
40 
41 #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
type of data representation of DDCompactView
Definition: DDCompactView.h:90
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.