OOFILE  1.9
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members

Contain all the page maps for a preview window. More...

#include <oofrepeditx.h>

Inheritance diagram for OOF_InteractionPages:
Inheritance graph
[legend]
Collaboration diagram for OOF_InteractionPages:
Collaboration graph
[legend]

Public Member Functions

void addPage ()
 
unsigned long count () const
 
OOF_InteractionPageAreaslatestPage ()
 return ref so less likely to hang onto expiring pointer More...
 
bool more () const
 
void next ()
 
 OOF_InteractionPages ()
 
OOF_InteractionPageAreaspage (unsigned long index)
 
void start ()
 
virtual ~OOF_InteractionPages ()
 

Protected Member Functions

virtual void * AllocBits (unsigned long) const
 
unsigned long AllocSlot ()
 
virtual void * CloneBits () const
 
virtual void DeleteBits (bool becauseExpanding)
 
void ExpandToInclude (unsigned long indexToCover)
 
bool Invariant () const
 Guarantee members managing storage are consistent. More...
 

Protected Attributes

void * mBits
 
unsigned int mExpansionChunk
 
unsigned long mInternalIter
 
unsigned long mNextFreeEntry
 
unsigned long mNumSlots
 
OOF_InteractionPageAreasmPages
 typed reference to mBits More...
 
unsigned long mSlotSize
 
void ** mUserStorage
 

Detailed Description

Contain all the page maps for a preview window.

Definition at line 344 of file oofrepeditx.h.

Constructor & Destructor Documentation

OOF_InteractionPages::OOF_InteractionPages ( )

Definition at line 458 of file oofrepedit.cpp.

References mPages, and oofArray::mUserStorage.

OOF_InteractionPages::~OOF_InteractionPages ( )
virtual

Definition at line 466 of file oofrepedit.cpp.

References DeleteBits(), oofArray::mBits, and mPages.

Member Function Documentation

void OOF_InteractionPages::addPage ( )
inline
void * OOF_InteractionPages::AllocBits ( unsigned long  numBits) const
protectedvirtual

Implements oofArray.

Definition at line 475 of file oofrepedit.cpp.

unsigned long oofArray::AllocSlot ( )
protectedinherited
void * oofArray::CloneBits ( ) const
protectedvirtualinherited
unsigned long oofArray::count ( ) const
inlineinherited
void OOF_InteractionPages::DeleteBits ( bool  becauseExpanding)
protectedvirtual

Implements oofArray.

Definition at line 483 of file oofrepedit.cpp.

References mPages.

Referenced by ~OOF_InteractionPages().

void oofArray::ExpandToInclude ( unsigned long  indexToCover)
protectedinherited
bool oofArray::Invariant ( ) const
inlineprotectedinherited

Guarantee members managing storage are consistent.

Note: we assume a user may cause mInternalIter to go out of bounds.

Definition at line 183 of file oofarray.h.

References oofArray::mBits, oofArray::mNextFreeEntry, and oofArray::mNumSlots.

Referenced by oofArray::ExpandToInclude(), and oofArray::operator=().

OOF_InteractionPageAreas & OOF_InteractionPages::latestPage ( )
inline
bool oofArray::more ( ) const
inlineinherited

Definition at line 204 of file oofarray.h.

References oofArray::mInternalIter, and oofArray::mNextFreeEntry.

void oofArray::next ( )
inlineinherited

Definition at line 211 of file oofarray.h.

References oofArray::mInternalIter.

OOF_InteractionPageAreas & OOF_InteractionPages::page ( unsigned long  index)
inline

Definition at line 612 of file oofrepeditx.h.

Referenced by oofRepEditingEnv::singleClick().

void oofArray::start ( )
inlineinherited

Definition at line 197 of file oofarray.h.

References oofArray::mInternalIter.

Member Data Documentation

void* oofArray::mBits
protectedinherited
unsigned int oofArray::mExpansionChunk
protectedinherited

Definition at line 106 of file oofarray.h.

Referenced by oofArray::ExpandToInclude(), oofArray::oofArray(), and oofArray::operator=().

unsigned long oofArray::mInternalIter
protectedinherited

Definition at line 105 of file oofarray.h.

Referenced by oofArray::more(), oofArray::next(), oofArray::operator=(), and oofArray::start().

unsigned long oofArray::mNextFreeEntry
protectedinherited
unsigned long oofArray::mNumSlots
protectedinherited
OOF_InteractionPageAreas* OOF_InteractionPages::mPages
protected

typed reference to mBits

Definition at line 357 of file oofrepeditx.h.

Referenced by DeleteBits(), OOF_InteractionPages(), and ~OOF_InteractionPages().

unsigned long oofArray::mSlotSize
protectedinherited

Definition at line 105 of file oofarray.h.

Referenced by oofArray::CloneBits(), and oofArray::ExpandToInclude().

void** oofArray::mUserStorage
protectedinherited

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