#include <Siena.h>
Public Member Functions | |
AttributeConstraint () | |
AttributeConstraint (const AttributeValue &v) | |
AttributeConstraint (SXOperator o, const AttributeValue &v) | |
AttributeConstraint (const AttributeConstraint &c) | |
AttributeConstraint & | operator= (const AttributeConstraint &c) |
AttributeConstraint & | operator= (const AttributeValue &v) |
bool | operator== (const AttributeConstraint &c) const |
bool | apply_to (const AttributeValue &v) |
Public Attributes | |
SXOperator | op |
AttributeValue | value |
An AttributeConstraint
represents a condition posed on an attribute value. It stores an operator plus a comparison value. The meaning of an attribute constraint is defined by its method apply_to
|
default constructor
|
|
construct from an AttributeValue
|
|
construct from an AttributeValue and a SXOperator
|
|
copy constructor |
|
applies this constraint to an attribute value
|
|
assignment from an AttributeValue
assigns the comparison value using
|
|
copy assignment |
|
equality operator |
|
the constraint operator |
|
the comparison value |