Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RooFit::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 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
 
Pagesoperator= (const Pages &other)
 assignment operator
 
unsigned operator[] (Page *p) const
 perform page to page number mapping
 
Pageoperator[] (unsigned pgno) const
 return page number pageno
 
Pagepage (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

implm_pimpl
 pointer to implementation
 

Friends

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

#include </home/sftnight/build/workspace/root-makedoc-v628/rootspi/rdoc/src/v6-28-00-patches/roofit/roofitcore/src/BidirMMapPipe.h>

Constructor & Destructor Documentation

◆ Pages() [1/3]

RooFit::BidirMMapPipe_impl::Pages::Pages ( )
inline

default constructor

Definition at line 145 of file BidirMMapPipe.h.

◆ ~Pages()

RooFit::BidirMMapPipe_impl::Pages::~Pages ( )

destructor

Definition at line 283 of file BidirMMapPipe.cxx.

◆ Pages() [2/3]

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.

◆ Pages() [3/3]

RooFit::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 RooFit::BidirMMapPipe_impl::Pages::npages ( ) const
inline

return number of pages accessible

Definition at line 168 of file BidirMMapPipe.h.

◆ operator=()

Pages & RooFit::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]

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

perform page to page number mapping

Definition at line 180 of file BidirMMapPipe.h.

◆ operator[]() [2/2]

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

return page number pageno

Definition at line 174 of file BidirMMapPipe.h.

◆ page()

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

return page number pageno

Definition at line 309 of file BidirMMapPipe.cxx.

◆ pageno()

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

perform page to page number mapping

Definition at line 318 of file BidirMMapPipe.cxx.

◆ pagesize()

unsigned RooFit::BidirMMapPipe_impl::Pages::pagesize ( )
static

return page size

Definition at line 307 of file BidirMMapPipe.cxx.

◆ swap()

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

swap with other's contents

Definition at line 183 of file BidirMMapPipe.h.

Friends And Related Symbol Documentation

◆ BidirMMapPipe_impl::PageChunk

friend class BidirMMapPipe_impl::PageChunk
friend

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

Definition at line 192 of file BidirMMapPipe.h.

Member Data Documentation

◆ m_pimpl

impl* RooFit::BidirMMapPipe_impl::Pages::m_pimpl
private

pointer to implementation

Definition at line 195 of file BidirMMapPipe.h.

  • roofit/roofitcore/src/BidirMMapPipe.h
  • roofit/roofitcore/src/BidirMMapPipe.cxx