#include <iostream>#include "TClass.h"#include "TObject.h"#include "Api.h"#include "TSystem.h"#include "TDbiBinaryFile.hxx"#include "TDbiTableRow.hxx"#include <TSK_DBI_Log.hxx>#include <MsgFormat.h>#include "TVldRange.hxx"#include "TVldTimeStamp.hxx"
Go to the source code of this file.
Defines | |
| #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) |
| #define READ_BUILTIN | ( | t | ) |
\ TDbiBinaryFile& TDbiBinaryFile::operator >> (t& v) { \ UInt_t numBytes = sizeof(v); \ char* bytes = reinterpret_cast<char*>(&v); \ this->Read(bytes,numBytes); \ return *this; \ }
Definition at line 127 of file TDbiBinaryFile.cxx.
| #define READ_SIMPLE | ( | t | ) |
\ TDbiBinaryFile& TDbiBinaryFile::operator >> (t& v) { \ 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 157 of file TDbiBinaryFile.cxx.
| #define WRITE_BUILTIN | ( | t | ) |
\ TDbiBinaryFile& TDbiBinaryFile::operator << (const t& v) { \ UInt_t numBytes = sizeof(v); \ const char* bytes = reinterpret_cast<const char*>(&v); \ this->Write(bytes,numBytes); \ return *this; \ }
Definition at line 135 of file TDbiBinaryFile.cxx.
| #define WRITE_SIMPLE | ( | t | ) |
\ TDbiBinaryFile& TDbiBinaryFile::operator << (const t& v) { \ UInt_t numBytes = sizeof(v); \ const char* bytes = reinterpret_cast<const char*>(&v); \ this->Write(bytes,numBytes); \ return *this; \ }
Definition at line 167 of file TDbiBinaryFile.cxx.
| enum Markers |
Definition at line 18 of file TDbiBinaryFile.cxx.
00018 { StartMarker = 0xaabbccdd, 00019 EndMarker = 0xddbbccaa};
| void* GetVTptr | ( | const void * | obj | ) |
Definition at line 24 of file TDbiBinaryFile.cxx.
| void SetVTptr | ( | void * | obj, | |
| const void * | vt | |||
| ) |
Definition at line 33 of file TDbiBinaryFile.cxx.
1.6.1