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: Dictionary Access Methods Up: Subcategory Access Methods Previous: GetSubcategoryExamplesDetail

GetSubcategoryMethods

NAME GetSubcategoryMethods

PROTOTYPE

#include "CifBuilder.h"

char ** CifBuilder::GetSubcategoryMethods(const char *
                                          subcategoryId,
                                          uWord & n);

EXAMPLE

#include "CifBuilder.h"

CifBuilder cb("mmCif96.psf");

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

uWord numMethods = 0;
char ** methods = cb.GetSubcategoryMethods("matrix", numMethods);
PURPOSE

GetSubcategoryMethods returns an array of subcategory method IDs that are associated with the subcategory subcategoryId.

RECEIVES

subcategoryId the name of the subcategory
n a reference to a uWord to hold the number of subcategory methods

RETURN VALUE

Returns the subcategory 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