#include "ciflib.h" int cifGetItemPrimitiveCodeByIndex(const int dataBlockIndex, const int categoryIndex, const int itemIndex)
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.
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 |
Returns CIF_STRING_VALUE, CIF_INTEGER_VALUE, CIF_DOUBLE_VALUE, or the value -1 for failure.
See also: | cifGetItemPrimitiveCode |
---|