ROOT 6.12/07 Reference Guide |
handle class for a number of Pages
the associated pages are continuous in memory
Definition at line 133 of file BidirMMapPipe.h.
Classes | |
struct | impl |
implementation More... | |
Public Member Functions | |
Pages () | |
default constructor More... | |
Pages (const Pages &other) | |
copy constructor More... | |
~Pages () | |
destructor More... | |
unsigned | npages () const |
return number of pages accessible More... | |
Pages & | operator= (const Pages &other) |
assignment operator More... | |
Page * | operator[] (unsigned pgno) const |
return page number pageno More... | |
unsigned | operator[] (Page *p) const |
perform page to page number mapping More... | |
Page * | page (unsigned pgno) const |
return page number pageno More... | |
unsigned | pageno (Page *p) const |
perform page to page number mapping More... | |
void | swap (Pages &other) |
swap with other's contents More... | |
Static Public Member Functions | |
static unsigned | pagesize () |
return page size More... | |
Private Member Functions | |
Pages (PageChunk *parent, Page *pages, unsigned npg) | |
constructor More... | |
Private Attributes | |
impl * | m_pimpl |
pointer to implementation More... | |
Friends | |
class | BidirMMapPipe_impl::PageChunk |
page pool is our friend - it's allowed to construct Pages More... | |
|
inline |
default constructor
Definition at line 144 of file BidirMMapPipe.h.
BidirMMapPipe_impl::Pages::~Pages | ( | ) |
destructor
Definition at line 283 of file BidirMMapPipe.cxx.
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.
|
private |
constructor
Definition at line 267 of file BidirMMapPipe.cxx.
|
inline |
return number of pages accessible
Definition at line 167 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 |
return page number pageno
Definition at line 173 of file BidirMMapPipe.h.
|
inline |
perform page to page number mapping
Definition at line 179 of file BidirMMapPipe.h.
Page * BidirMMapPipe_impl::Pages::page | ( | unsigned | pgno | ) | const |
return page number pageno
Definition at line 309 of file BidirMMapPipe.cxx.
unsigned 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.
swap with other's contents
Definition at line 182 of file BidirMMapPipe.h.
|
friend |
page pool is our friend - it's allowed to construct Pages
Definition at line 191 of file BidirMMapPipe.h.
|
private |
pointer to implementation
Definition at line 194 of file BidirMMapPipe.h.