QTAtoms QT Atom commands |

### QT_GetAtomParent

QT_GetAtomParent(containerRef; atomOffset; parentOffset):error
| containerRef | Longint | Atom container reference
| atomOffset | Longint | Atom offset
| parentOffset | Longint | Parent atom
| error | Longint | Error result

Retrieves the type, index and ID of an atom.

Parameter containerRef specifies the atom container. It must have been previously obtained with a call to QT_NewAtomContainer.

Parameter atomOffset specifies the atom whose ID should be retrieved.

Parameter atomType receives type of the specified atom.

Parameter atomID receives ID of the specified atom.

Parameter atomIndex receives index of the specified atom.

Related commands

QT_SetAtomID | Changes the ID of an atom

QTAtoms © Escape
Generated by QDoc 2.8 on Tue, Jan 27, 2009 20:30:04