20.01.2014 Views

SIS - Application Programmatic Interface, Reference Manual - ICS ...

SIS - Application Programmatic Interface, Reference Manual - ICS ...

SIS - Application Programmatic Interface, Reference Manual - ICS ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>SIS</strong>- <strong>Application</strong> <strong>Programmatic</strong> <strong>Interface</strong>, <strong>Reference</strong> <strong>Manual</strong><br />

int SET_EQUAL(sessionID, set_id_exp1, set_id_exp2)<br />

Set comparison between sets set_id_exp1 and set_id_exp2. If the sets are<br />

equal returns TRUE else returns FALSE.<br />

int SET_DISJOINT(sessionID, set_id_exp1, set_id_exp2)<br />

Set comparison between sets set_id_exp1 and set_id_exp2. If the sets are<br />

disjoint returns TRUE else returns FALSE.<br />

6.3.3.2 Expressions returning an integer value<br />

Functions that are used in logical expressions and return an integer value are the<br />

following:<br />

int VAL(sessionID, int_val)<br />

The integer value int_val passed as argument.<br />

int CARD(sessionID, set_id_expr)<br />

The cardinality of set set_id_exp (Section 6.3.3.4).<br />

6.3.3.3 Expressions returning a system identifier<br />

Functions that are used in logical expressions and describe an object are the<br />

following:<br />

int SYS_ID(int sessionID, int sysid)<br />

The object with system identifier sysid.<br />

int NODE(int sessionID, l_name nodename)<br />

The node object with unique logical name nodename.<br />

int LINK(int sessionID, l_name fromcls, l_name linkname)<br />

The link object with logical name linkname that points from node object with<br />

unique logical name fromcls.<br />

6.3.3.4 Expressions returning a set identifier<br />

Functions that are used in logical expressions and return a set identifier are the<br />

following:<br />

int SET_ID(sessionID, setid)<br />

The object with set identifier setid. If setid is 0 means the object the condition<br />

is evaluated for.<br />

int SET_UNION(sessionID, set_id_expr1, set_id_expr2)<br />

Set union between set described by set_id_expr1 and set described by<br />

set_id_expr2. If the two sets are tuples the union is performed to the tuples<br />

(provided they have the same number of columns).<br />

August 2002/v2.2.2 -24- <strong>ICS</strong>-FORTH

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!