#include "CifBuilder.h"
char ** CifBuilder::GetCategoryKeys(const char * categoryId,
uWord & n);
#include "CifBuilder.h"
CifBuilder cb("mmCif96.psf");
cb.BuildDictionaryList();
cb.SetContext("cifdic.m96");
uWord numKeys = 0;
char ** keys = cb.GetCategoryKeys("atom_site", numKeys);
GetCategoryKeys returns an array containing the item names that are the keys to the category categoryId.
categoryId | the name of the category |
n | a reference to a uWord to hold the number of keys |
Returns the keys as a char ** or NULL. The number of keys will be passed back via the second argument.
None |