DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Data implementation class of the Detector interface. More...
#include <DetectorLoad.h>
Public Member Functions | |
DetectorLoad ()=delete | |
No defautl constructor. More... | |
DetectorLoad (DetectorLoad &©)=delete | |
No move constructor. More... | |
DetectorLoad (const DetectorLoad ©)=default | |
Default copy constructor. More... | |
DetectorLoad (Detector &description) | |
Default constructor (public, if used as a handle) More... | |
virtual | ~DetectorLoad () |
Default destructor. More... | |
DetectorLoad & | operator= (const DetectorLoad ©)=default |
Copy assignment constructor. More... | |
DetectorLoad & | operator= (DetectorLoad &©)=delete |
No move assignment. More... | |
virtual void | processXML (const std::string &fname, xml::UriReader *entity_resolver=0) |
Process XML unit and adopt all data from source structure. More... | |
virtual void | processXML (const xml::Handle_t &base, const std::string &fname, xml::UriReader *entity_resolver=0) |
Process XML unit and adopt all data from source structure. More... | |
virtual void | processXMLString (const char *xmldata) |
Process XML unit and adopt all data from source string in momory. More... | |
virtual void | processXMLString (const char *xmldata, xml::UriReader *entity_resolver) |
Process XML unit and adopt all data from source string in momory. More... | |
virtual void | processXMLElement (const std::string &msg_source, const xml::Handle_t &root) |
Process a given DOM (sub-) tree. More... | |
virtual void | processXMLElement (const xml::Handle_t &root, DetectorBuildType type) |
Process a given DOM (sub-) tree. More... | |
Protected Member Functions | |
DetectorLoad (Detector *description) | |
Default constructor (protected, for sub-classes) More... | |
Protected Attributes | |
Detector * | m_detDesc = 0 |
Reference to the Detector instance. More... | |
Friends | |
class | Detector |
Data implementation class of the Detector interface.
This class is a view on the generic Detector implementation and deals with all issues parsing XML files.
The calls "fromXML" and "fromCompact" in the Detector implementation call this subclass.
Definition at line 44 of file DetectorLoad.h.
|
protected |
Default constructor (protected, for sub-classes)
Definition at line 37 of file DetectorLoad.cpp.
|
delete |
No defautl constructor.
|
delete |
No move constructor.
|
default |
Default copy constructor.
DetectorLoad::DetectorLoad | ( | Detector & | description | ) |
Default constructor (public, if used as a handle)
Definition at line 41 of file DetectorLoad.cpp.
|
virtual |
|
default |
Copy assignment constructor.
|
delete |
No move assignment.
|
virtual |
Process XML unit and adopt all data from source structure.
Definition at line 49 of file DetectorLoad.cpp.
|
virtual |
Process XML unit and adopt all data from source structure.
Definition at line 73 of file DetectorLoad.cpp.
|
virtual |
Process a given DOM (sub-) tree.
Definition at line 129 of file DetectorLoad.cpp.
|
virtual |
Process a given DOM (sub-) tree.
Definition at line 153 of file DetectorLoad.cpp.
|
virtual |
Process XML unit and adopt all data from source string in momory.
Definition at line 98 of file DetectorLoad.cpp.
|
virtual |
Process XML unit and adopt all data from source string in momory.
Process XML unit and adopt all data from source string in momory. Subsequent parsers may use the entity resolver.
Subsequent parsers may use the entity resolver.
Definition at line 103 of file DetectorLoad.cpp.
|
friend |
Definition at line 46 of file DetectorLoad.h.
|
protected |
Reference to the Detector instance.
Definition at line 50 of file DetectorLoad.h.