dm_json_write Interface

public interface dm_json_write

Generic derived type to JSON writer.


Module Procedures

private function json_write_beat(beat, unit) result(rc)

Writes beat to file or standard output.

Arguments

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

Beat type.

integer, intent(in), optional :: unit

File unit.

Return Value integer

private function json_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 json_write_data_point(data_point, unit) result(rc)

Writes data point to file or standard output.

Arguments

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

Data point type.

integer, intent(in), optional :: unit

File unit.

Return Value integer

private function json_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 json_write_log(log, unit) result(rc)

Writes log to file or standard output.

Arguments

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

Log type.

integer, intent(in), optional :: unit

File unit.

Return Value integer

private function json_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 json_write_node(node, unit) result(rc)

Writes node to file or standard output.

Arguments

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

Node type.

integer, intent(in), optional :: unit

File unit.

Return Value integer

private function json_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 json_write_observ(observ, unit) result(rc)

Writes observation to file or standard output.

Arguments

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

Observation type.

integer, intent(in), optional :: unit

File unit.

Return Value integer

private function json_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 json_write_sensor(sensor, unit) result(rc)

Writes sensor to file or standard output.

Arguments

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

Sensor type.

integer, intent(in), optional :: unit

File unit.

Return Value integer

private function json_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 json_write_target(target, unit) result(rc)

Writes target to file or standard output.

Arguments

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

Target type.

integer, intent(in), optional :: unit

File unit.

Return Value integer

private function json_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