tsc_NumberAttribute
This class holds an attribute that is a floating-point number, stored as a double. tsc_NumberAttribute is a subclass of tsc_Attribute.
Public constructors
tsc_NumberAttribute ();
Constructs an empty number attribute.
tsc_NumberAttribute (const char* name, double value);
Constructs a number attribute with the given name and valyue.
tsc_NumberAttribute (const tsc_Attribute& attributeBase);
Constructs a number attribute which is a reference to the supplied base instance. The base instance must be a number attribute.
Public methods
double Value () const;
Gets the current value.
void Value (double value);
Sets the current value.
Inherited methods
tsc_String Name () const;
Returns the name of the attribute.
tsc_AttributeType Type () const;
Returns the type of the attribute value.
bool IsNull () const;
Returns true if the attribute is null, probably as a result of a failed operation.
virtual tsc_String ToString () const;
Returns a string representation of the attribute's value.