#include "CifBuilder.h"
char ** CifBuilder::GetItemEnumeration(const char * itemName,
uWord & n);
#include "CifBuilder.h"
CifBuilder cb("mmCif96.psf");
cb.BuildDictionaryList();
cb.SetContext("cifdic.m96");
uWord numEnumeration = 0;
char ** enumeration = cb.GetItemEnumeration("_atom_site.cartn_x",
numEnumeration);
GetItemEnumeration returns an enumeration for the item itemName as an array of char *.
itemName | the name of the item |
n | a reference to a uWord to hold the length of the enumeration |
Returns the enumeration as a char ** or NULL. The length of the enumeration will be passed back via the second argument.
See also: | GetItemEnumerationDetail |
---|