openPMD-api
 
Loading...
Searching...
No Matches
openPMD::auxiliary::StringMatrix Struct Reference

Multiple variable-length strings represented in one single buffer with a fixed line width. More...

#include <Mpi.hpp>

Public Attributes

std::vector< char > char_buffer
 
size_t line_length = 0
 
size_t num_lines = 0
 

Detailed Description

Multiple variable-length strings represented in one single buffer with a fixed line width.

Strings smaller than the maximum width are padded with zeros. Each line is zero-terminated with at least one zero character. The length of char_buffer should be equal to the product of line_length and num_lines.


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