Initializing help system before first use

XPRSgetobjecttypename

XPRSgetobjecttypename


Purpose
Function to access the type name of an object referenced using the generic Optimizer object pointer XPRSobject.
Synopsis
int XPRS_CC XPRSgetobjecttypename(XPRSobject object, const char **sObjectName);
Arguments
object 
The object for which the type name will be retrieved.
sObjectName 
Pointer to a char pointer returning a reference to the null terminated string containing the object's type name. For example, if the object is of type XPRSprob then the returned pointer points to the string " XPRSprob".
Further information
This function is intended to be used typically from within the message callback function registered with the XPRS_ge_addcbmsghandler function. In such cases the user will need to identify the type of object sending the message since the message callback is passed only a generic pointer to the Optimizer object ( XPRSobject) sending the message.
Related topics