OOFILE  1.9
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
dbQueryLiteralStrArray Class Reference

String fragment arguments passed in as array of C strings. More...

#include <oofquery.h>

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

Public Types

enum  BinaryQueryOps {
  equals, notEquals, lessThan, lessThanOrEqual,
  greaterThan, greaterThanOrEqual, startsWith, hasWord,
  hasAnyWord, hasAllWords, hasWordStartsWith, hasAnyWordStartsWith,
  hasAllWordsStartsWith
}
 
enum  QueryClauseTypes {
  binaryfieldToLiteral, binaryfieldTofield, trinaryFieldToLiterals, entireTable,
  atomicfield, atomicLiteral, atomicLiteralStr, multiLiteralStr,
  binaryCombination, builtQuery
}
 
enum  QueryCombinatorialOps { oofAND, oofOR }
 
enum  TrinaryQueryOps { between, outside }
 

Public Member Functions

virtual const void * binaryContents () const
 
virtual dbQueryClauseclone () const
 
virtual dbQueryClausecloneReplacingTable (const dbTable *inTable, const dbTable *repTable) const
 
virtual const char * current ()
 
 dbQueryLiteralStrArray (const char **schStrs, unsigned long count)
 
virtual void describe (std::ostream &) const
 
virtual void getSearchTables (const dbTable *inSchTable, dbTable *&outDiffFieldTable, dbTable *&outRelatedTable) const
 
bool isSimpleIndexedSearch () const
 
virtual unsigned short literalLen () const
 
virtual bool more ()
 
virtual void next ()
 
dbQueryBinaryCombo operator& (const dbQueryClause &) const
 
dbQueryBinaryComboOwneroperator& (dbQueryClause *adoptRHS)
 
dbQueryBinaryCombo operator&& (const dbQueryClause &) const
 
dbQueryBinaryComboOwneroperator&& (dbQueryClause *adoptRHS)
 
dbQueryBinaryCombo operator| (const dbQueryClause &) const
 
dbQueryBinaryComboOwneroperator| (dbQueryClause *adoptRHS)
 
dbQueryBinaryCombo operator|| (const dbQueryClause &) const
 
dbQueryBinaryComboOwneroperator|| (dbQueryClause *adoptRHS)
 
virtual dbQueryClause::QueryClauseTypes queryClauseType () const
 
virtual void start ()
 
virtual ~dbQueryLiteralStrArray ()
 

Static Public Member Functions

static bool isWordSearch (dbQueryClause::BinaryQueryOps)
 
static bool wildcardsInString (const char *)
 

Static Public Attributes

static char sWildcardMultiple = '*'
 
static char sWildcardSingle = '?'
 

Detailed Description

String fragment arguments passed in as array of C strings.

Definition at line 403 of file oofquery.h.

Constructor & Destructor Documentation

dbQueryLiteralStrArray::dbQueryLiteralStrArray ( const char **  schStrs,
unsigned long  count 
)
inline

Definition at line 405 of file oofquery.h.

Referenced by clone().

dbQueryLiteralStrArray::~dbQueryLiteralStrArray ( )
virtual

Definition at line 1176 of file oofquery.cpp.

Member Function Documentation

const void * dbQueryLiteral::binaryContents ( ) const
virtualinherited
dbQueryClause * dbQueryLiteralStrArray::clone ( ) const
virtual

Implements dbQueryClause.

Definition at line 1182 of file oofquery.cpp.

References dbQueryLiteralStrArray().

dbQueryClause * dbQueryClause::cloneReplacingTable ( const dbTable inTable,
const dbTable repTable 
) const
virtualinherited
const char * dbQueryLiteralStrArray::current ( )
virtual

Implements dbQueryLiteralStrMultiValue.

Definition at line 1210 of file oofquery.cpp.

void dbQueryLiteralStrArray::describe ( std::ostream &  ) const
virtual

Implements dbQueryClause.

Definition at line 1217 of file oofquery.cpp.

void dbQueryClause::getSearchTables ( const dbTable inSchTable,
dbTable *&  outDiffFieldTable,
dbTable *&  outRelatedTable 
) const
virtualinherited
bool dbQueryClause::isSimpleIndexedSearch ( ) const
inherited

Definition at line 65 of file oofquery.cpp.

bool dbQueryClause::isWordSearch ( dbQueryClause::BinaryQueryOps  inOp)
staticinherited

Definition at line 72 of file oofquery.cpp.

Referenced by OOF_ctreeBackend::CanUseIndex().

unsigned short dbQueryLiteral::literalLen ( ) const
virtualinherited
bool dbQueryLiteralStrArray::more ( )
virtual

Implements dbQueryLiteralStrMultiValue.

Definition at line 1196 of file oofquery.cpp.

void dbQueryLiteralStrArray::next ( )
virtual

Implements dbQueryLiteralStrMultiValue.

Definition at line 1203 of file oofquery.cpp.

dbQueryBinaryCombo dbQueryClause::operator& ( const dbQueryClause rhs) const
inherited

Definition at line 80 of file oofquery.cpp.

References dbQueryClause::oofAND.

dbQueryBinaryComboOwner * dbQueryClause::operator& ( dbQueryClause adoptRHS)
inherited

Definition at line 122 of file oofquery.cpp.

References dbQueryClause::oofAND.

dbQueryBinaryCombo dbQueryClause::operator&& ( const dbQueryClause rhs) const
inherited

Definition at line 87 of file oofquery.cpp.

References dbQueryClause::oofAND.

dbQueryBinaryComboOwner * dbQueryClause::operator&& ( dbQueryClause adoptRHS)
inherited

Definition at line 129 of file oofquery.cpp.

References dbQueryClause::oofAND.

dbQueryBinaryCombo dbQueryClause::operator| ( const dbQueryClause rhs) const
inherited

Definition at line 94 of file oofquery.cpp.

References dbQueryClause::oofOR.

dbQueryBinaryComboOwner * dbQueryClause::operator| ( dbQueryClause adoptRHS)
inherited

Definition at line 108 of file oofquery.cpp.

References dbQueryClause::oofOR.

dbQueryBinaryCombo dbQueryClause::operator|| ( const dbQueryClause rhs) const
inherited

Definition at line 101 of file oofquery.cpp.

References dbQueryClause::oofOR.

dbQueryBinaryComboOwner * dbQueryClause::operator|| ( dbQueryClause adoptRHS)
inherited

Definition at line 115 of file oofquery.cpp.

References dbQueryClause::oofOR.

dbQueryClause::QueryClauseTypes dbQueryLiteralStrMultiValue::queryClauseType ( ) const
virtualinherited

Reimplemented from dbQueryLiteral.

Definition at line 1167 of file oofquery.cpp.

References dbQueryClause::multiLiteralStr.

void dbQueryLiteralStrArray::start ( )
virtual

Implements dbQueryLiteralStrMultiValue.

Definition at line 1189 of file oofquery.cpp.

bool dbQueryClause::wildcardsInString ( const char *  schStr)
staticinherited

Member Data Documentation

char dbQueryClause::sWildcardMultiple = '*'
staticinherited
char dbQueryClause::sWildcardSingle = '?'
staticinherited

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