next up previous contents
Next: GetDictionaryItems Up: Dictionary Access Methods Previous: GetDictionarySubcategories

GetDictionaryCategories

NAME GetDictionaryCategories

PROTOTYPE

#include "CifBuilder.h"

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

EXAMPLE

#include "CifBuilder.h"

CifBuilder cb("mmCif96.psf");

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

uWord numCat = 0;
char ** categories = cb.GetDictionaryCategories(numCat);
PURPOSE

GetDictionaryCategories returns an array of the category names in the current dictionary datablock (context).

RECEIVES

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

RETURN VALUE

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

REMARKS

None



Olivera Tosic
6/13/2002