|
ITK Function Reference
(V10000.1.0.60_20160308.00) |
Macros | |
| #define | LOV_ask_disp_values_msg "LOV_ask_disp_values" |
| #define | LOV_ask_num_of_values_msg "LOV_ask_num_of_values" |
| #define | LOV_ask_value_desc_msg "LOV_ask_value_descriptions" |
| #define | LOV_ask_values_by_coworker_msg "LOV_ask_values_by_coworker" |
| #define | LOV_ask_values_msg "LOV_ask_values" |
| #define | LOV_is_valid_msg "LOV_is_valid" |
| #define | LOV_validate_by_coworker_msg "LOV_valid_by_coworker" |
| #define LOV_ask_disp_values_msg "LOV_ask_disp_values" |
Converts an LOV to a list of strings. This message is called by LOV_ask_disp_values_<type> and anywhere Teamcenter wants to know the list of string values of a specified LOV. This message should use MEM_alloc to allocate space for setting ** disp_values.
For example, LOV with integer values
| tag_t | lov Unique identifier (tag) of the LOV instance. |
| LOV_usage_t | lov_usage Usage of the LOV. |
| int | n_values Number of values to be converted. |
| const | int* values Values in the LOV. |
| const | logical* is_null Indicates which value(s) are null. |
| const | logical* is_empty Indicates which value(s) are empty. |
| char*** | disp_values The converted string values. |
LOV with double values
| tag_t | lov Unique identifier (tag) of the LOV instance. |
| LOV_usage_t | lov_usage Usage of the LOV. |
| int | n_values Number of values to be converted. |
| const | double* values Values in the LOV. |
| const | logical* is_null Indicates which value(s) are null. |
| const | logical* is_empty Indicates which value(s) are empty. |
| char*** | disp_values The converted string values. |
LOV with char values
| tag_t | lov Unique identifier (tag) of the LOV instance. |
| LOV_usage_t | lov_usage Usage of the LOV. |
| int | n_values Number of values to be converted. |
| const | char* values Values in the LOV. |
| const | logical* is_null Indicates which value(s) are null. |
| const | logical* is_empty Indicates which value(s) are empty. |
| char*** | disp_values The converted string values. |
LOV with string values
| tag_t | lov Unique identifier (tag) of the LOV instance. |
| LOV_usage_t | lov_usage Usage of the LOV. |
| int | n_values Number of values to be converted. |
| const | char** values Values in the LOV. |
| const | logical* is_null Indicates which value(s) are null. |
| const | logical* is_empty Indicates which value(s) are empty. |
| char*** | disp_values The converted string values. |
LOV with date values
| tag_t | lov Unique identifier (tag) of the LOV instance. |
| LOV_usage_t | lov_usage Usage of the LOV. |
| int | n_values Number of values to be converted. |
| const | date_t* values Values in the LOV. |
| const | logical* is_null Indicates which value(s) are null. |
| const | logical* is_empty Indicates which value(s) are empty. |
| char*** | disp_values The converted string values. |
LOV with tag values
| tag_t | lov Unique identifier (tag) of the LOV instance. |
| LOV_usage_t | lov_usage Usage of the LOV. |
| int | n_values Number of values to be converted. |
| const | tag_t* values Values in the LOV. |
| const | logical* is_null Indicates which value(s) are null. |
| const | logical* is_empty Indicates which value(s) are empty. |
| char*** | disp_values The converted string values. |
| #define LOV_ask_num_of_values_msg "LOV_ask_num_of_values" |
Gets the number of values in an LOV. This message is called by LOV_ask_num_of_values.
| tag_t | lov Unique identifier (tag) of the LOV instance |
| int* | length The number of values |
| #define LOV_ask_value_desc_msg "LOV_ask_value_descriptions" |
Asks the list of value descriptions of an LOV. A default method for this message is registered for all LOVs automatically. This message is called by LOV_ask_value_descriptions.
| tag_t | lov_tag Unique identifier (tag) of the LOV instance. |
| int* | n_values Number of values returned. |
| char*** | desc_strings The converted string values. |
| logical** | is_null Indicates which value(s) are null. |
| logical** | is_empty Indicates which value(s) are empty. |
| #define LOV_ask_values_by_coworker_msg "LOV_ask_values_by_coworker" |
Ask values by users own method.
| #define LOV_ask_values_msg "LOV_ask_values" |
Asks the list of values of an LOV. Is called by the LOV_ask_values_<type> and anywhere Teamcenter wants to know the list of values of a specified LOV. A default method for this message is registered for all LOVs automatically. Returning the value is done by using MEM_alloc to allocate space for * values and setting that space to the desired value.
For example, LOV with integer values
| tag_t | lov Unique identifier (tag) of the LOV instance. |
| int* | n_values The number of returned values. |
| int** | values Values in the LOV. |
LOV with double values
| tag_t | lov Unique identifier (tag) of the LOV instance. |
| int* | n_values The number of returned values. |
| double** | values Values in the LOV. |
LOV with char values
| tag_t | lov Unique identifier (tag) of the LOV instance. |
| int* | n_values The number of returned values. |
| char** | values Values in the LOV. |
LOV with string values
| tag_t | lov Unique identifier (tag) of the LOV instance. |
| int* | n_values The number of returned values. |
| char*** | values Values in the LOV. |
LOV with date values
| tag_t | lov Unique identifier (tag) of the LOV instance. |
| int* | n_values The number of returned values. |
| date_t** | values Values in the LOV. |
LOV with tag values
| tag_t | lov Unique identifier (tag) of the LOV instance. |
| int* | n_values The number of returned values. |
| tag_t** | values Values in the LOV. |
| #define LOV_is_valid_msg "LOV_is_valid" |
Verifies that an LOV value is valid. It is called by the LOV_is_value_valid_<type> and anywhere Teamcenter wants to verify the value with a specified LOV. A default method for this message is registered for all LOVs automatically.
For example, LOV with integer values
| tag_t | lov Unique identifier (tag) of the LOV instance. |
| int | value The value to be verified. |
| logical* | answer Returns TRUE if valid and FALSE if not valid. |
LOV with double values
| tag_t | lov Unique identifier (tag) of the LOV instance. |
| double | value The value to be verified. |
| logical* | answer Returns TRUE if valid and FALSE if not valid. |
LOV with char values
| tag_t | lov Unique identifier (tag) of the LOV instance. |
| char | value The value to be verified. |
| logical* | answer Returns TRUE if valid and FALSE if not valid. |
LOV with string values
| tag_t | lov Unique identifier (tag) of the LOV instance. |
| const | char* value The value to be verified. |
| logical* | answer Returns TRUE if valid and FALSE if not valid. |
LOV with date values
| tag_t | lov Unique identifier (tag) of the LOV instance. |
| date_t | value The value to be verified. |
| logical* | answer Returns TRUE if valid and FALSE if not valid. |
LOV with tag values
| tag_t | lov Unique identifier (tag) of the LOV instance. |
| tag_t | value The value to be verified. |
| logical* | answer Returns TRUE if valid and FALSE if not valid. |
| #define LOV_validate_by_coworker_msg "LOV_valid_by_coworker" |
Validate a value by users own method.