next up previous contents
Next: GetItemPrimitiveCode Up: Item Access Methods Previous: GetItemDescription

GetItemType

NAME GetItemType

PROTOTYPE

#include "CifBuilder.h"

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

EXAMPLE

#include "CifBuilder.h"

CifBuilder cb("mmCif96.psf");

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

GetItemType returns the type for the item itemName in the current context

RECEIVES

itemName the name of the item

RETURN VALUE

Returns the type as a char * or NULL.

REMARKS

None



Olivera Tosic
6/13/2002