#include "ciflib.h" int cifGetItemPrimitiveCode(const char *dataBlockName, const char *categoryName, const char *itemKeyword)
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.
dataBlockName | name of the target data block |
categoryName | name of the target category |
itemKeyword | name 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: | cifGetItemPrimitiveCodeByIndex |
---|