EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FairDbBinaryFile.cxx File Reference
#include <iostream>
#include "TClass.h"
#include "TObject.h"
#include "TSystem.h"
#include "FairDbBinaryFile.h"
#include "FairDbTableRow.h"
#include "ValRange.h"
#include "ValTimeStamp.h"
+ Include dependency graph for FairDbBinaryFile.cxx:

Go to the source code of this file.

Macros

#define READ_BUILTIN(t)
 
#define WRITE_BUILTIN(t)
 
#define READ_SIMPLE(t)
 
#define WRITE_SIMPLE(t)
 

Enumerations

enum  Markers { StartMarker = 0xaabbccdd, EndMarker = 0xddbbccaa }
 

Functions

void * GetVTptr (const void *obj)
 
void SetVTptr (void *obj, const void *vt)
 

Macro Definition Documentation

#define READ_BUILTIN (   t)
Value:
UInt_t numBytes = sizeof(v); \
char* bytes = reinterpret_cast<char*>(&v); \
this->Read(bytes,numBytes); \
return *this; \
}

Definition at line 86 of file FairDbBinaryFile.cxx.

View newest version in sPHENIX GitHub at line 86 of file FairDbBinaryFile.cxx

#define READ_SIMPLE (   t)
Value:
void* vt = GetVTptr(&v); \
UInt_t numBytes = sizeof(v); \
char* bytes = reinterpret_cast<char*>(&v); \
this->Read(bytes,numBytes); \
SetVTptr(&v,vt); \
return *this; \
}

Definition at line 114 of file FairDbBinaryFile.cxx.

View newest version in sPHENIX GitHub at line 114 of file FairDbBinaryFile.cxx

#define WRITE_BUILTIN (   t)
Value:
UInt_t numBytes = sizeof(v); \
const char* bytes = reinterpret_cast<const char*>(&v); \
this->Write(bytes,numBytes); \
return *this; \
}

Definition at line 94 of file FairDbBinaryFile.cxx.

View newest version in sPHENIX GitHub at line 94 of file FairDbBinaryFile.cxx

#define WRITE_SIMPLE (   t)
Value:
UInt_t numBytes = sizeof(v); \
const char* bytes = reinterpret_cast<const char*>(&v); \
this->Write(bytes,numBytes); \
return *this; \
}

Definition at line 124 of file FairDbBinaryFile.cxx.

View newest version in sPHENIX GitHub at line 124 of file FairDbBinaryFile.cxx

Enumeration Type Documentation

enum Markers
Enumerator:
StartMarker 
EndMarker 

Definition at line 14 of file FairDbBinaryFile.cxx.

View newest version in sPHENIX GitHub at line 14 of file FairDbBinaryFile.cxx

Function Documentation

void* GetVTptr ( const void *  obj)

Definition at line 18 of file FairDbBinaryFile.cxx.

View newest version in sPHENIX GitHub at line 18 of file FairDbBinaryFile.cxx

Referenced by FairDbBinaryFile::operator>>().

+ Here is the caller graph for this function:

void SetVTptr ( void *  obj,
const void *  vt 
)

Definition at line 25 of file FairDbBinaryFile.cxx.

View newest version in sPHENIX GitHub at line 25 of file FairDbBinaryFile.cxx

Referenced by FairDbBinaryFile::operator>>().

+ Here is the caller graph for this function: