I_BA_KeyValueFileReader

Interface for reading key-value pairs.

Syntax

INTERFACE I_BA_KeyValueFileReader
  PROPERTY BufferReady : BOOL (Read)
  PROPERTY Records : UDINT (Read)
  METHOD ReadKey
  METHOD ReadValue
  METHOD SkipValue
END_INTERFACE

I_BA_KeyValueFileReader 1: Properties

Name

Type

Access

Definition location

Description

BufferReady

BOOL

Get

Local

Indicates whether the read buffer is ready.

Records

UDINT

Get

Local

Number of records read from the current document so far.

I_BA_KeyValueFileReader 2: Methods

Name

Description

ReadKey

Reads the next key.

ReadValue

Reads the next value.

SkipValue

Ignores or skips the next value.