26 #ifndef __TERRALIB_DATAACCESS_INTERNAL_CHECKCONSTRAINT_H
27 #define __TERRALIB_DATAACCESS_INTERNAL_CHECKCONSTRAINT_H
35 namespace dt {
class Property; }
A class that describes a constraint.
A class that describes a check constraint.
~CheckConstraint()
Destructor.
void setExpression(const std::string &e)
It sets the check constraint expression.
ConstraintType getType() const
It returns the constraint type: CHECK.
CheckConstraint(const std::string &name, DataSetType *dt=0, unsigned int id=0)
Constructor.
std::string m_expression
The check constraint expression.
CheckConstraint(DataSetType *dt=0, unsigned int id=0)
Constructor.
CheckConstraint(const CheckConstraint &rhs)
Copy constructor not allowed.
Constraint * clone()
It returns a clone of the object.
CheckConstraint & operator=(const CheckConstraint &rhs)
Assignment operator.
const std::string & getExpression() const
It returns the check constraint expression.
A class that models the description of a dataset.
ConstraintType
A ConstraintType can have one of the following types:
#define TEDATAACCESSEXPORT
You can use this macro in order to export/import classes and functions from this module.