TypeValidator

Engine/source/console/typeValidators.h

More...

Public Attributes

Public Functions

consoleError(SimObject * object, const char * format, ... )

Prints a console error message for the validator.

validateType(SimObject * object, void * typePtr)

validateType is called for each assigned value on the field this validator is attached to.

Detailed Description

Public Attributes

S32 fieldIndex 

Public Functions

TypeValidator()

~TypeValidator()

consoleError(SimObject * object, const char * format, ... )

Prints a console error message for the validator.

The message is prefaced with with:

className objectName (objectId) - invalid value for fieldName: msg

validateType(SimObject * object, void * typePtr)

validateType is called for each assigned value on the field this validator is attached to.

Reimplemented by: FRangeValidator, IRangeValidator, IRangeValidatorScaled, Point3NormalizeValidator