XPRMTyped
-
- All Known Subinterfaces:
- XPRMIdentifier
- All Known Implementing Classes:
- XPRMArray, XPRMConstant, XPRMExternal, XPRMLinCtr, XPRMList, XPRMMemBlock, XPRMMPVar, XPRMNativeType, XPRMParameter, XPRMProblem, XPRMProcedure, XPRMRecord, XPRMRecordField, XPRMReference, XPRMSet, XPRMType, XPRMUserType, XPRMValue
public interface XPRMTypedConstants that may be used to decode an object type.
-
-
Field Summary
Modifier and Type Field and Description static intGRP_DYNstatic intGRP_GENstatic intMSK_FINstatic intMSK_GRPstatic intMSK_STRstatic intMSK_TYPstatic intSTR_ARRAYStructure code for array.static intSTR_CONSTStructure code for constant.static intSTR_LISTStructure code for list.static intSTR_MEMStructure code for memory block.static intSTR_NTYPStructure code for module type.static intSTR_PROBStructure code for problem type.static intSTR_PROCStructure code for procedure/function.static intSTR_RECStructure code for record type.static intSTR_REFStructure code for reference.static intSTR_SETStructure code for set.static intSTR_UTYPStructure code for user type.static intTYP_BOOLType code for Boolean.static intTYP_EXTNType code for external type.static intTYP_INTType code for integer.static intTYP_LINCTRType code for linear constraint.static intTYP_MPVARType code for decision variable.static intTYP_NOTType code for untyped.static intTYP_REALType code for real.static intTYP_STRINGType code for string.
-
Method Summary
Modifier and Type Method and Description intgetStructCode()Structure code.java.lang.StringgetStructName()String representation of structure.intgetTypeCode()Type code.java.lang.StringgetTypeName()String representation of type.
-
-
-
Field Detail
-
MSK_TYP
static final int MSK_TYP
- See Also:
- Constant Field Values
-
MSK_STR
static final int MSK_STR
- See Also:
- Constant Field Values
-
MSK_GRP
static final int MSK_GRP
- See Also:
- Constant Field Values
-
MSK_FIN
static final int MSK_FIN
- See Also:
- Constant Field Values
-
GRP_DYN
static final int GRP_DYN
- See Also:
- Constant Field Values
-
GRP_GEN
static final int GRP_GEN
- See Also:
- Constant Field Values
-
TYP_NOT
static final int TYP_NOT
Type code for untyped.- See Also:
- Constant Field Values
-
TYP_INT
static final int TYP_INT
Type code for integer.- See Also:
- Constant Field Values
-
TYP_REAL
static final int TYP_REAL
Type code for real.- See Also:
- Constant Field Values
-
TYP_STRING
static final int TYP_STRING
Type code for string.- See Also:
- Constant Field Values
-
TYP_BOOL
static final int TYP_BOOL
Type code for Boolean.- See Also:
- Constant Field Values
-
TYP_MPVAR
static final int TYP_MPVAR
Type code for decision variable.- See Also:
- Constant Field Values
-
TYP_LINCTR
static final int TYP_LINCTR
Type code for linear constraint.- See Also:
- Constant Field Values
-
TYP_EXTN
static final int TYP_EXTN
Type code for external type.- See Also:
- Constant Field Values
-
STR_CONST
static final int STR_CONST
Structure code for constant.- See Also:
- Constant Field Values
-
STR_REF
static final int STR_REF
Structure code for reference.- See Also:
- Constant Field Values
-
STR_ARRAY
static final int STR_ARRAY
Structure code for array.- See Also:
- Constant Field Values
-
STR_SET
static final int STR_SET
Structure code for set.- See Also:
- Constant Field Values
-
STR_LIST
static final int STR_LIST
Structure code for list.- See Also:
- Constant Field Values
-
STR_PROC
static final int STR_PROC
Structure code for procedure/function.- See Also:
- Constant Field Values
-
STR_MEM
static final int STR_MEM
Structure code for memory block.- See Also:
- Constant Field Values
-
STR_UTYP
static final int STR_UTYP
Structure code for user type.- See Also:
- Constant Field Values
-
STR_NTYP
static final int STR_NTYP
Structure code for module type.- See Also:
- Constant Field Values
-
STR_REC
static final int STR_REC
Structure code for record type.- See Also:
- Constant Field Values
-
STR_PROB
static final int STR_PROB
Structure code for problem type.- See Also:
- Constant Field Values
-
-
Method Detail
-
getTypeCode
int getTypeCode()
Type code. The code is one of theTYP_*values.- Returns:
- Encoded type
-
getTypeName
java.lang.String getTypeName()
String representation of type.- Returns:
- Type name
-
getStructCode
int getStructCode()
Structure code. The code is one of theSTR_*values.- Returns:
- Encoded structure
-
getStructName
java.lang.String getStructName()
String representation of structure.- Returns:
- Structure name
-
-
