Logo ROOT   6.12/07
Reference Guide
List of all members | 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 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...
 
Pagesoperator= (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

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/build/workspace/root-makedoc-v612/rootspi/rdoc/src/v6-12-00-patches/roofit/roofitcore/src/BidirMMapPipe.h>

Constructor & Destructor Documentation

◆ Pages() [1/3]

BidirMMapPipe_impl::Pages::Pages ( )
inline

default constructor

Definition at line 144 of file BidirMMapPipe.h.

◆ ~Pages()

BidirMMapPipe_impl::Pages::~Pages ( )

destructor

Definition at line 283 of file BidirMMapPipe.cxx.

◆ Pages() [2/3]

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.

◆ Pages() [3/3]

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

constructor

Definition at line 267 of file BidirMMapPipe.cxx.

Member Function Documentation

◆ npages()

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

return number of pages accessible

Definition at line 167 of file BidirMMapPipe.h.

◆ operator=()

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 295 of file BidirMMapPipe.cxx.

◆ operator[]() [1/2]

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

return page number pageno

Definition at line 173 of file BidirMMapPipe.h.

◆ operator[]() [2/2]

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

perform page to page number mapping

Definition at line 179 of file BidirMMapPipe.h.

◆ page()

Page * BidirMMapPipe_impl::Pages::page ( unsigned  pgno) const

return page number pageno

Definition at line 309 of file BidirMMapPipe.cxx.

◆ pageno()

unsigned BidirMMapPipe_impl::Pages::pageno ( Page *  p) const

perform page to page number mapping

Definition at line 318 of file BidirMMapPipe.cxx.

◆ pagesize()

unsigned BidirMMapPipe_impl::Pages::pagesize ( )
static

return page size

Definition at line 307 of file BidirMMapPipe.cxx.

◆ swap()

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

swap with other's contents

Definition at line 182 of file BidirMMapPipe.h.

Friends And Related Function Documentation

◆ BidirMMapPipe_impl::PageChunk

friend class BidirMMapPipe_impl::PageChunk
friend

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

Definition at line 191 of file BidirMMapPipe.h.

Member Data Documentation

◆ m_pimpl

impl* BidirMMapPipe_impl::Pages::m_pimpl
private

pointer to implementation

Definition at line 194 of file BidirMMapPipe.h.

Libraries for BidirMMapPipe_impl::Pages:
[legend]

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