QTAtoms
![]() |
![]() ![]() |
QT_FindChildByIndex(containerRef; parentAtomOffset; atomType; atomIndex; atomOffset):error | |||
![]() |
containerRef | Longint | Atom container reference |
![]() |
parentAtomOffset | Longint | Parent atom offset |
![]() |
atomType | String4 | Atom type |
![]() |
atomIndex | Longint | Atom index |
![]() |
atomOffset | Longint | Atom offset |
![]() |
error | Longint | Error result |
Retrieves an atom by type and index 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 atomIndex specifies the index of the atom to be retrieved.
Parameter atomOffset receives the offset of the found atom.
Related commands
QT_FindChildByID | Retrieves an atom by type and ID from the child list of the specified parent atom |