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 {
36 public:
37 
39 
40  void preProcessElement( const std::string& name, const std::string& nmspace, DDCompactView& cpv ) override;
41  void processElement( const std::string& name, const std::string& nmspace, DDCompactView& cpv ) override;
42 
43 private:
44  std::map <std::string, DDEnums::Category> catMap_;
45 };
46 
47 #endif
48 
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:83
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)