XPRMfindident
XPRMfindident |
int XPRMfindident(XPRMmodel model, const char *name, XPRMalltypes *value);
model
|
Reference to a model
|
name
|
Identifier
|
value
|
Pointer to an area where the dictionary entry is returned
|
XPRM_STR_CONST
|
|
XPRM_STR_REF
|
|
XPRM_STR_LIST
|
|
XPRM_STR_SET
|
|
XPRM_STR_ARR
|
|
XPRM_STR_PROC
|
|
XPRM_STR_MEM
|
|
XPRM_STR_UTYP
|
XPRM_TYP_NOT
|
|
XPRM_TYP_INT
|
|
XPRM_TYP_REAL
|
|
XPRM_TYP_STRING
|
|
XPRM_TYP_BOOL
|
|
XPRM_TYP_MPVAR
|
|
XPRM_TYP_LINCTR
|
The union XPRMalltypes groups all possible types and the result of a call to XPRMfindident is decoded as follows depending on the structure:
value.integer
|
for constant, reference or user type
|
value.real
|
for constant or reference
|
value.string
|
for constant or reference
|
value.boolean
|
for constant or reference
|
value.mpvar
|
for reference
|
value.linctr
|
for reference
|
value.list
|
for list (to be used as input for list functions)
|
value.set
|
for set (to be used as input for set functions)
|
value.array
|
for array (to be used as input for array functions)
|
value.ref
|
for a reference to an external type (available operations depend on the actual type)
|
value.proc
|
for procedure and function
|
value.memblk
|
for memory block
|
typedef struct { void *ref; /* Base address of the block */ size_t size; /* Size of the block */ } XPRMmemblk;Note that memory blocks allocated by Mosel are managed by the memory manager of the IO driver and must not be explicitly released.
© 2001-2020 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.