interface of a generic constraint in the Siena data model. More...
#include <types.h>
Public Member Functions | |
| virtual | ~constraint () |
| virtual destructor | |
| virtual operator_id | op () const =0 |
| returns the operator defined for this constraint. | |
| virtual bool | covers (const attribute &a) const throw () |
| applies this constraint to an attribute. | |
interface of a generic constraint in the Siena data model.
A constraint is defined by a name, an operator and a value.
| virtual bool siena::constraint::covers | ( | const attribute & | a | ) | const throw () [virtual] |
applies this constraint to an attribute.