SIS - Application Programmatic Interface, Reference Manual - ICS ...
SIS - Application Programmatic Interface, Reference Manual - ICS ...
SIS - Application Programmatic Interface, Reference Manual - ICS ...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
<strong>SIS</strong>-<strong>Application</strong> <strong>Programmatic</strong> <strong>Interface</strong>, <strong>Reference</strong> <strong>Manual</strong><br />
Adds all instances in set from_set pointing to to. It fails if an instance with the<br />
characteristics given already exists.<br />
int Add_IsA(int sessionID, IDENTIFIER *from, IDENTIFIER *to)<br />
Adds an isA pointing from from to to. It fails if any of from or to does not<br />
exist.<br />
6.7.2 Delete Operations<br />
These operations are used to delete objects from the database:<br />
int Delete_Node(int sessionID, IDENTIFIER *node_name)<br />
Deletes a node with the logical name (or sysid) node_name. It fails if the node<br />
does not exist or has dependencies with other objects.<br />
int Delete_Named_Attribute(int sessionID, IDENTIFIER *link_name, IDENTIFIER<br />
*from)<br />
Deletes a named attribute with the logical name (or sysid) link_name from<br />
from. The from parameter must always specify a SYSID. It fails if the link<br />
link_name does not exist or has dependencies with other objects.<br />
int Delete_Unnamed_Attribute(int sessionID, IDENTIFIER *attribute)<br />
Deletes an unnamed attribute with the given SYSID (given in attribute). It<br />
fails if a link with the given SYSID attribute does not exist or has<br />
dependencies with other objects.<br />
int Delete_Instance(int sessionID, IDENTIFIER *from, IDENTIFIER *to)<br />
Deletes an instance pointing from from to to. It fails if an instance with the<br />
given from, to does not exist or the given link has dependencies with other<br />
objects exist.<br />
Delete_Instance_Set(int sessionID, int from_set, IDENTIFIER *to)<br />
Deletes all the instances of set from_set pointing to to. It fails it an instance<br />
with the given from does not exist or has dependencies with other objects.<br />
int Delete_IsA(int sessionID, IDENTIFIER *from, IDENTIFIER *to)<br />
Deletes an isA pointing from from to to. It fails if an isA with the given from,<br />
to does not exist or the given isA has dependencies with other objects.<br />
6.7.3 Modification Operations<br />
These operations are used to modify the characteristics of objects in the database:<br />
int Rename_Node(int sessionID, IDENTIFIER *node, IDENTIFIER<br />
*NewNodeName)<br />
Change the name of a node. The current node is specified by IDENTIFIER<br />
node and the new logical name for the node by NewNodeName. It fails if a<br />
node with the given IDENTIFIER node does not exist or a node with the given<br />
IDENTIFIER NewNodeName already exists.<br />
August 2002/v2.2.2 -39- <strong>ICS</strong>-FORTH