Loading...
Searching...
No Matches
Field< ENUM, BUILDER > Class Template Reference

Helper class for sending a pair of field names (as enum) and field type as template parameters in Record. More...

#include <LayoutBuilder.h>

Public Types

using Builder = BUILDER
 

Public Member Functions

std::string index_as_field () const
 Converts index as field string.
 

Public Attributes

const std::size_t index = ENUM
 The index of a Record field.
 
Builder builder
 The content type of field in a Record.
 

Detailed Description

template<std::size_t ENUM, typename BUILDER>
class awkward::LayoutBuilder::Field< ENUM, BUILDER >

Helper class for sending a pair of field names (as enum) and field type as template parameters in Record.

Template Parameters
ENUMEnumerated type which assigns index values to field names.
BUILDERThe type of field.

Member Typedef Documentation

◆ Builder

template<std::size_t ENUM, typename BUILDER >
using Builder = BUILDER

Member Function Documentation

◆ index_as_field()

template<std::size_t ENUM, typename BUILDER >
std::string index_as_field ( ) const
inline

Converts index as field string.

Member Data Documentation

◆ builder

template<std::size_t ENUM, typename BUILDER >
Builder builder

The content type of field in a Record.

◆ index

template<std::size_t ENUM, typename BUILDER >
const std::size_t index = ENUM

The index of a Record field.


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