|
srs-control 0.2.2
|
#include <JsonWriter.hpp>

Classes | |
| struct | Bool |
Public Member Functions | |
| Json (const std::string &filename, process::DataConvertOptions convert_mode, std::size_t n_lines=1) | |
| Json (const Json &)=delete | |
| Json (Json &&)=default | |
| Json & | operator= (const Json &)=delete |
| Json & | operator= (Json &&)=default |
| ~Json () | |
| auto | operator() (std::size_t line_number=0) const -> OutputType |
| auto | get_filename () const -> const std::string & |
| auto | run (const OutputTo< InputType > auto &prev_data_converter, std::size_t line_number=0) -> RunResult |
| Public Member Functions inherited from srs::process::SinkTask< DataWriterOption::json, const StructData *, std::size_t > | |
| SinkTask (std::string_view name, DataConvertOptions prev_convert, std::size_t n_lines=1) | |
| Public Member Functions inherited from srs::process::BaseTask< const StructData *, std::size_t > | |
| BaseTask (std::string_view name, DataConvertOptions prev_convert, std::size_t n_lines=1) | |
| ~BaseTask () | |
| 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 |
| void | set_report (AppReport *task_report) |
| auto | run_once (this auto &&self, const OutputTo< InputType > auto &prev_data_converter, std::size_t line_number=0) -> RunResult |
Static Public Attributes | |
| static constexpr auto | IsStructType = true |
| Static Public Attributes inherited from srs::process::SinkTask< DataWriterOption::json, const StructData *, std::size_t > | |
| static constexpr auto | writer_type |
Private Member Functions | |
| void | write_json (const StructData &data_struct, std::size_t line_num) |
Private Attributes | |
| std::vector< Bool > | is_first_item_ |
| std::string | filename_ |
| std::vector< OutputType > | output_data_ |
| std::vector< std::fstream > | file_streams_ |
| std::vector< CompactExportData > | data_buffers_ |
| std::vector< std::string > | string_buffers_ |
Static Private Attributes | |
| static constexpr auto | name_ = std::string_view{} |
Additional Inherited Members | |
| Public Types inherited from srs::process::BaseTask< const StructData *, std::size_t > | |
| using | InputType |
| using | OutputType |
| using | RunResult |
| Protected Member Functions inherited from srs::process::BaseTask< const StructData *, std::size_t > | |
| auto | get_report () -> AppReport * |
Definition at line 47 of file JsonWriter.hpp.
|
explicit |
Definition at line 62 of file JsonWriter.cpp.
|
delete |
|
default |
| srs::sink::Json::~Json | ( | ) |
Definition at line 89 of file JsonWriter.cpp.
|
inlinenodiscard |
Definition at line 70 of file JsonWriter.hpp.
|
inlinenodiscard |
Definition at line 65 of file JsonWriter.hpp.
|
inline |
Definition at line 72 of file JsonWriter.hpp.
|
private |
Definition at line 100 of file JsonWriter.cpp.
|
private |
Definition at line 86 of file JsonWriter.hpp.
|
private |
Definition at line 85 of file JsonWriter.hpp.
|
private |
Definition at line 83 of file JsonWriter.hpp.
|
private |
Definition at line 82 of file JsonWriter.hpp.
|
staticconstexpr |
Definition at line 50 of file JsonWriter.hpp.
|
staticconstexprprivate |
Definition at line 81 of file JsonWriter.hpp.
|
private |
Definition at line 84 of file JsonWriter.hpp.
|
private |
Definition at line 87 of file JsonWriter.hpp.