tsc_IntegerAttribute
This class holds an attribute that is a 32-bit integer. tsc_IntegerAttribute is a subclass of tsc_Attribute.
Public constructors
tsc_IntegerAttribute ();
Constructs an empty integer attribute.
tsc_IntegerAttribute (const char* name, int value);
Constructs an integer attribute with the given name and value.
tsc_IntegerAttribute (const tsc_Attribute& attributeBase);
Constructs an integer attribute which is a reference to the supplied base instance. The base instance must be an integer attribute.
Public methods
int Value () const;
Gets the current value.
void Value (int 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.