CMS 3D CMS Logo

DDLLogicalPart.h
Go to the documentation of this file.
1 #ifndef DDL_LogicalPart_H
2 #define DDL_LogicalPart_H
3 
4 #include <map>
5 #include <string>
6 
7 #include "DDXMLElement.h"
10 
11 class DDCompactView;
12 class DDLElementRegistry;
13 
15 
34 class DDLLogicalPart final : public DDXMLElement {
35 public:
37 
38  void preProcessElement(const std::string& name, const std::string& nmspace, DDCompactView& cpv) override;
39  void processElement(const std::string& name, const std::string& nmspace, DDCompactView& cpv) override;
40 
41 private:
42  std::map<std::string, DDEnums::Category> catMap_;
43 };
44 
45 #endif
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:81
void processElement(const std::string &name, const std::string &nmspace, DDCompactView &cpv) override
Processing the element.
DDLLogicalPart processes LogicalPart elements.
This is a base class for processing XML elements in the DDD.
Definition: DDXMLElement.h:48
void preProcessElement(const std::string &name, const std::string &nmspace, DDCompactView &cpv) override
Called by loadAttributes AFTER attributes are loaded.
std::map< std::string, DDEnums::Category > catMap_
The main class for processing parsed elements.
DDLLogicalPart(DDLElementRegistry *myreg)