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: Subcategory Access Methods Up: Category Access Methods Previous: GetCategoryCategoryGroups

GetCategoryMethods

NAME GetCategoryMethods

PROTOTYPE

#include "CifBuilder.h"

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

EXAMPLE

#include "CifBuilder.h"

CifBuilder cb("mmCif96.psf");

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

uWord numMethods = 0;
char ** methods = cb.GetCategoryMethods("atom_site", numMethods);
PURPOSE

GetCategoryMethods returns an array of category method IDs that are associated with the category categoryId.

RECEIVES

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

RETURN VALUE

Returns the category method IDs as a char ** or NULL. The number of methods will be passed back via the second argument.

REMARKS

None



Olivera Tosic
6/13/2002

 

© RCSB PDB