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

Mixin class for fields that are keyword-indexed. More...

#include <oof3.h>

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

Public Member Functions

dbQueryBinary hasAllWordsDelimited (const char *, char delimiter)
 
dbQueryBinary hasAllWordsOf (const char **schStrs, unsigned long count)
 
dbQueryBinary hasAllWordsOf (oofWordParser *)
 
dbQueryBinary hasAllWordsStartsWithDelimited (const char *, char delimiter)
 
dbQueryBinary hasAllWordsStartsWithOf (const char **schStrs, unsigned long count)
 
dbQueryBinary hasAllWordsStartsWithOf (oofWordParser *)
 
dbQueryBinary hasAnyWordsDelimited (const char *, char delimiter)
 
dbQueryBinary hasAnyWordsOf (const char **schStrs, unsigned long count)
 
dbQueryBinary hasAnyWordsOf (oofWordParser *)
 
dbQueryBinary hasAnyWordsStartsWithDelimited (const char *, char delimiter)
 
dbQueryBinary hasAnyWordsStartsWithOf (const char **schStrs, unsigned long count)
 
dbQueryBinary hasAnyWordsStartsWithOf (oofWordParser *)
 
dbQueryBinary hasWord (const char *str) const
 
dbQueryBinary hasWordStartsWith (const char *str) const
 
void indexWords (oofWordParser *adoptedParser=0)
 
 OOF_mixKeywordableField (dbField *)
 
 OOF_mixKeywordableField (const OOF_mixKeywordableField &rhs, dbField *rhsAsField)
 
oofWordParserwordParser () const
 
virtual ~OOF_mixKeywordableField ()
 

Protected Attributes

oofWordParsermParser
 
dbFieldmThisField
 

Detailed Description

Mixin class for fields that are keyword-indexed.

See also
OOF_ctreeKeywordIndex for implementation with the c-tree Plus backend in OOFILE Professional.

Definition at line 186 of file oof3.h.

Constructor & Destructor Documentation

OOF_mixKeywordableField::OOF_mixKeywordableField ( dbField thisField)

Definition at line 449 of file oofwords.cpp.

OOF_mixKeywordableField::OOF_mixKeywordableField ( const OOF_mixKeywordableField rhs,
dbField rhsAsField 
)

Definition at line 456 of file oofwords.cpp.

References OOF_mixRefCount::incRefs(), and mParser.

OOF_mixKeywordableField::~OOF_mixKeywordableField ( )
virtual

Definition at line 466 of file oofwords.cpp.

References OOF_mixRefCount::decRefs(), and mParser.

Member Function Documentation

dbQueryBinary OOF_mixKeywordableField::hasAllWordsDelimited ( const char *  str,
char  delimiter 
)

Definition at line 495 of file oofwords.cpp.

References dbQueryClause::hasAllWords, and mThisField.

dbQueryBinary OOF_mixKeywordableField::hasAllWordsOf ( const char **  schStrs,
unsigned long  count 
)

Definition at line 509 of file oofwords.cpp.

References dbQueryClause::hasAllWords, and mThisField.

Referenced by hasAllWordsOf().

dbQueryBinary OOF_mixKeywordableField::hasAllWordsOf ( oofWordParser inParser)
dbQueryBinary OOF_mixKeywordableField::hasAllWordsStartsWithDelimited ( const char *  str,
char  delimiter 
)

Definition at line 539 of file oofwords.cpp.

References dbQueryClause::hasAllWordsStartsWith, and mThisField.

dbQueryBinary OOF_mixKeywordableField::hasAllWordsStartsWithOf ( const char **  schStrs,
unsigned long  count 
)

Definition at line 553 of file oofwords.cpp.

References dbQueryClause::hasAllWordsStartsWith, and mThisField.

Referenced by hasAllWordsStartsWithOf().

dbQueryBinary OOF_mixKeywordableField::hasAllWordsStartsWithOf ( oofWordParser inParser)
dbQueryBinary OOF_mixKeywordableField::hasAnyWordsDelimited ( const char *  str,
char  delimiter 
)

Definition at line 488 of file oofwords.cpp.

References dbQueryClause::hasAnyWord, and mThisField.

dbQueryBinary OOF_mixKeywordableField::hasAnyWordsOf ( const char **  schStrs,
unsigned long  count 
)

Definition at line 502 of file oofwords.cpp.

References dbQueryClause::hasAnyWord, and mThisField.

Referenced by hasAnyWordsOf().

dbQueryBinary OOF_mixKeywordableField::hasAnyWordsOf ( oofWordParser inParser)
dbQueryBinary OOF_mixKeywordableField::hasAnyWordsStartsWithDelimited ( const char *  str,
char  delimiter 
)

Definition at line 532 of file oofwords.cpp.

References dbQueryClause::hasAnyWordStartsWith, and mThisField.

dbQueryBinary OOF_mixKeywordableField::hasAnyWordsStartsWithOf ( const char **  schStrs,
unsigned long  count 
)

Definition at line 546 of file oofwords.cpp.

References dbQueryClause::hasAnyWordStartsWith, and mThisField.

Referenced by hasAnyWordsStartsWithOf().

dbQueryBinary OOF_mixKeywordableField::hasAnyWordsStartsWithOf ( oofWordParser inParser)
dbQueryBinary OOF_mixKeywordableField::hasWord ( const char *  str) const

Definition at line 474 of file oofwords.cpp.

References dbQueryClause::hasWord, and mThisField.

dbQueryBinary OOF_mixKeywordableField::hasWordStartsWith ( const char *  str) const

Definition at line 481 of file oofwords.cpp.

References dbQueryClause::hasWordStartsWith, and mThisField.

void OOF_mixKeywordableField::indexWords ( oofWordParser adoptedParser = 0)
oofWordParser * OOF_mixKeywordableField::wordParser ( ) const

Definition at line 595 of file oofwords.cpp.

References dbField::fieldTable(), dbTable::getDefaultWordParser(), mParser, and mThisField.

Referenced by dbChar::words(), and dbText::words().

Member Data Documentation

oofWordParser* OOF_mixKeywordableField::mParser
protected
dbField* OOF_mixKeywordableField::mThisField
protected

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