ROOT  6.06/09
Reference Guide
Classes | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
BidirMMapPipe_impl::Pages Class Reference

handle class for a number of Pages

Author
Manuel Schiller manue.nosp@m.l.sc.nosp@m.hille.nosp@m.r@ni.nosp@m.khef..nosp@m.nl
Date
2013-07-24

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...
 
Pagesoperator= (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

implm_pimpl
 pointer to implementation More...
 

Friends

class BidirMMapPipe_impl::PageChunk
 page pool is our friend - it's allowed to construct Pages More...
 

#include </mnt/vdb/lsf/workspace/root-makedoc-v606/rootspi/rdoc/src/v6-06-00-patches/roofit/roofitcore/src/BidirMMapPipe.h>

+ Collaboration diagram for BidirMMapPipe_impl::Pages:

Constructor & Destructor Documentation

BidirMMapPipe_impl::Pages::Pages ( )
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.

BidirMMapPipe_impl::Pages::Pages ( PageChunk parent,
Page *  pages,
unsigned  npg 
)
private

constructor

Definition at line 263 of file BidirMMapPipe.cxx.

Member Function Documentation

unsigned BidirMMapPipe_impl::Pages::npages ( ) const
inline

return number of pages accessible

Definition at line 164 of file BidirMMapPipe.h.

Referenced by BidirMMapPipe_impl::PageChunk::zap().

Pages & BidirMMapPipe_impl::Pages::operator= ( const Pages other)

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.

Page* BidirMMapPipe_impl::Pages::operator[] ( unsigned  pgno) const
inline

return page number pageno

Definition at line 170 of file BidirMMapPipe.h.

unsigned BidirMMapPipe_impl::Pages::operator[] ( Page *  p) const
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[]().

unsigned BidirMMapPipe_impl::Pages::pagesize ( )
static

return page size

Definition at line 302 of file BidirMMapPipe.cxx.

Referenced by page(), and pageno().

void BidirMMapPipe_impl::Pages::swap ( Pages other)
inline

swap with other's contents

Definition at line 179 of file BidirMMapPipe.h.

Referenced by BidirMMapPipe::BidirMMapPipe(), and BidirMMapPipe::doClose().

Friends And Related Function Documentation

friend class BidirMMapPipe_impl::PageChunk
friend

page pool is our friend - it's allowed to construct Pages

Definition at line 188 of file BidirMMapPipe.h.

Member Data Documentation

impl* BidirMMapPipe_impl::Pages::m_pimpl
private

The documentation for this class was generated from the following files: