Timed color set functions

A number of functions are predefined for all Timed color sets. In the following, we assume that the color set cs has been declared as a timed color set. Functions for the untimed version of the color set (which is always automatically defined in addition to the timed version) are described on the help page for Color set functions.

Equality Operators

The equality operators = and <> are defined for all timed color sets, while <, >, <= and >= are not defined for timed color sets. To test the order of the elements in timed color sets, use the lt function, which is described below.

Functions for all timed color sets

Note that while the color set cs has been declared as a timed color set, the names of the following functions have the prefix cs'timed.

returns true if cs.lt(c1,c2), or if (c1=c2 and ModelTime.lt(ts2,ts1)) (note that a big time stamp is less than a small time stamp), otherwise returns false
test whether value v is a member of the (untimed) color set cs. v must be a member of either the color set cs, an alias color set for cs or a superset color set of cs
make string representation of a timed color, i.e. color c with time stamp ts
make string representation of a timed multi-set
read a timed color, i.e. a color and a time stamp, from input stream s
read a timed multi-set from input stream s
write color c with time stamp ts, to output stream s
write timed multi-set tms to output stream s