XPRBgetcuttype
XPRBgetcuttype |
Purpose
Synopsis
int XPRBgetcuttype(XPRBcut cut);
Argument
|
cut
|
Reference to a previously created cut.
|
Return value
|
XPRB_L
|
|
|
XPRB_G
|
|
|
XPRB_E
|
|
|
-1
|
An error has occurred,
|
Example
Get the type of
cut1.
XPRBcut cut1;
int rtype;
XPRBprob expl1;
expl1 = XPRBnewprob("cutexample");
cut1 = XPRBnewcut(expl1, XPRB_E, 1);
rtype = XPRBgetcuttype(cut1);
Further information
This function returns the type of the given cut.
Related topics
