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