Previous Next Up Title Contents Index Functions Index Top Library

OPEN STRUCTURE

POPEN_STRUCT


CALL SEQUENCE

void popen_struct(
)

PHIGS STATE

(PHOP, *, STCL, *).

EFFECT

OPEN STRUCTURE creates a new structure or begins editing an existing structure. If the structure designated by the function already exists, it is opened and element pointer or cursor is positioned on the last element in the structure.

If struct_id does not exist, an empty structure is created and opened and element pointer equals zero.

Elements which can be contained in a structure:

- primitives

- attributes

- view index

- modelling transformation

- label

- name set

- application data

Operations possible on an open structure:

- element destruction or addition

- access to current element, its contents, its type, its size

- change element pointer (cursor) position

- request current position of element pointer

The following elements are found in the PHIGS STATE list:

- open structure identifier

- current position of element pointer

- list of all identifiers of structures used.

- edit mode.

ERRORS

6
Ignoring function, function requires state (PHOP,*, STCL, *)

SEE ALSO

close structure, execute structure, set edit mode, set element pointer, inquire structure state value, inquire structure identifiers, inquire set of workstation to which posted, inquire open structure, inquire element pointer, inquire current element type and size, inquire current element content, inquire structure status, element search


Previous Next Up Title Contents Index Functions Index Top Library