Lines Matching defs:instance
39 elaborate per class or per instance data, this should be
48 on a per instance basis, but there needed to be some mechanism
49 that identified an instance as belonging to a package.
86 * An instance list is a child of a class.
87 * An attribute list is a child of an instance.
101 struct instanceStruct instance;
221 freeInstance: The instance node destructor...
232 tmp = ip->nodeValue.instance.pkg;
237 nextInstance = ip->nodeValue.instance.nextInstance;
238 prevInstance = ip->nodeValue.instance.prevInstance;
240 nextInstance->nodeValue.instance.prevInstance =
243 prevInstance->nodeValue.instance.nextInstance =
370 searchInstance: Searches for the instance node identified by "name",
392 parented by the instance node identified by "name",
453 createInstance: Creates a new instance node parented by the class node
454 identified by "class". The instance node will be identified
483 ip->nodeValue.instance.pkg = NULL;
487 if (instanceListTail->nodeValue.instance.lineNumber ==
490 ip->nodeValue.instance.lineNumber = lineNumber;
491 ip->nodeValue.instance.nextInstance = NULL;
492 ip->nodeValue.instance.prevInstance = instanceListTail;
493 instanceListTail->nodeValue.instance.nextInstance = ip;
497 ip->nodeValue.instance.lineNumber = lineNumber;
498 ip->nodeValue.instance.nextInstance = NULL;
499 ip->nodeValue.instance.prevInstance = NULL;;
963 (void)fprintf(stderr,"^^^ Bad class instance, line %d, ^^^\n", lineNumber-lastLineNumber);
1061 char *pkg = ip->nodeValue.instance.pkg;
1066 ip->nodeValue.instance.lineNumber))
1097 ip = ip->nodeValue.instance.nextInstance;
1116 char *pkg = ip->nodeValue.instance.pkg;
1276 char *pkg = ip->nodeValue.instance.pkg;
1302 It takes a list of attributes and adds them to an instance of a class.
1303 If that class and/or instance does not already exist, they are or it is created.If that instance does exist, replacements, when necessary, occur on a per
1304 attribute/value pair basis, otherwise they are merely added to the instance.
1338 "OWconfigRemoveInstance" removes an instance of a class, identified by
1370 instance of a class. If that class and/or instance does not already
1372 within the instance, it is replaced.
1437 if (!ip->nodeValue.instance.pkg) {
1441 ip->nodeValue.instance.pkg = tmpPkg;
1460 Return: (char **) to list of class instance names or NULL if class did
1545 to the instance identified by "class" and "name". Use "OWconfigFreeInstance"
1550 OWconfigAttributePtr or NULL (if instance doesn't exist).
1566 /*** Count the number of attributes in the instance... ***/