tsc_LibListAttribute
This is a subclass of tsc_LibraryAttribute which contains details for attributes of type List, which is one string from a supplied list of acceptable string values.
Public members
tsc_LibListAttribute (const tsc_LibraryAttribute& attributeBase);
Constructs a list attribute given a base class instance. The constructor will fail if the attribute type is not List.
int DefaultValue() const;
Returns the default zero-based item number.
tsc_String StringValue() const;
Returns the text value of the default item.
tsc_StringList Items () const;
Returns the list of valid strings.
Inherited members
tsc_String Name () const;
Returns the name of the attribute.
tsc_AttributeEntryMode EntryMode () const;
Returns the entry mode of the attribute. This should be queried to determine whether the user must input a value for this attribute, or whether it is read-only, automatically generated, etc.
tsc_AttributeType Type () const;
Returns the data type of the attribute. The attribute stored with the database entity must be of the same type.