Torque2D Reference
|
#include <ConsoleTypeValidators.h>
Public Member Functions | |
ConsoleTypeValidator () | |
virtual | ~ConsoleTypeValidator () |
void | consoleError (SimObject *object, const char *format,...) |
virtual void | validateType (SimObject *object, void *typePtr)=0 |
Public Attributes | |
S32 | fieldIndex |
|
inline |
|
inlinevirtual |
void consoleError | ( | SimObject * | object, |
const char * | format, | ||
... | |||
) |
Prints a console error message for the validator.
The message is prefaced with with:
|
pure virtual |
validateType is called for each assigned value on the field this validator is attached to.
Implemented in IRangeValidatorScaled, IRangeValidator, and FRangeValidator.
S32 fieldIndex |