Siena C++ API documentation.

enum SienaOperator

operator identifier for Siena

[more] Siena_eq
equals
[more] Siena_sf
suffix
[more] Siena_pf
prefix
[more] Siena_lt
less than.
[more] Siena_gt
greater than
[more] Siena_le
less or equal
[more] Siena_ge
greater or equal
[more] Siena_xx
any (don't care)
[more] Siena_ne
not equal
[more] Siena_ss
contains substring


Documentation

Siena defines some of the most common operators (or binary relations). SienaOperator is the type of operator identifiers.
o Siena_eq
equals

o Siena_sf
suffix x Siena_sf y is true if y is a suffix of x. For example, "software" Siena_sf "ware" == true, while "software" Siena_sf "w" == false. Siena_sf is defined for strings only.

o Siena_pf
prefix. x Siena_pf y is true if y is a prefix of x. For example, "software" Siena_pf "soft" == true, while "software" Siena_pf "of" == false. Siena_pf is defined for strings only.

o Siena_lt
less than. Integers and doubles are ordered as usual, strings are sorted in lexicographical order. For booleans, false < true.

o Siena_gt
greater than

o Siena_le
less or equal

o Siena_ge
greater or equal

o Siena_xx
any (don't care) always true.

o Siena_ne
not equal

o Siena_ss
contains substring. x Siena_ss y is true if y is a substring of x. For example, "software" Siena_ss "war" == true, while "software" Siena_ss "hard" == false. Siena_ss is defined for strings only.

Alphabetic index HTML hierarchy of classes or Java


This document is part of Siena. Please, direct any comment or suggestion to Antonio Carzaniga