CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DDLShapelessSolid.cc
Go to the documentation of this file.
1 /***************************************************************************
2  DDLShapelessSolid.cc - description
3  -------------------
4  begin : Wed May 15 2002
5  email : case@ucdhep.ucdavis.edu
6  ***************************************************************************/
7 
8 /***************************************************************************
9  * *
10  * DDDParser sub-component of DDD *
11  * *
12  ***************************************************************************/
13 
15 
19 
21  : DDLSolid( myreg )
22 {}
23 
25 {}
26 
27 void
29 {
30  myRegistry_->getElement("rSolid")->clear();
31 }
32 
33 // Upon ending a ShapelessSolid element, call DDCore giving the box name, and dimensions.
34 void
36 {
37  DCOUT_V('P', "DDLShapelessSolid::processElement started");
38 
40 
41  DDLSolid::setReference(nmspace, cpv);
42 
43  DCOUT_V('P', "DDLShapelessSolid::processElement completed");
44 }
DDLElementRegistry * myRegistry_
Definition: DDXMLElement.h:186
void processElement(const std::string &name, const std::string &nmspace, DDCompactView &cpv)
Processing the element.
type of data representation of DDCompactView
Definition: DDCompactView.h:76
void preProcessElement(const std::string &name, const std::string &nmspace, DDCompactView &cpv)
Called by loadAttributes AFTER attributes are loaded.
A DDSolid represents the shape of a part.
Definition: DDSolid.h:35
DDXMLElement * getElement(const std::string &name)
THE most important part. Getting the pointer to a given element type.
#define DCOUT_V(M_v_Y, M_v_S)
Definition: DDdebug.h:54
DDLSolid processes Box elements.
Definition: DDLSolid.h:27
DDLShapelessSolid(DDLElementRegistry *myreg)
Constructor.
static DDSolid shapeless(const DDName &name)
Definition: DDSolid.cc:846
~DDLShapelessSolid(void)
Destructor.
The main class for processing parsed elements.
virtual void clear(void)
clear this element's contents.
Definition: DDXMLElement.cc:61
virtual const DDName getDDName(const std::string &defaultNS, const std::string &attname=std::string("name"), size_t aIndex=0)
Definition: DDXMLElement.cc:86
void setReference(const std::string &nmspace, DDCompactView &cpv)
Definition: DDLSolid.cc:26