Builds an EmptyArray which has no content in it. It is used whenever an array's type is not known because it is empty.
More...
#include <LayoutBuilder.h>
Builds an EmptyArray which has no content in it. It is used whenever an array's type is not known because it is empty.
◆ Empty()
Creates a new Empty layout builder.
◆ buffer_nbytes()
void buffer_nbytes |
( |
std::map< std::string, size_t > & | names_nbytes | ) |
const |
|
inlinenoexcept |
◆ clear()
◆ form()
std::string form |
( |
| ) |
const |
|
inlinenoexcept |
Generates a unique description of the builder and its contents in the form of a JSON-like string.
◆ is_valid()
bool is_valid |
( |
std::string & | | ) |
const |
|
inlinenoexcept |
Checks for validity and consistency.
◆ length()
Current length of the content.
◆ parameters()
const std::string & parameters |
( |
| ) |
const |
|
inlinenoexcept |
Parameters for the builder form.
◆ set_id()
◆ set_parameters()
void set_parameters |
( |
std::string | parameter | ) |
|
|
inlinenoexcept |
Sets the form parameters.
◆ to_buffers()
void to_buffers |
( |
std::map< std::string, void * > & | buffers | ) |
const |
|
inlinenoexcept |
◆ to_char_buffers()
void to_char_buffers |
( |
std::map< std::string, uint8_t * > & | buffers | ) |
const |
|
inlinenoexcept |
Copies and concatenates all the accumulated data in the builder to a map of user-allocated buffers.
The map keys and the buffer sizes are obtained from buffer_nbytes
The documentation for this class was generated from the following file: