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::auto_ptr< Stream_t > &obj)
 
 ~XMLInputSourceWrapper () override
 

Private Attributes

std::auto_ptr< Stream_tobj
 

Detailed Description

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

Definition at line 114 of file XMLUtils.h.

Member Typedef Documentation

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

Definition at line 117 of file XMLUtils.h.

Constructor & Destructor Documentation

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

Definition at line 119 of file XMLUtils.h.

119 : obj(obj) {}
std::auto_ptr< Stream_t > obj
Definition: XMLUtils.h:126
template<typename T >
lhef::XMLInputSourceWrapper< T >::~XMLInputSourceWrapper ( )
inlineoverride

Definition at line 120 of file XMLUtils.h.

120 {}

Member Function Documentation

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

Definition at line 122 of file XMLUtils.h.

References GetRecoTauVFromDQM_MC_cff::obj.

123  { return new T(*obj); }
std::auto_ptr< Stream_t > obj
Definition: XMLUtils.h:126
long double T

Member Data Documentation

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

Definition at line 126 of file XMLUtils.h.