next up previous contents
Next: cifGetItemPrimitiveCode Up: CIFLIB Item Convenience Functions Previous: cifGetItemDefaultValue

cifGetItemDefaultValueByIndex

NAME cifGetItemDefaultValueByIndex

PROTOTYPE

#include "ciflib.h"

char *cifGetItemDefaultValueByIndex(const int  dataBlockIndex, 
                                    const int  categoryIndex,
                                    const int  itemIndex)
PURPOSE

cifGetItemDefaultValueByIndex returns a character string representing the default value 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 a character string representing the default value or a NULL value for failure.

REMARKS

See also: cifGetItemDefaultValue



Olivera Tosic
6/17/2002