CMS 3D CMS Logo

DDLAssembly.cc
Go to the documentation of this file.
6 
7 class DDCompactView;
8 
10 
12  myRegistry_->getElement("rSolid")->clear();
13 }
14 
15 // Upon ending a ShapelessSolid element, call DDCore giving the box name, and dimensions.
18 
19  DDLSolid::setReference(nmspace, cpv);
20 }
DDLElementRegistry * myRegistry_
Definition: DDXMLElement.h:173
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:81
A DDSolid represents the shape of a part.
Definition: DDSolid.h:39
std::shared_ptr< DDXMLElement > getElement(const std::string &name)
THE most important part. Getting the pointer to a given element type.
void processElement(const std::string &name, const std::string &nmspace, DDCompactView &cpv) override
Processing the element.
Definition: DDLAssembly.cc:16
DDLAssembly(DDLElementRegistry *myreg)
Definition: DDLAssembly.cc:9
DDLSolid processes Box elements.
Definition: DDLSolid.h:30
static DDSolid shapeless(const DDName &name)
Definition: DDSolid.cc:702
void preProcessElement(const std::string &name, const std::string &nmspace, DDCompactView &cpv) override
Called by loadAttributes AFTER attributes are loaded.
Definition: DDLAssembly.cc:11
The main class for processing parsed elements.
virtual const DDName getDDName(const std::string &defaultNS, const std::string &attname=std::string("name"), size_t aIndex=0)
Definition: DDXMLElement.cc:56
void setReference(const std::string &nmspace, DDCompactView &cpv)
Definition: DDLSolid.cc:13