CMS 3D CMS Logo

DDLString.h
Go to the documentation of this file.
1 #ifndef DDL_String_H
2 #define DDL_String_H
3 
4 #include <map>
5 #include <string>
6 #include <vector>
7 
8 #include "DDXMLElement.h"
11 
12 class DDCompactView;
13 class DDLElementRegistry;
14 
16 
26 class DDLString final : public DDXMLElement
27 {
28 public:
29 
30  DDLString( DDLElementRegistry* myreg );
31 
32  void preProcessElement( const std::string& name, const std::string& nmspace, DDCompactView& cpv ) override;
33  void processElement( const std::string& name, const std::string& nmspace, DDCompactView& cpv ) override;
34 };
35 
36 #endif
DDLString handles String Elements.
Definition: DDLString.h:26
void processElement(const std::string &name, const std::string &nmspace, DDCompactView &cpv) override
Processing the element.
Definition: DDLString.cc:21
type of data representation of DDCompactView
Definition: DDCompactView.h:90
void preProcessElement(const std::string &name, const std::string &nmspace, DDCompactView &cpv) override
Called by loadAttributes AFTER attributes are loaded.
Definition: DDLString.cc:17
DDLString(DDLElementRegistry *myreg)
Definition: DDLString.cc:12
This is a base class for processing XML elements in the DDD.
Definition: DDXMLElement.h:48
The main class for processing parsed elements.