FLCREC-API FLUC Record Interface

Macros
TAB
Element types

Table element types (see: FLMMAT_TYP_TABELM) More...

## Macros
#define | FLMELM_TYPTAB_NONE 0
| No element type. More...
#define | FLMELM_TYPTAB_FLAG_NULLID 0x00010000
| Flag for null indication. More...
#define | FLMELM_TYPTAB_FLAG_EMPTID 0x00020000
| Flag for empty indication. More...
#define | FLMELM_TYPTAB_BINARY 0x00000001
| Binary element type. More...
#define | FLMELM_TYPTAB_STRING 0x00000002
| String element type. More...
#define | FLMELM_TYPTAB_INTEGER 0x00000003
| Integer element type. More...
#define | FLMELM_TYPTAB_FLOAT 0x00000004
| Float element type. More...
#define | FLMELM_TYPTAB_HEADER 0x0000000A
| Column name element type. More...

## Detailed Description

Table element types (see: FLMMAT_TYP_TABELM)

A table matrix consists of a number of different element types of which each reflects the data type of the column. Additional bits in the second byte are used for different kind of attributes (e.g. tag of an TLV). The attribute length are encoded in the high oder 2 bytes\0.

## Macro Definition Documentation

## ◆ FLMELM_TYPTAB_NONE

#define FLMELM_TYPTAB_NONE 0

No element type.

This element type contains elements which are only parsed from a row. There is no data type defined, it is simply a part (blob) from a row. This element type is handled like a binary element at write.

Attention: The net data of table element list are only consists of such elements.

## ◆ FLMELM_TYPTAB_FLAG_NULLID

#define FLMELM_TYPTAB_FLAG_NULLID 0x00010000

Flag for null indication.

This flag are add to each data type to indicate a default value for an optional item that was not part of the data.

## ◆ FLMELM_TYPTAB_FLAG_EMPTID

#define FLMELM_TYPTAB_FLAG_EMPTID 0x00020000

Flag for empty indication.

This flag are add to each data type to indicate a default value for an empty data item (e.g. a integer string of length 0 replaced by a default value (e.g. 0)).

## ◆ FLMELM_TYPTAB_BINARY

#define FLMELM_TYPTAB_BINARY 0x00000001

Binary element type.

A binary data type is a black box for each kind of data in a certain length. The external representation can be different encodings. Internally representation if always the binary form.

## ◆ FLMELM_TYPTAB_STRING

#define FLMELM_TYPTAB_STRING 0x00000002

String element type.

A string data type is a character array in a certain length. The external representation can be in different encodings (character sets). The internal representation if always Unicode in UTF-8.

## ◆ FLMELM_TYPTAB_INTEGER

#define FLMELM_TYPTAB_INTEGER 0x00000003

Integer element type.

A integer data type is a byte array in a certain length. The external representation can be in different encodings (two's complement, BCD, string). The internal representation is a hidden complex data structure (black box).

## ◆ FLMELM_TYPTAB_FLOAT

#define FLMELM_TYPTAB_FLOAT 0x00000004

Float element type.

A float data type is a byte array in a certain length. The external representation can be in different encodings (IEEE, BCD, string). The internal representation is a hidden complex data structure (black box).

## ◆ FLMELM_TYPTAB_HEADER

#define FLMELM_TYPTAB_HEADER 0x0000000A

Column name element type.

This is a special element type to detect a table header in a element list of tables. Each table starts with a CLP string containing the table name and a list of column names. The names can have optional different kind of path variants preceded to support XML and other hierarchical data formats. And the name can be appended optional the DTL for this column in parenthesis.