torque Torque Game Engine Documentation
TGE Version 1.5.2

IRangeValidator Class Reference

#include <typeValidators.h>

Inheritance diagram for IRangeValidator:

Inheritance graph
[legend]

Detailed Description

Signed integer min/max range validator.


Public Member Functions

 IRangeValidator (S32 minValue, S32 maxValue)
void validateType (SimObject *object, void *typePtr)
 validateType is called for each assigned value on the field this validator is attached to.

Private Attributes

S32 minV
S32 maxV


Constructor & Destructor Documentation

IRangeValidator::IRangeValidator ( S32  minValue,
S32  maxValue 
) [inline]


Member Function Documentation

void IRangeValidator::validateType ( SimObject object,
void typePtr 
) [virtual]

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

Implements TypeValidator.


Field Documentation




All Rights Reserved GarageGames.com, Inc. 1999-2005
Auto-magically Generated with Doxygen