next up previous contents
Next: Category Access Methods Up: Item Access Methods Previous: GetItemMethods

GetItemTypeConditions

NAME GetItemTypeConditions

PROTOTYPE

#include "CifBuilder.h"

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

EXAMPLE

#include "CifBuilder.h"

CifBuilder cb("mmCif96.psf");

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

uWord numConditions = 0;
char ** conditions =
 cb.GetItemTypeConditions("_atom_site.cartn_x", numConditions);
PURPOSE

GetItemTypeConditions returns an array containing the item type conditions of the item itemName.

RECEIVES

itemName the name of the item
n a reference to a uWord to hold the number of type conditions

RETURN VALUE

Returns the type conditions as a char ** or NULL. The number of type conditions will be passed back via the second argument.

REMARKS

None



Olivera Tosic
6/13/2002