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

Typed array of OOF_RepBlockCellRow with searches. More...

#include <oofrepeditx.h>

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

Public Member Functions

OOF_RepBlockCellRowaddRow ()
 
unsigned long count () const
 
bool more () const
 
void next ()
 
 OOF_RepBlockCellRows ()
 
OOF_RepBlockCellRowrow (unsigned long) const
 
void start ()
 
virtual ~OOF_RepBlockCellRows ()
 

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_RepBlockCellRowmRows
 
unsigned long mSlotSize
 
void ** mUserStorage
 

Detailed Description

Typed array of OOF_RepBlockCellRow with searches.

Definition at line 167 of file oofrepeditx.h.

Constructor & Destructor Documentation

OOF_RepBlockCellRows::OOF_RepBlockCellRows ( )

Definition at line 564 of file oofrepedit.cpp.

References mRows, and oofArray::mUserStorage.

OOF_RepBlockCellRows::~OOF_RepBlockCellRows ( )
virtual

Definition at line 572 of file oofrepedit.cpp.

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

Member Function Documentation

OOF_RepBlockCellRow * OOF_RepBlockCellRows::addRow ( )
inline

Definition at line 631 of file oofrepeditx.h.

Referenced by oofRepLayoutEditLink::initMapping().

void * OOF_RepBlockCellRows::AllocBits ( unsigned long  numBits) const
protectedvirtual

Implements oofArray.

Definition at line 581 of file oofrepedit.cpp.

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

Implements oofArray.

Definition at line 589 of file oofrepedit.cpp.

References mRows.

Referenced by ~OOF_RepBlockCellRows().

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

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_RepBlockCellRow & OOF_RepBlockCellRows::row ( unsigned long  index) const
inline
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_RepBlockCellRow* OOF_RepBlockCellRows::mRows
protected

Definition at line 179 of file oofrepeditx.h.

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

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: