next up previous contents
Next: GetItemRelated Up: Item Access Methods Previous: GetItemAliasesDictionaryVersion

GetItemDependents

NAME GetItemDependents

PROTOTYPE

#include "CifBuilder.h"

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

EXAMPLE

#include "CifBuilder.h"

CifBuilder cb("mmCif96.psf");

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

uWord numDependents = 0;
char ** dependents = cb.GetItemDependents("_atom_site.cartn_x",
                                           numDependents);
PURPOSE

GetItemDependents returns an array containing the names of the dependent items for the item itemName.

RECEIVES

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

RETURN VALUE

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

REMARKS

None  



Olivera Tosic
6/13/2002