CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Attributes
lhef::XMLInputSourceWrapper< T > Class Template Reference

#include <XMLUtils.h>

Inheritance diagram for lhef::XMLInputSourceWrapper< T >:

Public Types

typedef T::Stream_t Stream_t
 

Public Member Functions

XERCES_CPP_NAMESPACE_QUALIFIER BinInputStream * makeStream () const override
 
 XMLInputSourceWrapper (std::unique_ptr< Stream_t > &obj)
 
 ~XMLInputSourceWrapper () override
 

Private Attributes

std::unique_ptr< Stream_tobj
 

Detailed Description

template<typename T>
class lhef::XMLInputSourceWrapper< T >

Definition at line 104 of file XMLUtils.h.

Member Typedef Documentation

◆ Stream_t

template<typename T >
typedef T::Stream_t lhef::XMLInputSourceWrapper< T >::Stream_t

Definition at line 106 of file XMLUtils.h.

Constructor & Destructor Documentation

◆ XMLInputSourceWrapper()

template<typename T >
lhef::XMLInputSourceWrapper< T >::XMLInputSourceWrapper ( std::unique_ptr< Stream_t > &  obj)
inline

Definition at line 108 of file XMLUtils.h.

108 : obj(std::move(obj)) {}

◆ ~XMLInputSourceWrapper()

template<typename T >
lhef::XMLInputSourceWrapper< T >::~XMLInputSourceWrapper ( )
inlineoverride

Definition at line 109 of file XMLUtils.h.

109 {}

Member Function Documentation

◆ makeStream()

template<typename T >
XERCES_CPP_NAMESPACE_QUALIFIER BinInputStream* lhef::XMLInputSourceWrapper< T >::makeStream ( ) const
inlineoverride

Definition at line 111 of file XMLUtils.h.

111 { return new T(*obj); }

References lhef::XMLInputSourceWrapper< T >::obj.

Member Data Documentation

◆ obj

template<typename T >
std::unique_ptr<Stream_t> lhef::XMLInputSourceWrapper< T >::obj
private

Definition at line 114 of file XMLUtils.h.

Referenced by lhef::XMLInputSourceWrapper< T >::makeStream().

eostools.move
def move(src, dest)
Definition: eostools.py:511
T
long double T
Definition: Basic3DVectorLD.h:48
lhef::XMLInputSourceWrapper::obj
std::unique_ptr< Stream_t > obj
Definition: XMLUtils.h:114