test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Macros | Typedefs | Variables
TBufferBlobStreamingService.cc File Reference
#include "CondCore/DBCommon/interface/BlobStreamerPluginFactory.h"
#include "CondCore/DBCommon/interface/Exception.h"
#include "TBufferBlobStreamingService.h"
#include <algorithm>
#include <typeinfo>
#include <string>
#include <cstring>
#include "TBufferFile.h"
#include "Reflex/Reflex.h"
#include "Cintex/Cintex.h"
#include <boost/bind.hpp>

Go to the source code of this file.

Classes

struct  Primitive
 

Macros

#define PRIMITIVE(x)
 

Typedefs

typedef void(TBuffer::* ReadArrayFn_t )(void *obj, Int_t n)
 
typedef void(TBuffer::* WriteArrayFn_t )(const void *obj, Int_t n)
 

Variables

static const std::size_t nPrimitives
 
struct Primitive primitives []
 

Macro Definition Documentation

#define PRIMITIVE (   x)
Value:
{ \
typeid(x), \
reinterpret_cast<WriteArrayFn_t>( \
(void (TBuffer::*)(const x*, Int_t))&TBuffer::WriteFastArray), \
reinterpret_cast<ReadArrayFn_t>( \
(void (TBuffer::*)(x*, Int_t))&TBuffer::ReadFastArray) \
}
Definition: DDAxes.h:10
void(TBuffer::* WriteArrayFn_t)(const void *obj, Int_t n)

Definition at line 17 of file TBufferBlobStreamingService.cc.

Typedef Documentation

typedef void(TBuffer::* ReadArrayFn_t)(void *obj, Int_t n)

Definition at line 15 of file TBufferBlobStreamingService.cc.

typedef void(TBuffer::* WriteArrayFn_t)(const void *obj, Int_t n)

Definition at line 14 of file TBufferBlobStreamingService.cc.

Variable Documentation

const std::size_t nPrimitives
static
Initial value:
=
(sizeof primitives / sizeof primitives[0])
struct Primitive primitives[]

Definition at line 48 of file TBufferBlobStreamingService.cc.

Referenced by cond::TBufferBlobTypeInfo::TBufferBlobTypeInfo().

struct Primitive primitives[]
Initial value:
= {
{ typeid( Bool_t ), reinterpret_cast<WriteArrayFn_t>( (void (TBuffer::*)(const Bool_t *, Int_t))&TBuffer::WriteFastArray), reinterpret_cast<ReadArrayFn_t>( (void (TBuffer::*)( Bool_t *, Int_t))&TBuffer::ReadFastArray) },
{ typeid( Char_t ), reinterpret_cast<WriteArrayFn_t>( (void (TBuffer::*)(const Char_t *, Int_t))&TBuffer::WriteFastArray), reinterpret_cast<ReadArrayFn_t>( (void (TBuffer::*)( Char_t *, Int_t))&TBuffer::ReadFastArray) },
{ typeid( UChar_t ), reinterpret_cast<WriteArrayFn_t>( (void (TBuffer::*)(const UChar_t *, Int_t))&TBuffer::WriteFastArray), reinterpret_cast<ReadArrayFn_t>( (void (TBuffer::*)( UChar_t *, Int_t))&TBuffer::ReadFastArray) },
{ typeid( Short_t ), reinterpret_cast<WriteArrayFn_t>( (void (TBuffer::*)(const Short_t *, Int_t))&TBuffer::WriteFastArray), reinterpret_cast<ReadArrayFn_t>( (void (TBuffer::*)( Short_t *, Int_t))&TBuffer::ReadFastArray) },
{ typeid( UShort_t ), reinterpret_cast<WriteArrayFn_t>( (void (TBuffer::*)(const UShort_t *, Int_t))&TBuffer::WriteFastArray), reinterpret_cast<ReadArrayFn_t>( (void (TBuffer::*)( UShort_t *, Int_t))&TBuffer::ReadFastArray) },
{ typeid( Int_t ), reinterpret_cast<WriteArrayFn_t>( (void (TBuffer::*)(const Int_t *, Int_t))&TBuffer::WriteFastArray), reinterpret_cast<ReadArrayFn_t>( (void (TBuffer::*)( Int_t *, Int_t))&TBuffer::ReadFastArray) },
{ typeid( UInt_t ), reinterpret_cast<WriteArrayFn_t>( (void (TBuffer::*)(const UInt_t *, Int_t))&TBuffer::WriteFastArray), reinterpret_cast<ReadArrayFn_t>( (void (TBuffer::*)( UInt_t *, Int_t))&TBuffer::ReadFastArray) },
{ typeid( Long_t ), reinterpret_cast<WriteArrayFn_t>( (void (TBuffer::*)(const Long_t *, Int_t))&TBuffer::WriteFastArray), reinterpret_cast<ReadArrayFn_t>( (void (TBuffer::*)( Long_t *, Int_t))&TBuffer::ReadFastArray) },
{ typeid( ULong_t ), reinterpret_cast<WriteArrayFn_t>( (void (TBuffer::*)(const ULong_t *, Int_t))&TBuffer::WriteFastArray), reinterpret_cast<ReadArrayFn_t>( (void (TBuffer::*)( ULong_t *, Int_t))&TBuffer::ReadFastArray) },
{ typeid( Long64_t ), reinterpret_cast<WriteArrayFn_t>( (void (TBuffer::*)(const Long64_t *, Int_t))&TBuffer::WriteFastArray), reinterpret_cast<ReadArrayFn_t>( (void (TBuffer::*)( Long64_t *, Int_t))&TBuffer::ReadFastArray) },
{ typeid( ULong64_t ), reinterpret_cast<WriteArrayFn_t>( (void (TBuffer::*)(const ULong64_t *, Int_t))&TBuffer::WriteFastArray), reinterpret_cast<ReadArrayFn_t>( (void (TBuffer::*)( ULong64_t *, Int_t))&TBuffer::ReadFastArray) },
{ typeid( Float_t ), reinterpret_cast<WriteArrayFn_t>( (void (TBuffer::*)(const Float_t *, Int_t))&TBuffer::WriteFastArray), reinterpret_cast<ReadArrayFn_t>( (void (TBuffer::*)( Float_t *, Int_t))&TBuffer::ReadFastArray) },
{ typeid( Double_t ), reinterpret_cast<WriteArrayFn_t>( (void (TBuffer::*)(const Double_t *, Int_t))&TBuffer::WriteFastArray), reinterpret_cast<ReadArrayFn_t>( (void (TBuffer::*)( Double_t *, Int_t))&TBuffer::ReadFastArray) }
}

Referenced by cond::TBufferBlobStreamingService::read(), cond::TBufferBlobTypeInfo::TBufferBlobTypeInfo(), and cond::TBufferBlobStreamingService::write().