Trim validator does not check anything. It just removes leading and trailing blank spaces in an attribute value.
You can find more information in comments below. Overrided methods can be found in corresponding base class or interface.
class CDbValidatorTrim :public CDbValidator
{
public:
// IDbValidator methods
bool Validate(CDbModel *model, IDbAttribute *attribute, String &error) override;
CDbValidatorTrim();
static ReleasablePtr<CDbValidatorTrim> Create(); // Helper static method to create validator in form used in model rule adding methods
};
Namespace: | nitisa |
Include: | Nitisa/Db/DbValidatorTrim.h |