next up previous contents
Next: GetItemLinkedParents Up: Item Access Methods Previous: GetItemSubcategories

GetItemLinkedChildren

NAME GetItemLinkedChildren

PROTOTYPE

#include "CifBuilder.h"

char ** CifBuilder::GetItemLinkedChildren(const char * itemName,
                                          uWord & n);

EXAMPLE

#include "CifBuilder.h"

CifBuilder cb("mmCif96.psf");

cb.BuildDictionaryList();
cb.SetContext("cifdic.m96");

uWord numChild = 0;
char ** children =
 cb.GetItemLinkedChildren("_atom_site.cartn_x", numChild);
PURPOSE

GetItemLinkedChildren returns an array containing the child item names of the item itemName.

RECEIVES

itemName the name of the item
n a reference to a uWord to hold the number of child items

RETURN VALUE

Returns the child item names as a char ** or NULL. The number of children will be passed back via the second argument.

REMARKS

See also: GetItemLinkedParents



Olivera Tosic
6/13/2002