Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

TMidasBanks.h File Reference

#include <Rtypes.h>

Include dependency graph for TMidasBanks.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  EventHeader_t
 Struct for dealing with MIDAS event headers. More...
struct  BankHeader_t
 Struct for dealing with MIDAS bank headers. More...
struct  Bank_t
 Struct for dealing with MIDAS banks. More...
struct  Bank32_t
 Struct for dealing with 32-bit MIDAS banks. More...

Defines

#define QWORD_SWAP(x)
#define DWORD_SWAP(x)
#define WORD_SWAP(x)

Typedefs

typedef UShort_t WORD
typedef ULong_t DWORD
typedef UChar_t BYTE


Define Documentation

#define QWORD_SWAP  ) 
 

Value:

{ BYTE _tmp;       \
_tmp= *((BYTE *)(x));                    \
*((BYTE *)(x)) = *(((BYTE *)(x))+7);     \
*(((BYTE *)(x))+7) = _tmp;               \
_tmp= *(((BYTE *)(x))+1);                \
*(((BYTE *)(x))+1) = *(((BYTE *)(x))+6); \
*(((BYTE *)(x))+6) = _tmp;               \
_tmp= *(((BYTE *)(x))+2);                \
*(((BYTE *)(x))+2) = *(((BYTE *)(x))+5); \
*(((BYTE *)(x))+5) = _tmp;               \
_tmp= *(((BYTE *)(x))+3);                \
*(((BYTE *)(x))+3) = *(((BYTE *)(x))+4); \
*(((BYTE *)(x))+4) = _tmp; }
Byte swapping routine.

Definition at line 101 of file TMidasBanks.h.

#define DWORD_SWAP  ) 
 

Value:

{ BYTE _tmp;       \
_tmp= *((BYTE *)(x));                    \
*((BYTE *)(x)) = *(((BYTE *)(x))+3);     \
*(((BYTE *)(x))+3) = _tmp;               \
_tmp= *(((BYTE *)(x))+1);                \
*(((BYTE *)(x))+1) = *(((BYTE *)(x))+2); \
*(((BYTE *)(x))+2) = _tmp; }
Byte swapping routine.

Definition at line 117 of file TMidasBanks.h.

#define WORD_SWAP  ) 
 

Value:

{ BYTE _tmp;        \
_tmp= *((BYTE *)(x));                    \
*((BYTE *)(x)) = *(((BYTE *)(x))+1);     \
*(((BYTE *)(x))+1) = _tmp; }
Byte swapping routine.

Definition at line 127 of file TMidasBanks.h.


Typedef Documentation

typedef UShort_t WORD
 

Definition at line 15 of file TMidasBanks.h.

typedef ULong_t DWORD
 

Definition at line 16 of file TMidasBanks.h.

typedef UChar_t BYTE
 

Definition at line 17 of file TMidasBanks.h.


Generated on Mon Jan 8 11:54:32 2007 for DragonRoot by  doxygen 1.3.9.1