CMS 3D CMS Logo

Public Types | Public Member Functions | Private Attributes

lhef::XMLInputSourceWrapper< T > Class Template Reference

#include <XMLUtils.h>

List of all members.

Public Types

typedef T::Stream_t Stream_t

Public Member Functions

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

Private Attributes

std::auto_ptr< Stream_tobj

Detailed Description

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

Definition at line 110 of file XMLUtils.h.


Member Typedef Documentation

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

Definition at line 113 of file XMLUtils.h.


Constructor & Destructor Documentation

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

Definition at line 115 of file XMLUtils.h.

: obj(obj) {}
template<typename T >
virtual lhef::XMLInputSourceWrapper< T >::~XMLInputSourceWrapper ( ) [inline, virtual]

Definition at line 116 of file XMLUtils.h.

{}

Member Function Documentation

template<typename T >
virtual XERCES_CPP_NAMESPACE_QUALIFIER BinInputStream* lhef::XMLInputSourceWrapper< T >::makeStream ( ) const [inline, virtual]

Definition at line 118 of file XMLUtils.h.

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

        { return new T(*obj); }

Member Data Documentation

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

Definition at line 122 of file XMLUtils.h.

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