#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_attribute * | attributes |
ntg_instance_attribute * | attribute_current |
ntg_instance_attribute * | attribute_last |
int | n_attributes |
int | dirty |
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
struct ntg_instance_* ntg_instance_::instances [read] |
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
char* ntg_instance_::name |
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.
struct ntg_instance_* ntg_instance_::next [read] |
This points to an instance list node on the same nesting level.
struct ntg_instance_* ntg_instance_::parent [read] |
Points back to the containing instance
struct ntg_instance_* ntg_instance_::prev [read] |
Points back to the previous instance. Used mainly in node deletion