ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
RootConversions::VectorConverter< T, U > Class Template Reference

Converter for vector<T> to vector. More...

#include <VectorConverter.h>

Inheritance diagram for RootConversions::VectorConverter< T, U >:
Collaboration diagram for RootConversions::VectorConverter< T, U >:

Public Member Functions

 VectorConverter (const char *tname)
 Constructor. More...
 
virtual void operator() (TBuffer &b, void *pmember, Int_t size=0)
 Run the streamer. More...
 

Private Attributes

TClass * m_cl
 Hold the class for vector<double>. More...
 

Detailed Description

template<typename T, typename U>
class RootConversions::VectorConverter< T, U >

Converter for vector<T> to vector.

Definition at line 38 of file VectorConverter.h.

Constructor & Destructor Documentation

◆ VectorConverter()

template<typename T , typename U >
RootConversions::VectorConverter< T, U >::VectorConverter ( const char *  tname)

Constructor.

Parameters
tnameThe name of the vector element type T.

Member Function Documentation

◆ operator()()

template<typename T , typename U >
virtual void RootConversions::VectorConverter< T, U >::operator() ( TBuffer &  b,
void *  pmember,
Int_t  size = 0 
)
virtual

Run the streamer.

Parameters
bBuffer from which to read.
pmemberPointer to the object into which to read.
sizeNumber of instances to read.

Member Data Documentation

◆ m_cl

template<typename T , typename U >
TClass* RootConversions::VectorConverter< T, U >::m_cl
private

Hold the class for vector<double>.

Definition at line 60 of file VectorConverter.h.


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