dm_jsonl_write Interface

public interface dm_jsonl_write

Generic derived type to JSON Lines writer.


Module Procedures

private function jsonl_write_beats(beats, unit) result(rc)

Writes beats to file or standard output.

Arguments

Type IntentOptional Attributes Name
type(beat_type), intent(inout) :: beats(:)

Beat array.

integer, intent(in), optional :: unit

File unit.

Return Value integer

private function jsonl_write_data_points(data_points, unit) result(rc)

Writes data_points to file or standard output.

Arguments

Type IntentOptional Attributes Name
type(dp_type), intent(inout) :: data_points(:)

Data point array.

integer, intent(in), optional :: unit

File unit.

Return Value integer

private function jsonl_write_logs(logs, unit) result(rc)

Writes logs to file or standard output.

Arguments

Type IntentOptional Attributes Name
type(log_type), intent(inout) :: logs(:)

Log array.

integer, intent(in), optional :: unit

File unit.

Return Value integer

private function jsonl_write_nodes(nodes, unit) result(rc)

Writes nodes to file or standard output.

Arguments

Type IntentOptional Attributes Name
type(node_type), intent(inout) :: nodes(:)

Node array.

integer, intent(in), optional :: unit

File unit.

Return Value integer

private function jsonl_write_observs(observs, unit) result(rc)

Writes observations to file or standard output.

Arguments

Type IntentOptional Attributes Name
type(observ_type), intent(inout) :: observs(:)

Observation array.

integer, intent(in), optional :: unit

File unit.

Return Value integer

private function jsonl_write_sensors(sensors, unit) result(rc)

Writes sensors to file or standard output.

Arguments

Type IntentOptional Attributes Name
type(sensor_type), intent(inout) :: sensors(:)

Sensor array.

integer, intent(in), optional :: unit

File unit.

Return Value integer

private function jsonl_write_targets(targets, unit) result(rc)

Writes targets to file or standard output.

Arguments

Type IntentOptional Attributes Name
type(target_type), intent(inout) :: targets(:)

Target array.

integer, intent(in), optional :: unit

File unit.

Return Value integer