ntg_instance_ Struct Reference

#include <integra_instance.h>

Data Fields

ntg_id id
ntg_id class_id
char * name
struct ntg_instance_next
struct ntg_instance_prev
struct ntg_instance_parent
struct ntg_instance_instances
ntg_instance_attributeattributes
ntg_instance_attributeattribute_current
ntg_instance_attributeattribute_last
int n_attributes
int dirty

Field Documentation

Linked list of attributes. These actually hold the state data for the instance. The pointer *attributes always points to the root node of the list

The unique id of the class to which this instance belongs. Corresponds to the 'id' attribute of the '/Collection/object/definition' element of the CollectionSchema.

Used to determine whether the instance has been changed since last save/load

Note:
{Collections share the same id allocation pool as other classes} Corresponds to the 'id' attribute of the '/Collection/object' element of the CollectionSchema.

Contained instances. This is a pointer to an instance node that is conceptually 'inside' the current instance. If *instances is NULL, we at an end node in the instance graph

This is the instance name, used to uniquely identify an instance in it's containing scope. Corresponds to the '/Collection/object/name' element of the CollectionSchema.

This points to an instance list node on the same nesting level.

Points back to the containing instance

Points back to the previous instance. Used mainly in node deletion


The documentation for this struct was generated from the following file:

Generated on Tue Jan 5 14:02:30 2010 for LibIntegra by  doxygen 1.6.1