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

Dictionary providing extra search methods for finding indexes. More...

#include <oofctrex.h>

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

Public Types

enum  { kDefExpansionChunk =10 }
 

Public Member Functions

bool allObjectsMatch (OOF_Dictionary &)
 
void append (OOF_bitPointer)
 
OOF_Dictionary clone () const
 
unsigned int count () const
 
unsigned int countVisible (bool wantVisible=true)
 
void deleteAll ()
 
virtual void describe (std::ostream &) const
 
virtual void describeVisible (std::ostream &, bool wantVisible) const
 
OOF_bitPointeritem (unsigned int index)
 
unsigned int iter () const
 
OOF_bitPointerlookupByAttribute (const char *attributeValue, const char *attributeType=0)
 
bool more () const
 
bool moreVisible (bool wantVisible=true)
 
void next ()
 
void nextVisible (bool wantVisible=true)
 
OOF_bitPointeroperator() ()
 
OOF_bitPointeroperator[] (unsigned int)
 
OOF_bitPointeroperator[] (const char *)
 
void ownsContents (bool ownsFlag=true)
 
OOF_bitPointer pop ()
 
void reset ()
 
void start ()
 
void startVisible (bool wantVisible=true)
 
OOF_bitPointer value (unsigned int index) const
 

Static Public Member Functions

static OOF_bitPointermissingItem ()
 

Protected Member Functions

bool EntryMatchesVisibility (const OOF_PublicBase *, bool) const
 

Protected Attributes

unsigned int mInternalIter
 
bool mOwnsContents
 
OOF_DictRepmRep
 

Static Protected Attributes

static OOF_bitPointer sMissingItem
 

Friends

class OOF_ctreeBackend
 

Detailed Description

Dictionary providing extra search methods for finding indexes.

Definition at line 176 of file oofctrex.h.

Member Function Documentation

bool OOF_Dictionary::allObjectsMatch ( OOF_Dictionary rhs)
inherited

Definition at line 470 of file oof2.cpp.

References OOF_Dictionary::count(), and OOF_Dictionary::mRep.

void OOF_Dictionary::append ( OOF_bitPointer  aBit)
inlineinherited
OOF_Dictionary OOF_Dictionary::clone ( ) const
inherited

Definition at line 389 of file oof2.cpp.

References OOF_Dictionary::mRep.

unsigned int OOF_Dictionary::count ( ) const
inlineinherited

Definition at line 1498 of file oof1.h.

Referenced by oofRepViewRedirectingRender::AddRowInteractionAreas(), dbView::AdjustFieldsToNewTable(), OOF_Dictionary::allObjectsMatch(), dbView::AppendOwnedField(), dbConnect::attachTable(), dbBrowseHelper::browseViewWithTable(), OOF_ramBackend::BuildBackendtables(), OOF_dbaseBackend::BuildBackendtables(), OOF_ctreeBackend::BuildBackendtables(), oofRepViewBand_WinRender::CalcColHeaderWrapping(), oofRepViewBand_MacRender::CalcColHeaderWrapping(), dbConnect::copyAllFrom(), dbAbstractEditHelper::copyFieldsToLinks(), dbAbstractEditHelper::copyLinksToFields(), OOF_Dictionary::countVisible(), OOF_dbaseBackend::createTableInConnection(), OOF_mixColumnarBand::customDrawer(), OOF_Dictionary::deleteAll(), dbConnect::deleteAll(), dbHierBrowseHelper::deleteAllLevels(), dbConnect::deleteStorage(), OOF_Dictionary::describe(), OOF_Dictionary::describeVisible(), oofRepGraphBand_CSVRender::draw(), oofRepGraphBand_TSVRender::draw(), oofRepViewBand_HTMLRender::draw(), oofRepViewBand_CSVRender::draw(), oofRepViewBand_TSVRender::draw(), oofRepViewBand_WinRender::draw(), oofRepViewBand_MacRender::draw(), oofRepViewBand_RTFRender::draw(), dbRepChar::drawColumnar(), oofRepViewBand_CSVRender::drawColumnHeaders(), oofRepViewBand_TSVRender::drawColumnHeaders(), oofRepViewBand_WinRender::drawColumnHeaders(), oofRepViewBand_MacRender::drawColumnHeaders(), oofRepViewBand_RTFRender::drawColumnHeaders(), oofRepViewBand_WinRender::DrawContinuingOverPage(), oofRepViewBand_MacRender::DrawContinuingOverPage(), dbRepChar::drawHeader(), dbRepChar::drawPageWise(), dbConnect::dumpData(), dbView::extract(), dbRep::extract(), oofSerializableFactory::factoryMatching(), oofRepViewBand_MacRender::finishConstruction(), dbRepChar::formatForCharStream(), dbConnect::generateTestData(), OOF_mixOutlineItem::GetDrawContentsFromView(), dbAbstractEditHelper::getLink(), dbViewAsTableStorage::GetStorageSize(), OOF_mixColumnarBand::hasCustomViewDrawers(), dbListBoxDisplay::loadData(), dbConnect::MakeAllTablesValid(), dbConnect_ram::MakeTableBackend(), oofRepViewBand::numCols(), oofRepColHeaderEditLink::oofRepColHeaderEditLink(), oofRepViewEditLink::oofRepViewEditLink(), dbAbstractEditHelper::readOnly(), dbAbstractEditHelper::ResetDirtyLinks(), dbConnect::resumeSorting(), OOF_simpleRecordBackend::saveRecord(), oofXMLDBWriter::startSchema(), dbConnect::stats(), dbConnect::suspendSorting(), OOF_repXMLschemaVisitor::UniquifyTables(), dbAbstractEditHelper::updateDerivedFieldDisplays(), dbAbstractEditHelper::ValidateLinks(), OOF_repEditSetupVisitor::VisitIterableBandBody(), OOF_repBufferSettingVisitor::VisitView(), OOF_repXMLlayoutVisitor::WriteColumns(), oofXMLDBWriter::writeRecord(), dbConnect::~dbConnect(), dbConnect_ram::~dbConnect_ram(), and OOF_dbaseBackend::~OOF_dbaseBackend().

unsigned int OOF_Dictionary::countVisible ( bool  wantVisible = true)
inherited
void OOF_Dictionary::deleteAll ( )
inherited
void OOF_Dictionary::describe ( std::ostream &  ) const
virtualinherited

Definition at line 446 of file oof2.cpp.

References OOF_Dictionary::count(), and OOF_Dictionary::value().

Referenced by dbTable::describe(), and dbConnect::describe().

void OOF_Dictionary::describeVisible ( std::ostream &  ,
bool  wantVisible 
) const
virtualinherited
bool OOF_Dictionary::EntryMatchesVisibility ( const OOF_PublicBase entry,
bool  wantVisible 
) const
inlineprotectedinherited
OOF_bitPointer & OOF_Dictionary::item ( unsigned int  index)
inlineinherited

Definition at line 1587 of file oof1.h.

Referenced by OOF_Dictionary::deleteAll(), and oofSerializableFactory::factoryMatching().

unsigned int OOF_Dictionary::iter ( ) const
inlineinherited

Definition at line 1491 of file oof1.h.

Referenced by dbConnect::dumpData(), dbTable::extract(), and dbTable::makeView().

OOF_bitPointer & OOF_Dictionary::lookupByAttribute ( const char *  attributeValue,
const char *  attributeType = 0 
)
inlineinherited

Definition at line 1615 of file oof1.h.

OOF_bitPointer & OOF_Dictionary::missingItem ( )
inlinestaticinherited

Definition at line 1622 of file oof1.h.

bool OOF_Dictionary::more ( ) const
inlineinherited
bool OOF_Dictionary::moreVisible ( bool  wantVisible = true)
inherited
Bug:
Think because entry is redeclared inside the loop that may fail if no visible entries - pass 0 in to EntryMatchesVisibility and deref null ptr!.

Definition at line 415 of file oof2.cpp.

References OOF_Dictionary::EntryMatchesVisibility(), OOF_Dictionary::more(), OOF_Dictionary::next(), and OOF_Dictionary::operator()().

Referenced by dbConnect::dumpData(), dbTable::extract(), and dbTable::makeView().

void OOF_Dictionary::next ( )
inlineinherited
void OOF_Dictionary::nextVisible ( bool  wantVisible = true)
inlineinherited

Definition at line 1543 of file oof1.h.

Referenced by dbConnect::dumpData(), dbTable::extract(), and dbTable::makeView().

OOF_bitPointer & OOF_Dictionary::operator() ( )
inlineinherited

Definition at line 1572 of file oof1.h.

Referenced by OOF_Dictionary::moreVisible().

OOF_bitPointer & OOF_Dictionary::operator[] ( unsigned int  index)
inlineinherited

Definition at line 1608 of file oof1.h.

OOF_bitPointer & OOF_Dictionary::operator[] ( const char *  name)
inlineinherited

Definition at line 1601 of file oof1.h.

void OOF_Dictionary::ownsContents ( bool  ownsFlag = true)
inlineinherited
OOF_bitPointer OOF_Dictionary::pop ( )
inlineinherited

Definition at line 1558 of file oof1.h.

Referenced by oofXMLschemaParser::endElement().

void OOF_Dictionary::reset ( )
inlineinherited

Definition at line 1565 of file oof1.h.

void OOF_Dictionary::start ( )
inlineinherited
void OOF_Dictionary::startVisible ( bool  wantVisible = true)
inlineinherited

Definition at line 1535 of file oof1.h.

Referenced by dbConnect::dumpData(), dbTable::extract(), and dbTable::makeView().

OOF_bitPointer OOF_Dictionary::value ( unsigned int  index) const
inlineinherited

Friends And Related Function Documentation

friend class OOF_ctreeBackend
friend

Definition at line 186 of file oofctrex.h.

Member Data Documentation

unsigned int OOF_Dictionary::mInternalIter
protectedinherited

Definition at line 214 of file oof1.h.

Referenced by dbView::currentHeading().

bool OOF_Dictionary::mOwnsContents
protectedinherited

Definition at line 215 of file oof1.h.

Referenced by OOF_Dictionary::~OOF_Dictionary().

OOF_DictRep* OOF_Dictionary::mRep
protectedinherited
OOF_bitPointer OOF_Dictionary::sMissingItem
staticprotectedinherited

Definition at line 216 of file oof1.h.


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