Provides the name of an option category.
virtual void GetCategoryName( _LONG_T category, char name[] ) = 0;
Parameters |
Description |
_LONG_T category |
Index of the category |
char name[] |
Buffer for receiving the category name; the length of the name should be at most 255 |
The GetCategoryName method has no return value.
The GetCategoryName method is used by AIMMS to retrieve the name of an option category.
From the initial calls to the methods GetInitialInfo and GetOptionsInfo, AIMMS has retrieved the number of categories. It then assumes that the categories are numbered from 0 up to the number of categories minus 1. To each of these numbers a unique category name should be assigned.