AP&C API Reference
Classes | Enumerations
Apac.Logic Namespace Reference

Classes

class  PredicateExpression
 This class defines an expression that can be used in building a predicate, either alone or in conjunction with other expressions. Each expression consists of a variable name, which is the source of the data to be compared (ie: column name, property name, whatever), an operator (>, <, etc), and a comparison value. More...
 
class  PredicateSet
 This class defines a structure for creating a set of predictate expressions, such as would be used when composing a 'where' clause in a database query or an XPath qualifier. It is basically a simplified List{PredicateExpression} implemenation that allows iteration and some special methods for adding expressions. More...
 
class  WhyBool
 WhyBool is a boolean implementation that allows the user to attach a reason for the boolean value. It has been overloaded to allow quick comparison with true System.Boolean values. Using this type of value as a return value from validation-type routines can help keep program flow control from creeping into exception handlers and prevent the need for 'ref' parameters to store the reason for the boolean value. More...
 

Enumerations

enum class  PredicateOperators {
  EqualTo = 0x01 , NotEqualTo = 0x02 , GreaterThan = 0x04 , LessThan = 0x08 ,
  GreaterThanOrEqualTo = 0x10 , LessThanOrEqualTo = 0x20 , BeginsIn = 0x40 , EndsIn = 0x80 ,
  Like = 0x100 , IsEmpty = 0x200 , IsNotEmpty = 0x400 , IsOneOf = 0x800
}
 

Enumeration Type Documentation

◆ PredicateOperators

Enumerator
EqualTo 

Operator for equality comparisons.

NotEqualTo 

Operator for inequality comparisons.

GreaterThan 

Operator for greater-than comparisons.

LessThan 

Operator for less-than comparisons.

GreaterThanOrEqualTo 

Operator for greater-than-or-equal comparisons.

LessThanOrEqualTo 

Operator for less-than-or-equal comparisons.

BeginsIn 

Operator for a 'like' comparison at on the beginning of the value.

EndsIn 

Operator for a 'like' comparison at on the ending of the value.

Like 

Operator for a 'like' comparison at any position of the value.

IsEmpty 

Operator for a comparison to an empty string.

IsNotEmpty 

Operator for a negative comparison to an empty string.

IsOneOf 

Operator for checking against a set.