ROOTANA
Data Structures | Macros | Functions | Variables
midasio.h File Reference
#include <string>
#include <vector>
#include <stdint.h>
Include dependency graph for midasio.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  TMBank
 
class  TMEvent
 
class  TMReaderInterface
 
class  TMWriterInterface
 

Macros

#define TID_BYTE   1
 
#define TID_UINT8   1
 
#define TID_SBYTE   2
 
#define TID_INT8   2
 
#define TID_CHAR   3
 
#define TID_WORD   4
 
#define TID_UINT16   4
 
#define TID_SHORT   5
 
#define TID_INT16   5
 
#define TID_DWORD   6
 
#define TID_UINT32   6
 
#define TID_INT   7
 
#define TID_INT32   7
 
#define TID_BOOL   8
 
#define TID_FLOAT   9
 
#define TID_FLOAT32   9
 
#define TID_DOUBLE   10
 
#define TID_FLOAT64   10
 
#define TID_BITFIELD   11
 
#define TID_STRING   12
 
#define TID_ARRAY   13
 
#define TID_STRUCT   14
 
#define TID_KEY   15
 
#define TID_LINK   16
 
#define TID_INT64   17
 
#define TID_UINT64   18
 
#define TID_QWORD   18
 
#define TID_LAST   19
 

Functions

TMReaderInterfaceTMNewReader (const char *source)
 
TMWriterInterfaceTMNewWriter (const char *destination)
 
TMEventTMReadEvent (TMReaderInterface *reader)
 
void TMWriteEvent (TMWriterInterface *writer, const TMEvent *event)
 

Variables

bool TMTraceCtorDtor
 

Macro Definition Documentation

◆ TID_ARRAY

#define TID_ARRAY   13

array with unknown contents

Definition at line 33 of file midasio.h.

◆ TID_BITFIELD

#define TID_BITFIELD   11

32 Bits Bitfield 0 111... (32)

Definition at line 31 of file midasio.h.

◆ TID_BOOL

#define TID_BOOL   8

four bytes bool 0 1

Definition at line 26 of file midasio.h.

◆ TID_BYTE

#define TID_BYTE   1

MIDAS Data Type Definitions min max
DEPRECATED, use TID_UINT8 instead

Definition at line 13 of file midasio.h.

◆ TID_CHAR

#define TID_CHAR   3

single character 0 255

Definition at line 17 of file midasio.h.

◆ TID_DOUBLE

#define TID_DOUBLE   10

8 Byte float format

Definition at line 29 of file midasio.h.

◆ TID_DWORD

#define TID_DWORD   6

DEPRECATED, use TID_UINT32 instead

Definition at line 22 of file midasio.h.

◆ TID_FLOAT

#define TID_FLOAT   9

4 Byte float format

Definition at line 27 of file midasio.h.

◆ TID_FLOAT32

#define TID_FLOAT32   9

4 Byte float format

Definition at line 28 of file midasio.h.

◆ TID_FLOAT64

#define TID_FLOAT64   10

8 Byte float format

Definition at line 30 of file midasio.h.

◆ TID_INT

#define TID_INT   7

DEPRECATED, use TID_INT32 instead

Definition at line 24 of file midasio.h.

◆ TID_INT16

#define TID_INT16   5

signed word -32768 32767

Definition at line 21 of file midasio.h.

◆ TID_INT32

#define TID_INT32   7

signed dword -2^31 2^31-1

Definition at line 25 of file midasio.h.

◆ TID_INT64

#define TID_INT64   17

8 bytes int -2^63 2^63-1

Definition at line 37 of file midasio.h.

◆ TID_INT8

#define TID_INT8   2

signed byte -128 127

Definition at line 16 of file midasio.h.

◆ TID_KEY

#define TID_KEY   15

key in online database

Definition at line 35 of file midasio.h.

◆ TID_LAST

#define TID_LAST   19

end of TID list indicator

Definition at line 40 of file midasio.h.

◆ TID_LINK

#define TID_LINK   16

link in online database

Definition at line 36 of file midasio.h.

◆ TID_QWORD

#define TID_QWORD   18

8 bytes unsigned int 0 2^64-1

Definition at line 39 of file midasio.h.

◆ TID_SBYTE

#define TID_SBYTE   2

DEPRECATED, use TID_INT8 instead

Definition at line 15 of file midasio.h.

◆ TID_SHORT

#define TID_SHORT   5

DEPRECATED, use TID_INT16 instead

Definition at line 20 of file midasio.h.

◆ TID_STRING

#define TID_STRING   12

zero terminated string

Definition at line 32 of file midasio.h.

◆ TID_STRUCT

#define TID_STRUCT   14

structure with fixed length

Definition at line 34 of file midasio.h.

◆ TID_UINT16

#define TID_UINT16   4

two bytes 0 65535

Definition at line 19 of file midasio.h.

◆ TID_UINT32

#define TID_UINT32   6

four bytes 0 2^32-1

Definition at line 23 of file midasio.h.

◆ TID_UINT64

#define TID_UINT64   18

8 bytes unsigned int 0 2^64-1

Definition at line 38 of file midasio.h.

◆ TID_UINT8

#define TID_UINT8   1

unsigned byte 0 255

Definition at line 14 of file midasio.h.

◆ TID_WORD

#define TID_WORD   4

DEPRECATED, use TID_UINT16 instead

Definition at line 18 of file midasio.h.

Function Documentation

◆ TMNewReader()

TMReaderInterface* TMNewReader ( const char *  source)

Definition at line 447 of file midasio.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TMNewWriter()

TMWriterInterface* TMNewWriter ( const char *  destination)

Definition at line 543 of file midasio.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TMReadEvent()

TMEvent* TMReadEvent ( TMReaderInterface reader)

Definition at line 585 of file midasio.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TMWriteEvent()

void TMWriteEvent ( TMWriterInterface writer,
const TMEvent event 
)

Definition at line 651 of file midasio.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ TMTraceCtorDtor

bool TMTraceCtorDtor
extern