next up previous contents
Next: GetItemUnits Up: Item Access Methods Previous: GetItemMandatoryCode

GetItemDefaultValue

NAME GetItemDefaultValue

PROTOTYPE

#include "CifBuilder.h"

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

EXAMPLE

#include "CifBuilder.h"

CifBuilder cb("mmCif96.psf");

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

GetItemDefaultValue returns the default value for the item itemName in the current context

RECEIVES

itemName the name of the item

RETURN VALUE

Returns the default value as a char * or NULL.

REMARKS

None



Olivera Tosic
6/13/2002