Torque2D Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | List of all members
FRangeValidator Class Reference

Floating point min/max range validator. More...

`#include <ConsoleTypeValidators.h>`

Inheritance diagram for FRangeValidator:

## Public Member Functions
| FRangeValidator (F32 minValue, F32 maxValue)
void | validateType (SimObject *object, void *typePtr)
Public Member Functions inherited from ConsoleTypeValidator
| ConsoleTypeValidator ()
virtual | ~ConsoleTypeValidator ()
void | consoleError (SimObject *object, const char *format,...)

## Additional Inherited Members
Public Attributes inherited from ConsoleTypeValidator
S32 | fieldIndex

## Detailed Description

Floating point min/max range validator.

## Constructor & Destructor Documentation

FRangeValidator | ( | F32 | minValue,
|  | F32 | maxValue
| ) |  |
| inline

## Member Function Documentation

void validateType | ( | SimObject * | object,
|  | void * | typePtr
| ) |  |
| virtual

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

Implements ConsoleTypeValidator.

The documentation for this class was generated from the following files:

- console/ConsoleTypeValidators.h
- console/ConsoleTypeValidators.cc