3#ifndef AWKWARD_FORMBUILDER_H_
4#define AWKWARD_FORMBUILDER_H_
20 template<
typename T,
typename I>
29 template<
typename T,
typename I>
38 virtual const std::string
43 virtual const std::string
60 virtual const std::string
64 virtual const std::string
68 virtual const std::string
72 virtual const std::string
76 virtual const std::string
81 virtual const std::string
85 virtual const std::string
91 throw std::runtime_error(
92 std::string(
"FormBuilder 'tag' is not implemented yet"));
98 throw std::runtime_error(
99 std::string(
"FormBuilder 'boolean' is not implemented yet"));
105 throw std::runtime_error(
106 std::string(
"FormBuilder 'int64' is not implemented yet"));
112 throw std::runtime_error(
113 std::string(
"FormBuilder 'float64' is not implemented yet"));
119 throw std::runtime_error(
120 std::string(
"FormBuilder 'complex' is not implemented yet"));
127 throw std::runtime_error(
128 std::string(
"FormBuilder 'bytestring' is not implemented yet"));
135 throw std::runtime_error(
136 std::string(
"FormBuilder 'string' is not implemented yet"));
142 throw std::runtime_error(
143 std::string(
"FormBuilder 'begin_list' is not implemented yet"));
149 throw std::runtime_error(
150 std::string(
"FormBuilder 'end_list' is not implemented yet"));
164 if (!parameters.empty()) {
165 p <<
"\"parameters\": {";
166 for (
auto const &pair: parameters) {
167 p <<
"\"" << pair.first <<
"\": " << pair.second <<
" ";
176 template <
typename T,
typename I>
Abstract class to represent the output of ak.to_buffers. In Python, this would be a dict of NumPy arr...
Definition: Builder.h:20
User interface to the FormBuilder system: the LayoutBuilder is a fixed reference while the FormBuilde...
Definition: LayoutBuilder.h:62
#define LIBAWKWARD_EXPORT_SYMBOL
Definition: common.h:45
std::map< std::string, std::string > Parameters
Definition: util.h:165
Definition: BitMaskedArray.h:15
std::map< std::string, std::shared_ptr< ForthOutputBuffer > > ForthOutputBufferMap
Definition: FormBuilder.h:16
std::shared_ptr< FormBuilder< T, I > > FormBuilderPtr
Definition: FormBuilder.h:177