QTAtoms QT Atom commands

QT_FindChildByID

QT_FindChildByID(containerRef; parentAtomOffset; atomType; atomID; atomOffset):error
containerRef Longint Atom container reference
parentAtomOffset Longint Parent atom offset
atomType String4 Atom type
atomID Longint Atom ID
atomOffset Longint Atom offset
error Longint Error result

Retrieves an atom by type and ID from the child list of the specified parent atom.

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

Parameter parentAtomOffset specifies the parent atom within the atom container. To reference the root level atom, set parentAtomOffset to 0.

Parameter atomType specifies the type of the atom to be retrieved.

Parameter atomID specifies the ID of the atom to be retrieved.

Parameter atomOffset receives the offset of the found atom.

Related commands

QT_FindChildByIndex Retrieves an atom by type and index from the child list of the specified parent atom

QTAtoms © Escape
Generated by QDoc 2.8 on Tue, Jan 27, 2009 20:29:53