next up previous contents
Next: GetCategoryKeys Up: Category Access Methods Previous: GetCategoryDescription

GetCategoryMandatoryCode

NAME GetCategoryMandatoryCode

PROTOTYPE

#include "CifBuilder.h"

char * CifBuilder::GetCategoryMandatoryCode(const char *
                                            categoryId);

EXAMPLE

#include "CifBuilder.h"

CifBuilder cb("mmCif96.psf");

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

char * mandCode = cb.GetCategoryMandatoryCode("atom_site");
PURPOSE

GetCategoryDescription returns the mandatory code of a category in the current context.

RECEIVES

categoryId the name of the category

RETURN VALUE

Returns the mandatory code of the category as a char *.

REMARKS

None



Olivera Tosic
6/13/2002