ROOT
6.06/09
Reference Guide
|
handle class for a number of Pages
the associated pages are continuous in memory
Definition at line 130 of file BidirMMapPipe.h.
Classes | |
struct | impl |
implementation More... | |
Public Member Functions | |
Pages () | |
default constructor More... | |
~Pages () | |
destructor More... | |
Pages (const Pages &other) | |
copy constructor More... | |
Pages & | operator= (const Pages &other) |
assignment operator More... | |
unsigned | npages () const |
return number of pages accessible More... | |
Page * | page (unsigned pgno) const |
return page number pageno More... | |
Page * | operator[] (unsigned pgno) const |
return page number pageno More... | |
unsigned | pageno (Page *p) const |
perform page to page number mapping More... | |
unsigned | operator[] (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 141 of file BidirMMapPipe.h.
BidirMMapPipe_impl::Pages::~Pages | ( | ) |
destructor
Definition at line 278 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 286 of file BidirMMapPipe.cxx.
|
private |
constructor
Definition at line 263 of file BidirMMapPipe.cxx.
|
inline |
return number of pages accessible
Definition at line 164 of file BidirMMapPipe.h.
Referenced by BidirMMapPipe_impl::PageChunk::zap().
assignment operator
assign Pages handle to new object - old object loses ownership, and becomes a dangling handle
Definition at line 290 of file BidirMMapPipe.cxx.
|
inline |
return page number pageno
Definition at line 170 of file BidirMMapPipe.h.
|
inline |
perform page to page number mapping
Definition at line 176 of file BidirMMapPipe.h.
Page * BidirMMapPipe_impl::Pages::page | ( | unsigned | pgno | ) | const |
return page number pageno
Definition at line 304 of file BidirMMapPipe.cxx.
Referenced by operator[](), and Pages().
unsigned BidirMMapPipe_impl::Pages::pageno | ( | Page * | p | ) | const |
perform page to page number mapping
Definition at line 313 of file BidirMMapPipe.cxx.
Referenced by operator[]().
|
static |
return page size
Definition at line 302 of file BidirMMapPipe.cxx.
swap with other's contents
Definition at line 179 of file BidirMMapPipe.h.
Referenced by BidirMMapPipe::BidirMMapPipe(), and BidirMMapPipe::doClose().
|
friend |
page pool is our friend - it's allowed to construct Pages
Definition at line 188 of file BidirMMapPipe.h.
|
private |
pointer to implementation
Definition at line 191 of file BidirMMapPipe.h.
Referenced by BidirMMapPipe_impl::PageChunk::contains(), npages(), operator=(), page(), pageno(), Pages(), swap(), BidirMMapPipe_impl::PageChunk::zap(), and ~Pages().