RCSB PDB Protein Data Bank A Member of the wwPDB
An Information Portal to Biological Macromolecular Structures
PDB Home | Contact Us
next up previous contents
Next: GetCategoryMethods Up: Category Access Methods Previous: GetCategoryExamplesDetail

GetCategoryCategoryGroups

NAME GetCategoryCategoryGroups

PROTOTYPE

#include "CifBuilder.h"

char ** CifBuilder::GetCategoryCategoryGroups(const char *
                                              categoryId,
                                              uWord & n);

EXAMPLE

#include "CifBuilder.h"

CifBuilder cb("mmCif96.psf");

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

uWord numGroups = 0;
char ** categoryGroups = cb.GetCategoryCategoryGroups("atom_site",
                                                      numGroups);
PURPOSE

GetCategoryCategoryGroups returns an array of category group names to which the category categoryId belongs.

RECEIVES

categoryId the name of the category
n a reference to a uWord to hold the number of category groups

RETURN VALUE

Returns the category group names as a char ** or NULL. The number of category groups will be passed back via the second argument.

REMARKS

None



Olivera Tosic
6/13/2002

 

© RCSB PDB