#include "CifBuilder.h"
char ** CifBuilder::GetItemTypeConditions(const char * itemName,
uWord & n);
#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);
GetItemTypeConditions returns an array containing the item type conditions of the item itemName.
itemName | the name of the item |
n | a reference to a uWord to hold the number of type conditions |
Returns the type conditions as a char ** or NULL. The number of type conditions will be passed back via the second argument.
None |