HIPO  4.3.0
High Performance Output data format for experimental physics
hipo::schemaEntry_t Struct Reference

Describes a single column (entry) within a schema. More...

#include <dictionary.h>

Public Attributes

std::string name
 Column name. More...
 
std::string type
 Type string (e.g. "B", "S", "I", "F", "D", "L"). More...
 
int typeId {}
 Numeric type identifier (see Type). More...
 
int typeSize {}
 Size of the type in bytes. More...
 
int offset {}
 Byte offset of this column within a row. More...
 

Detailed Description

Describes a single column (entry) within a schema.

Each entry stores the column name, its type string, numeric type identifier, the size of that type in bytes, and the byte offset of the column within a row.

Definition at line 40 of file dictionary.h.

Member Data Documentation

◆ name

std::string hipo::schemaEntry_t::name

Column name.

Definition at line 41 of file dictionary.h.

◆ offset

int hipo::schemaEntry_t::offset {}

Byte offset of this column within a row.

Definition at line 45 of file dictionary.h.

◆ type

std::string hipo::schemaEntry_t::type

Type string (e.g. "B", "S", "I", "F", "D", "L").

Definition at line 42 of file dictionary.h.

◆ typeId

int hipo::schemaEntry_t::typeId {}

Numeric type identifier (see Type).

Definition at line 43 of file dictionary.h.

◆ typeSize

int hipo::schemaEntry_t::typeSize {}

Size of the type in bytes.

Definition at line 44 of file dictionary.h.


The documentation for this struct was generated from the following file: