next up previous contents
Next: CIFLIB Item Value Access Up: CIFLIB Item Access Functions Previous: cifGetItemAliasNames

cifGetItemAliasNamesByIndex

NAME cifGetItemAliasNamesByIndex

PROTOTYPE

#include "ciflib.h"

char **cifGetItemAliasNamesByIndex(const int  dataBlockIndex, 
                                   const int  categoryIndex, 
                                         int *numItem);
PURPOSE

cifGetItemAliasNamesByIndex returns an array of item alias names within the target category within the target data block. If an item has been declared using a valid alias name, then that alias name is returned by this function. This behavior differs from cifGetItemNamesByIndex which always returns item names defined in the current dictionary even if those items have been declared using alias names. The category and data block are identified by their indices.

RECEIVES

dataBlockIndex zero-based index of the target data block
categoryIndex zero-based index of the target category
numItem integer pointer to hold returned number of item names

RETURN VALUE

Returns an array of item alias names or a NULL value for failure. If the operation is successful the number of item names is returned in numItem.

REMARKS

See also: cifGetItemAliasNames



Olivera Tosic
6/17/2002