|
SRS-control 0.1.4
|
#include <StructSerializer.hpp>

Public Member Functions | |
| StructSerializer (size_t n_lines=1) | |
| auto | convert (const StructData *input, std::vector< char > &output) -> std::expected< std::size_t, std::string_view > |
| auto | run (const OutputTo< InputType > auto &prev_data_converter, std::size_t line_number=0) -> RunResult |
| auto | operator() (std::size_t line_number=0) const -> OutputType |
| Public Member Functions inherited from srs::process::ConverterTask< DataConvertOptions::structure, const StructData *, std::string_view > | |
| ConverterTask (std::string_view name, DataConvertOptions prev_convert, std::size_t n_lines=1) | |
| Public Member Functions inherited from srs::process::BaseTask< const StructData *, std::string_view > | |
| BaseTask (std::string_view name, DataConvertOptions prev_convert, std::size_t n_lines=1) | |
| auto | get_n_lines () const -> std::size_t |
| auto | get_required_conversion () const -> DataConvertOptions |
| auto | get_name () const -> std::string_view |
| auto | get_name_str () const -> std::string |
Private Attributes | |
| std::vector< std::vector< char > > | output_data_ |
Additional Inherited Members | |
| Public Types inherited from srs::process::BaseTask< const StructData *, std::string_view > | |
| using | InputType |
| using | OutputType |
| using | RunResult |
| Static Public Attributes inherited from srs::process::ConverterTask< DataConvertOptions::structure, const StructData *, std::string_view > | |
| static constexpr auto | converter_type |
Definition at line 14 of file StructSerializer.hpp.
|
explicit |
Definition at line 11 of file StructSerializer.cpp.
| auto srs::process::StructSerializer::convert | ( | const StructData * | input, |
| std::vector< char > & | output )->std::expected< std::size_t, std::string_view > |
Definition at line 18 of file StructSerializer.cpp.
|
inlinenodiscard |
Definition at line 28 of file StructSerializer.hpp.
|
inline |
Definition at line 22 of file StructSerializer.hpp.
|
private |
Definition at line 34 of file StructSerializer.hpp.