OM# Documentation

SDIF Structures

OM# provides a the following classes representating elements of the SDIF format structure in visual programs.

SDIFMATRIX

SDIFMATRIX represent an SDIF matrix (!). It has a matrix type (string of 4 characters) and a list of list containing the description data.

SDIFMATRIX is actually a simple CLASS-ARRAY: it is your responsibility to fill it with the right amount of fields, and in the order corresponding to a given type description.

Field names can be set with an optional, “keyword” input. They are optional and used here only for display, since the matrix type already defines them.

SDIFFRAME

SDIFFRAME is a container for one or several SDIFMATRIX instances (connected to the lmatrix input). It has a frame type (string of 4 characters), a stream ID and and a time tag.

SDIFFRAME sequences can be stored and visualized as frames in a DATA-TRACK container.

SDIFTYPE

When creating an SDIF file, every new matrix or frame type must be declared.

SDIFTYPE allows declaring types when writing SDIF files.

SDIFNVT

Name-Value Tables (NVT) are general textual information stored in the SDIF file header, giving all kind of contextual information about the actual contents (author or source of the file, analysis methods and parameters, etc.)

SDIFNVT objects are used to read or write NVTs in SDIF files.