|
nuXmv API 126f6942
API for nuXmv
|
Functions for handling Properties. More...
Macros | |
| #define | NUXMV_VALID_PROPERTY(property) ((property).repr != NULL) |
| Valid property. | |
Functions | |
| nuxmv_property | nuxmv_make_property (nuxmv_env env, nuxmv_property_type type, nuxmv_expr expr, const char *name) |
| Create a new property. | |
| nuxmv_property | nuxmv_make_property_from_string (nuxmv_env env, nuxmv_property_type type, const char *data, nuxmv_module scope, const char *name) |
| Create a property from string. | |
| nuxmv_result | nuxmv_property_check_satisfiability (nuxmv_env env, nuxmv_property property, const nuxmv_opt *opts, size_t opt_num) |
| Create the satisfiability of a property. | |
| nuxmv_expr | nuxmv_property_get_expr (nuxmv_env env, nuxmv_property property) |
| Get the expression of a property. | |
| const char * | nuxmv_property_get_name (nuxmv_env env, nuxmv_property property) |
| Get the name of a property. | |
| nuxmv_property_type | nuxmv_property_get_type (nuxmv_env env, nuxmv_property property) |
| Get the type of a property. | |
Functions for handling Properties.
| #define NUXMV_VALID_PROPERTY | ( | property | ) | ((property).repr != NULL) |
Valid property.
This macro checks whether property is a valid nuxmv_property.
| [in] | property | The property to inspect. |
true if the option is valid, false otherwise. | nuxmv_property nuxmv_make_property | ( | nuxmv_env | env, |
| nuxmv_property_type | type, | ||
| nuxmv_expr | expr, | ||
| const char * | name | ||
| ) |
Create a new property.
| [in] | env | The environment to modify. |
| [in] | type | The type of the property to create. |
| [in] | expr | An expression to attach the property to. |
| [in] | name | The name of the property as a null-terminated string. name is optional, use NULL as no-value. |
false.Requirements: 03.008
| nuxmv_property nuxmv_make_property_from_string | ( | nuxmv_env | env, |
| nuxmv_property_type | type, | ||
| const char * | data, | ||
| nuxmv_module | scope, | ||
| const char * | name | ||
| ) |
Create a property from string.
| [in] | env | The environment to modify. |
| [in] | name | The name of the property as a null-terminated string. name is optional, use NULL as no-value. |
| [in] | type | The type of the property to create. |
| [in] | data | A null-terminated string containing the property data. |
| [in] | scope | A context symbols belongs to. |
false.Requirements: 03.005
| nuxmv_result nuxmv_property_check_satisfiability | ( | nuxmv_env | env, |
| nuxmv_property | property, | ||
| const nuxmv_opt * | opts, | ||
| size_t | opt_num | ||
| ) |
Create the satisfiability of a property.
| [in] | env | The environment to inspect. |
| [in] | property | The property to check the satisfiability of. |
| [in] | opts | A list of options to apply. If no list shall be used it is safe to use NULL or the result of malloc(0), provided that opt_num=0. |
| [in] | opt_num | The number of options in the list. If no list shall be passed, use 0 as actual value of opt_num. |
false.Requirements: 02.003
| nuxmv_expr nuxmv_property_get_expr | ( | nuxmv_env | env, |
| nuxmv_property | property | ||
| ) |
Get the expression of a property.
| [in] | env | The environment to inspect. |
| [in] | property | The property to check the satisfiability of. |
Requirements: 02.003
| const char * nuxmv_property_get_name | ( | nuxmv_env | env, |
| nuxmv_property | property | ||
| ) |
Get the name of a property.
| [in] | env | The environment to inspect. |
| [in] | property | The property to check the satisfiability of. |
Requirements: 02.003
| nuxmv_property_type nuxmv_property_get_type | ( | nuxmv_env | env, |
| nuxmv_property | property | ||
| ) |
Get the type of a property.
| [in] | env | The environment to inspect. |
| [in] | property | The property to check the satisfiability of. |
Requirements: 02.003