Loading...
Searching...
No Matches
Union< TAGS, INDEX, BUILDERS >::ToBuffersFunctor Class Reference

Copies and concatenates all the accumulated data in each of the buffers of the builder and its contents to user-defined pointers. More...

#include <LayoutBuilder.h>

Public Member Functions

 ToBuffersFunctor (std::map< std::string, void * > &buffers)
 
template<class CONTENT >
void operator() (CONTENT &content) const
 

Detailed Description

template<typename TAGS, typename INDEX, typename... BUILDERS>
class awkward::LayoutBuilder::Union< TAGS, INDEX, BUILDERS >::ToBuffersFunctor

Copies and concatenates all the accumulated data in each of the buffers of the builder and its contents to user-defined pointers.

Used to fill the buffers map by allocating it with user-defined pointers using the same names and sizes (in bytes) obtained from buffer_nbytes.

Constructor & Destructor Documentation

◆ ToBuffersFunctor()

template<typename TAGS , typename INDEX , typename... BUILDERS>
ToBuffersFunctor ( std::map< std::string, void * > & buffers)
inline

Member Function Documentation

◆ operator()()

template<typename TAGS , typename INDEX , typename... BUILDERS>
template<class CONTENT >
void operator() ( CONTENT & content) const
inline

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