Definition in file dt_stream_validator.h.
Go to the source code of this file.
Functions | |
dt_writer * | dt_create_validator_writer (dt_writer *delegate) |
Creates a writer that verifies the validity of the dt_step sequence it receives. | |
dt_bool | dt_validator_writer_completed (dt_writer *validator) |
Checks whether validator has received a dt_end step. |
|
Creates a writer that verifies the validity of the dt_step sequence it receives. This writer can be used as a filter, which verifies that an input source (such as a file parser) provides a valid data structure.
Definition at line 27 of file dt_stream_validator.c. |
|
Checks whether validator has received a dt_end step. Because a datatree transmission may be truncated even though it does not contain an error, this function can be called to verify that the transmission was complete and successful.
Definition at line 133 of file dt_stream_validator.c. |