Format::Converter

NAME

Converter.pm - An abstract class for converting one text format to another.

FUNCTIONS

defaultRexchangeTemplate

Defines the default REXCHANGE template, might be overwritten using "setRexchangeTemplate", and is used in "getRexchange".

setRexchangeTemplate

Sets (overwrites the default) REXCHANGE template. Variables in curly braces (such as {station}, or channel) will be expanded when calling "getRexchange".

getRexchange

Returns the REXCHANGE (i.e., exchange number) for the given variables given as HASHREF. By convention we use station for a (numeric or alphanumeric) station identifier, channel for numeric channel identifier, parameter for a alphanumeric parameter name, type for a type identification (of the parameter/station).

setExportSeparateFilesPerHeader

Enables export of separate files per converted REXCHANGE, i.e., instead of one destination file, multiple destination files are generated, each containing one ZRXP block.

 Format::Converter