[tvision Index] [tvision Hierarchy] [Headers]
Stores a set of commands More...
#include <views.h>
This class stores a set of commands.
Note: this object can only handle commands whose code is within 0 and 255. Only commands in this range may be disabled.
[public]
Constructor.
The initial command set is empty.
[public]
Constructor.
The initial command set is copied from set `tc'.
[public]
Returns True if command `cmd' is in the set.
[public]
Removes command `cmd' from the set.
[public]
Adds command `cmd' to the set.
[public]
Adds command `cmd' to the set.
[public]
Removes command `cmd' from the set.
[public]
Removes all commands in set `tc' from this command set.
[public]
Adds all commands in set `tc' to this command set.
[public]
Adds all commands in set `tc' to this command set.
[public]
Removes all commands in set `tc' from this command set.
[public]
Returns True if the command set is empty.
[public]
Calculates the intersection of this set and the `tc' set.
The resulting set is the larger set which contains commands present in both sets. Returns a reference to this object.
[public]
Calculates the union of this set and the `tc' set.
The resulting set is the smaller set which contains commands present in either sets. Returns a reference to this object.
[public]
Calculates the intersection of this set and the `tc' set.
The resulting set is the larger set which contains commands present in both sets. Returns the resulting set.
[public]
Calculates the union of this set and the `tc' set.
The resulting set is the smaller set which contains commands present in either sets. Returns the resulting set.
[public]
Returns 1 if the sets `tc1' and `tc2' are equal.
Otherwise returns 0.
[public]
Returns 1 if the sets `tc1' and `tc2' are not equal.
Otherwise returns 0.
Documentation generated by sergio@athena.milk.it on Wed Feb 10 22:11:47 CET 1999 | Kdoc |