CMS 3D CMS Logo

DDLShapelessSolid.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
void preProcessElement(const std::string &name, const std::string &nmspace, DDCompactView &cpv) override
Called by loadAttributes AFTER attributes are loaded.
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.
DDLSolid processes Box elements.
Definition: DDLSolid.h:30
DDLShapelessSolid(DDLElementRegistry *myreg)
static DDSolid shapeless(const DDName &name)
Definition: DDSolid.cc:702
void processElement(const std::string &name, const std::string &nmspace, DDCompactView &cpv) override
Processing the element.
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