Loading...
Searching...
No Matches
test_1494-layout-builder.cpp File Reference

Typedefs

using UserDefinedMap = std::map<std::size_t, std::string>
 
template<class PRIMITIVE >
using NumpyBuilder = awkward::LayoutBuilder::Numpy<PRIMITIVE>
 
template<class PRIMITIVE , class BUILDER >
using ListOffsetBuilder = awkward::LayoutBuilder::ListOffset<PRIMITIVE, BUILDER>
 
using EmptyBuilder = awkward::LayoutBuilder::Empty
 
template<class... BUILDERS>
using RecordBuilder = awkward::LayoutBuilder::Record<UserDefinedMap, BUILDERS...>
 
template<std::size_t field_name, class BUILDER >
using RecordField = awkward::LayoutBuilder::Field<field_name, BUILDER>
 
template<class... BUILDERS>
using TupleBuilder = awkward::LayoutBuilder::Tuple<BUILDERS...>
 
template<unsigned SIZE, class BUILDER >
using RegularBuilder = awkward::LayoutBuilder::Regular<SIZE, BUILDER>
 
template<class PRIMITIVE , class BUILDER >
using IndexedBuilder = awkward::LayoutBuilder::Indexed<PRIMITIVE, BUILDER>
 
template<class PRIMITIVE , class BUILDER >
using IndexedOptionBuilder = awkward::LayoutBuilder::IndexedOption<PRIMITIVE, BUILDER>
 
template<class BUILDER >
using UnmaskedBuilder = awkward::LayoutBuilder::Unmasked<BUILDER>
 
template<bool VALID_WHEN, class BUILDER >
using ByteMaskedBuilder = awkward::LayoutBuilder::ByteMasked<VALID_WHEN, BUILDER>
 
template<bool VALID_WHEN, bool LSB_ORDER, class BUILDER >
using BitMaskedBuilder = awkward::LayoutBuilder::BitMasked<VALID_WHEN, LSB_ORDER, BUILDER>
 
template<class... BUILDERS>
using UnionBuilder8_U32 = awkward::LayoutBuilder::Union<int8_t, uint32_t, BUILDERS...>
 
template<class... BUILDERS>
using UnionBuilder8_64 = awkward::LayoutBuilder::Union<int8_t, int64_t, BUILDERS...>
 
template<class PRIMITIVE >
using StringBuilder = awkward::LayoutBuilder::String<PRIMITIVE>
 

Functions

template<class NODE , class PRIMITIVE , class LENGTH >
void dump (std::ostringstream &out, NODE &&node, PRIMITIVE &&ptr, LENGTH &&length)
 
template<class NODE , class PRIMITIVE , class LENGTH , class ... Args>
void dump (std::ostringstream &out, NODE &&node, PRIMITIVE &&ptr, LENGTH &&length, Args &&...args)
 
std::map< std::string, void * > empty_buffers (std::map< std::string, size_t > &names_nbytes)
 
void clear_buffers (std::map< std::string, void * > &buffers)
 
void test_Numpy_bool ()
 
void test_Numpy_int ()
 
void test_Numpy_char ()
 
void test_Numpy_double ()
 
void test_Numpy_complex ()
 
void test_ListOffset ()
 
void test_ListOffset_ListOffset ()
 
void test_Empty ()
 
void test_ListOffset_Empty ()
 
void test_Record ()
 
void test_ListOffset_Record ()
 
void test_Record_Record ()
 
void test_Record_nested ()
 
void test_Tuple_Numpy_ListOffset ()
 
void test_Regular ()
 
void test_Regular_size0 ()
 
void test_Indexed ()
 
void test_IndexedOption ()
 
void test_IndexedOption_Record ()
 
void test_Unmasked ()
 
void test_ByteMasked ()
 
void test_BitMasked ()
 
void test_Union8_U32_Numpy_ListOffset ()
 
void test_Union8_64_ListOffset_Record ()
 
void test_char_form ()
 
void test_string_form ()
 
void test_categorical_form ()
 
void test_string_builder ()
 
void test_list_string_builder ()
 
int main (int, char **)
 

Typedef Documentation

◆ BitMaskedBuilder

template<bool VALID_WHEN, bool LSB_ORDER, class BUILDER >
using BitMaskedBuilder = awkward::LayoutBuilder::BitMasked<VALID_WHEN, LSB_ORDER, BUILDER>

◆ ByteMaskedBuilder

template<bool VALID_WHEN, class BUILDER >
using ByteMaskedBuilder = awkward::LayoutBuilder::ByteMasked<VALID_WHEN, BUILDER>

◆ EmptyBuilder

◆ IndexedBuilder

template<class PRIMITIVE , class BUILDER >
using IndexedBuilder = awkward::LayoutBuilder::Indexed<PRIMITIVE, BUILDER>

◆ IndexedOptionBuilder

template<class PRIMITIVE , class BUILDER >
using IndexedOptionBuilder = awkward::LayoutBuilder::IndexedOption<PRIMITIVE, BUILDER>

◆ ListOffsetBuilder

template<class PRIMITIVE , class BUILDER >
using ListOffsetBuilder = awkward::LayoutBuilder::ListOffset<PRIMITIVE, BUILDER>

◆ NumpyBuilder

template<class PRIMITIVE >
using NumpyBuilder = awkward::LayoutBuilder::Numpy<PRIMITIVE>

◆ RecordBuilder

template<class... BUILDERS>
using RecordBuilder = awkward::LayoutBuilder::Record<UserDefinedMap, BUILDERS...>

◆ RecordField

template<std::size_t field_name, class BUILDER >
using RecordField = awkward::LayoutBuilder::Field<field_name, BUILDER>

◆ RegularBuilder

template<unsigned SIZE, class BUILDER >
using RegularBuilder = awkward::LayoutBuilder::Regular<SIZE, BUILDER>

◆ StringBuilder

template<class PRIMITIVE >
using StringBuilder = awkward::LayoutBuilder::String<PRIMITIVE>

◆ TupleBuilder

template<class... BUILDERS>
using TupleBuilder = awkward::LayoutBuilder::Tuple<BUILDERS...>

◆ UnionBuilder8_64

template<class... BUILDERS>
using UnionBuilder8_64 = awkward::LayoutBuilder::Union<int8_t, int64_t, BUILDERS...>

◆ UnionBuilder8_U32

template<class... BUILDERS>
using UnionBuilder8_U32 = awkward::LayoutBuilder::Union<int8_t, uint32_t, BUILDERS...>

◆ UnmaskedBuilder

template<class BUILDER >
using UnmaskedBuilder = awkward::LayoutBuilder::Unmasked<BUILDER>

◆ UserDefinedMap

using UserDefinedMap = std::map<std::size_t, std::string>

Function Documentation

◆ clear_buffers()

void clear_buffers ( std::map< std::string, void * > & buffers)

◆ dump() [1/2]

template<class NODE , class PRIMITIVE , class LENGTH >
void dump ( std::ostringstream & out,
NODE && node,
PRIMITIVE && ptr,
LENGTH && length )

◆ dump() [2/2]

template<class NODE , class PRIMITIVE , class LENGTH , class ... Args>
void dump ( std::ostringstream & out,
NODE && node,
PRIMITIVE && ptr,
LENGTH && length,
Args &&... args )

◆ empty_buffers()

std::map< std::string, void * > empty_buffers ( std::map< std::string, size_t > & names_nbytes)

◆ main()

int main ( int ,
char **  )

◆ test_BitMasked()

void test_BitMasked ( )

◆ test_ByteMasked()

void test_ByteMasked ( )

◆ test_categorical_form()

void test_categorical_form ( )

◆ test_char_form()

void test_char_form ( )

◆ test_Empty()

void test_Empty ( )

◆ test_Indexed()

void test_Indexed ( )

◆ test_IndexedOption()

void test_IndexedOption ( )

◆ test_IndexedOption_Record()

void test_IndexedOption_Record ( )

◆ test_list_string_builder()

void test_list_string_builder ( )

◆ test_ListOffset()

void test_ListOffset ( )

◆ test_ListOffset_Empty()

void test_ListOffset_Empty ( )

◆ test_ListOffset_ListOffset()

void test_ListOffset_ListOffset ( )

◆ test_ListOffset_Record()

void test_ListOffset_Record ( )

◆ test_Numpy_bool()

void test_Numpy_bool ( )

◆ test_Numpy_char()

void test_Numpy_char ( )

◆ test_Numpy_complex()

void test_Numpy_complex ( )

◆ test_Numpy_double()

void test_Numpy_double ( )

◆ test_Numpy_int()

void test_Numpy_int ( )

◆ test_Record()

void test_Record ( )

◆ test_Record_nested()

void test_Record_nested ( )

◆ test_Record_Record()

void test_Record_Record ( )

◆ test_Regular()

void test_Regular ( )

◆ test_Regular_size0()

void test_Regular_size0 ( )

◆ test_string_builder()

void test_string_builder ( )

◆ test_string_form()

void test_string_form ( )

◆ test_Tuple_Numpy_ListOffset()

void test_Tuple_Numpy_ListOffset ( )

◆ test_Union8_64_ListOffset_Record()

void test_Union8_64_ListOffset_Record ( )

◆ test_Union8_U32_Numpy_ListOffset()

void test_Union8_U32_Numpy_ListOffset ( )

◆ test_Unmasked()

void test_Unmasked ( )