handle class for a number of Pages
the associated pages are continuous in memory
Definition at line 134 of file BidirMMapPipe.h.
Classes | |
struct | impl |
implementation More... | |
Public Member Functions | |
Pages () | |
default constructor | |
Pages (const Pages &other) | |
copy constructor | |
~Pages () | |
destructor | |
unsigned | npages () const |
return number of pages accessible | |
Pages & | operator= (const Pages &other) |
assignment operator | |
unsigned | operator[] (Page *p) const |
perform page to page number mapping | |
Page * | operator[] (unsigned pgno) const |
return page number pageno | |
Page * | page (unsigned pgno) const |
return page number pageno | |
unsigned | pageno (Page *p) const |
perform page to page number mapping | |
void | swap (Pages &other) |
swap with other's contents | |
Static Public Member Functions | |
static unsigned | pagesize () |
return page size | |
Private Member Functions | |
Pages (PageChunk *parent, Page *pages, unsigned npg) | |
constructor | |
Private Attributes | |
impl * | m_pimpl |
pointer to implementation | |
Friends | |
class | BidirMMapPipe_impl::PageChunk |
page pool is our friend - it's allowed to construct Pages | |
|
inline |
default constructor
Definition at line 145 of file BidirMMapPipe.h.
RooFit::BidirMMapPipe_impl::Pages::~Pages | ( | ) |
destructor
Definition at line 283 of file BidirMMapPipe.cxx.
RooFit::BidirMMapPipe_impl::Pages::Pages | ( | const Pages & | other | ) |
copy constructor
copy Pages handle to new object - old object loses ownership, and becomes a dangling handle
Definition at line 291 of file BidirMMapPipe.cxx.
constructor
Definition at line 267 of file BidirMMapPipe.cxx.
|
inline |
return number of pages accessible
Definition at line 168 of file BidirMMapPipe.h.
assignment operator
assign Pages handle to new object - old object loses ownership, and becomes a dangling handle
Definition at line 295 of file BidirMMapPipe.cxx.
|
inline |
perform page to page number mapping
Definition at line 180 of file BidirMMapPipe.h.
|
inline |
return page number pageno
Definition at line 174 of file BidirMMapPipe.h.
Page * RooFit::BidirMMapPipe_impl::Pages::page | ( | unsigned | pgno | ) | const |
return page number pageno
Definition at line 309 of file BidirMMapPipe.cxx.
unsigned RooFit::BidirMMapPipe_impl::Pages::pageno | ( | Page * | p | ) | const |
perform page to page number mapping
Definition at line 318 of file BidirMMapPipe.cxx.
|
static |
return page size
Definition at line 307 of file BidirMMapPipe.cxx.
|
inline |
swap with other's contents
Definition at line 183 of file BidirMMapPipe.h.
|
friend |
page pool is our friend - it's allowed to construct Pages
Definition at line 192 of file BidirMMapPipe.h.
|
private |
pointer to implementation
Definition at line 195 of file BidirMMapPipe.h.