#include <TAuxVectorFactory.h>
Public Member Functions | |
TAuxVectorFactory (::TClass *cl) | |
Constructor, setting up the object based on a dictionary. | |
virtual | ~TAuxVectorFactory () |
Destructor. | |
Functions implementing the SG::IAuxTypeVectorFactory interface | |
virtual SG::IAuxTypeVector * | create (size_t size, size_t capacity) const |
Create a new vector in memory with the requested size and capacity. | |
virtual void | copy (void *dst, size_t dst_index, const void *src, size_t src_index) const |
Copy one element from one location to another. | |
virtual void | swap (void *a, size_t aindex, void *b, size_t bindex) const |
Swap the payload of two elements in memory. | |
virtual void | clear (void *dst, size_t dst_index) const |
Clear the payload of a given range inside a vector. | |
virtual size_t | getEltSize () const |
Size of the elements inside the vector type. | |
virtual const std::type_info * | tiVec () const |
Type info of the vector type handled by the factory object. | |
virtual bool | isDynamic () const |
Type of the factory. |
Auxiliary vector factory based on a ROOT dictionary
Factory implementation that creates vectors that can be operated on using ROOT's dictionary for the underlying vector type.
The code is pretty much a copy of what Scott wrote for RootStorageSvc for the offline code.