DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Static Public Member Functions | List of all members
dd4hep::XMLElementFactory< T > Class Template Reference

Create an arbitrary object from its XML representation. More...

#include <Factories.h>

Inheritance diagram for dd4hep::XMLElementFactory< T >:
dd4hep::PluginFactoryBase

Static Public Member Functions

static Handle< NamedObjectcreate (Detector &description, xml::Handle_t e)
 
- Static Public Member Functions inherited from dd4hep::PluginFactoryBase
template<typename T >
static T * ptr (const T *_p)
 
template<typename T >
static T & ref (const T *_p)
 
template<typename T >
static T val (const T *_p)
 
template<typename T >
static T value (const void *_p)
 
static const char * value (const void *_p)
 
template<>
int value (const void *_p)
 
template<>
long value (const void *_p)
 

Additional Inherited Members

- Public Types inherited from dd4hep::PluginFactoryBase
typedef std::string str_t
 

Detailed Description

template<typename T>
class dd4hep::XMLElementFactory< T >

Create an arbitrary object from its XML representation.

Author
M.Frank
Version
1.0
Date
2012/07/31

Definition at line 127 of file Factories.h.

Member Function Documentation

◆ create()

template<typename T >
static Handle<NamedObject> dd4hep::XMLElementFactory< T >::create ( Detector description,
xml::Handle_t  e 
)
static

The documentation for this class was generated from the following file: