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

GetItemPrimitiveCode

NAME GetItemPrimitiveCode

PROTOTYPE

#include "CifBuilder.h"

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

EXAMPLE

#include "CifBuilder.h"

CifBuilder cb("mmCif96.psf");

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

GetItemPrimitiveCode returns the primitive code for the item itemName in the current context

RECEIVES

itemName the name of the item

RETURN VALUE

Returns the primitive code as a char * or NULL.

REMARKS

None



Olivera Tosic
6/13/2002