next up previous contents
Next: GetItemDefaultValue Up: Item Access Methods Previous: GetItemRegex

GetItemMandatoryCode

NAME GetItemMandatoryCode

PROTOTYPE

#include "CifBuilder.h"

char * CifBuilder::GetItemMandatoryCode(const char * itemName);

EXAMPLE

#include "CifBuilder.h"

CifBuilder cb("mmCif96.psf");

cb.BuildDictionaryList();
cb.SetContext("cifdic.m96");
char * mandatory = cb.GetItemMandatoryCode("_atom_site.cartn_x");
PURPOSE

GetItemMandatoryCode returns the mandatory code for the item itemName in the current context

RECEIVES

itemName the name of the item

RETURN VALUE

Returns the mandatory code as a char * or NULL.

REMARKS

None



Olivera Tosic
6/13/2002