next up previous contents
Next: cifGetItemPrimitiveCodeByIndex Up: CIFLIB Item Convenience Functions Previous: cifGetItemDefaultValueByIndex

cifGetItemPrimitiveCode

NAME cifGetItemPrimitiveCode

PROTOTYPE
#include "ciflib.h"

int cifGetItemPrimitiveCode(const char *dataBlockName, 
                            const char *categoryName,
                            const char *itemKeyword)
PURPOSE

cifGetItemPrimitiveCode returns an integer code describing the primitive data type of the target item. The target item is identified by the keyword name and the name of the category and data block in which it is defined.

RECEIVES

dataBlockName name of the target data block
categoryName name of the target category
itemKeyword name of the target keyword in the target category

RETURN VALUE

Returns CIF_STRING_VALUE, CIF_INTEGER_VALUE, CIF_DOUBLE_VALUE, or the value -1 for failure.

REMARKS

See also: cifGetItemPrimitiveCodeByIndex



Olivera Tosic
6/17/2002