Class SProperty |
A singleton class that provides global access to a set of properties throughout a program's execution. Note that, unlike the Property class, SProperty does not provide persistence outside of a single execution. Any Unicon entity can be the value of a property managed by SProperty.
Details |
Constructor |
Construct a singleton SProperty class.
Methods: |
Remove all properties from the database
the number of properties |
Produce the number of properties.
set of property names |
Produce a set of the names of all of the properties.
table of all the properties |
Produce a table containing all of the properties. The keys are the property names.
pName | name of the property |
the current value of the named property |
Produce a property's value.
pName | name of the property |
the ximage() string value of the named property |
Produce a property's value as an ximage() string.
pName | name of property to remove |
Remove a property from the database
name | name of the property |
value | value for the named property |
Set a property's value.
switchPropertyTable(tableName)
This is a NO-OP in the SProperty class.
Fields: |