Index

DKOpCode

Purpose:

DKOpCode is a static helper class to define constants related to comparison and logical operators. This class is used by DKQTerm, DKSearchCriteria, DKSearchNode, an so forth.

Members:

Member functions

opStrings
Gets the string representation of all defined operators.
static const DKString* opStrings(long& arraySize);
 

toString
Converts the given opCode to its string representation.

static DKString toString(short opCode);
 

toOpCode
Converts the given operator string to its opCode representation. Throws an IndexOutOfBoundsException if the opString is invalid.

Parameters

opString
The string representation of the operator with a preceding and a trailing blank.
static short toOpCode(DKString opString);
 

isMultiValueOp
Checks if the opCode requires multiple values.
static DKBoolean isMultiValueOp(short opCode);

(c) Copyright International Business Machines Corporation 1996, 2003. IBM Corp. All rights reserved.