#include <SFFloat.h>
Inheritance diagram for SFFloat:
Public Member Functions | |
SFFloat (float value) | |
virtual int | getType () const |
virtual const char * | getTypeName () const |
virtual void | write (FILE *f, int indent) const |
virtual FieldValue * | copy () |
float | getValue () const |
virtual bool | equals (const FieldValue *value) const |
virtual void | clamp (float min, float max) |
Private Attributes | |
float | _value |
SFFloat::SFFloat | ( | float | value | ) |
virtual int SFFloat::getType | ( | ) | const [inline, virtual] |
Implements FieldValue.
virtual const char* SFFloat::getTypeName | ( | ) | const [inline, virtual] |
Implements FieldValue.
void SFFloat::write | ( | FILE * | f, | |
int | indent | |||
) | const [virtual] |
Implements FieldValue.
virtual FieldValue* SFFloat::copy | ( | ) | [inline, virtual] |
Implements FieldValue.
float SFFloat::getValue | ( | ) | const [inline] |
bool SFFloat::equals | ( | const FieldValue * | value | ) | const [virtual] |
Checks if the value equals the specified as argument field value
Implements FieldValue.
void SFFloat::clamp | ( | float | min, | |
float | max | |||
) | [virtual] |
Reimplemented from FieldValue.
float SFFloat::_value [private] |