getmodprop
getmodprop |
Purpose
Synopsis
int getmodprop(XPRMcontext ctx, int prop, XPRMalltypes *value);
Arguments
|
ctx
|
Mosel's execution context
|
||||||||||||||||||||||
|
prop
|
Property to retrieve. Possible values:
|
||||||||||||||||||||||
|
value
|
Pointer to an area where the model property is returned
|
Return value
0 if successful, 1 otherwise.
Further information
1. This function returns information about the running model. The type of the property (specified via the prop argument) decides how the argument
value is interpreted: the field
integer is used for
ID,
VERSION,
SECSTAT and
NBTYPES;
size for
SIZE and
DATE (should be casted to the C type
time_t); and
string for the other properties. The returned version number is coded as an integer, for example, 1.2.3 is coded as
1002003.
2. The
security status is a bit encoded integer indicating whether the bim file was encrypted (value
XPRM_SECSTAT_CRYPTED); signed (value
XPRM_SECSTAT_SIGNED). If the bimfile was signed, the bits
XPRM_SECSTAT_VERIFIED and
XPRM_SECSTAT_UNVERIFIED indicate whether the signature was valid (if none of these bits is set the signature was not checked).
© 2001-2019 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.
