OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
Validator Base Class

The abstract class TValidator is the base class from which all validator classes are derived.

TValidator is a validator for which all input is valid: Member functions TValidator::IsValid and TValidator::IsValidInput always return true, and TValidator::Error does nothing. Derived classes should override IsValid, IsValidInput, and Error to define which values are valid and when errors should be reported. Use TValidator as a starting point for your own validator classes if none of the other validator classes are appropriate starting points.

See Also