12#ifndef BIDIRMMAPPIPE_H
13#define BIDIRMMAPPIPE_H
22#define BEGIN_NAMESPACE_ROOFIT namespace RooFit {
23#define END_NAMESPACE_ROOFIT }
102 bool contains(
const Pages&
p)
const;
113 return reinterpret_cast<unsigned char*
>(
m_end) -
114 reinterpret_cast<unsigned char*
>(
m_begin);
182 unsigned operator[](
Page*
p)
const {
return pageno(
p); }
194 friend class BidirMMapPipe_impl::PageChunk;
386 typedef std::size_t size_type;
388 typedef BidirMMapPipe_impl::BidirMMapPipeException
Exception;
452 size_type read(
void*
addr, size_type
sz);
465 size_type write(
const void*
addr, size_type
sz);
747 operator bool()
const {
return !
fail() && !
bad(); }
758#define STREAMOP(TYPE) \
759 BidirMMapPipe& operator<<(const TYPE& val) \
760 { write(&val, sizeof(TYPE)); return *this; } \
761 BidirMMapPipe& operator>>(TYPE& val) \
762 { read(&val, sizeof(TYPE)); return *this; }
819 { write(&
tptr,
sizeof(
tptr));
return *
this; }
830 { read(&
tptr,
sizeof(
tptr));
return *
this; }
843 {
return manip(*
this); }
856 {
return manip(*
this); }
870 friend class BidirMMapPipe_impl::Page;
872 typedef BidirMMapPipe_impl::Page
Page;
893 static BidirMMapPipe_impl::PagePool*
s_pagepool;
900 static BidirMMapPipe_impl::PagePool&
pagepool();
903 BidirMMapPipe_impl::Pages
m_pages;
941 int,
void*, std::size_t)
>(
xferfn));
991#undef BEGIN_NAMESPACE_ROOFIT
992#undef END_NAMESPACE_ROOFIT
ROOT::R::TRInterface & Exception()
TBuffer & operator<<(TBuffer &buf, const Tmpl *obj)
TBuffer & operator>>(TBuffer &buf, Tmpl *&obj)
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
TCut operator!(const TCut &rhs)
Logical negation.
void Error(const char *location, const char *msgfmt,...)
Use this function in case an error occurred.
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h length
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t UChar_t len
Binding & operator=(OUT(*fun)(void))
void Copy(void *source, void *dest)