next up previous contents
Next: CIFLIB Parent/Child Access Functions Up: CIFLIB Item Convenience Functions Previous: cifGetItemPrimitiveCode

cifGetItemPrimitiveCodeByIndex

NAME cifGetItemPrimitiveCodeByIndex

PROTOTYPE
#include "ciflib.h"

int cifGetItemPrimitiveCodeByIndex(const int  dataBlockIndex, 
                                   const int  categoryIndex,
                                   const int  itemIndex)
PURPOSE

cifGetItemPrimitiveCodeByIndex returns an integer code describing the primitive data type of the target item. The target item is identified by its item index and the indices of the category and data block in which it is defined.

RECEIVES

dataBlockIndex zero-based index of the target data block
categoryIndex zero-based index of the target category
itemIndex zero-based index 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: cifGetItemPrimitiveCode



Olivera Tosic
6/17/2002