next up previous contents
Next: GetDictionaryMethods Up: Dictionary Access Methods Previous: GetDictionaryCategories

GetDictionaryItems

NAME GetDictionaryItems

PROTOTYPE

#include "CifBuilder.h"

char ** CifBuilder::GetDictionaryItems(uWord & n);

EXAMPLE

#include "CifBuilder.h"

CifBuilder cb("mmCif96.psf");

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

uWord numItems = 0;
char ** items = cb.GetDictionaryItems(numItems);
PURPOSE

GetDictionaryItems returns an array of the item names in the current dictionary datablock (context).

RECEIVES

n a reference to a uWord to hold the number of items

RETURN VALUE

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

REMARKS

None



Olivera Tosic
6/13/2002