Description of a user model parameter loaded from the mbs file. More...
#include <mbs_infos_struct.h>
Public Attributes | |
| char * | name |
| Name of the parameter in the user model. More... | |
| char * | description |
| Description of the parameter in the user model. More... | |
| int | type |
| Type of the parameter between 1 and 7. More... | |
| int | n_value |
| Number of values in the parameter. More... | |
| double * | value_list |
| Vector (index starting at 1) containing the values retrieved from the multibody file. More... | |
| char * | string_name |
| Pointer containing the string name (if type is 8). NULL otherwise. More... | |
| void * | val_ptr |
More... | |
| MbsInfoDData ** | d_value |
| d_data for the value. More... | |
| int | is_symmmetric |
| asymmetric = 0, symmetric master = 1, symmetric salve = 2. More... | |
| char * | symmetric_parameter_name |
| The name of the symmetric parameter. More... | |
| char * | structure_name |
| Name of the structure, filled if the parameter is a structure. More... | |
| char * | structure_header |
| Header name with path (relative or absolute) of header describing a structure parameter. More... | |
| int | flag_PRJPATH |
| Flag to indicate that the path to the data file start from the project path (stored as "PRJPATH" in mbs file). More... | |
| char * | structure_lutfile |
| File and path (relative or absolute) to the file containing the Look-up-Table dats. More... | |
Description of a user model parameter loaded from the mbs file.
| MbsInfoDData** d_value |
d_data for the value.
| char* description |
Description of the parameter in the user model.
| int flag_PRJPATH |
Flag to indicate that the path to the data file start from the project path (stored as "PRJPATH" in mbs file).
| int is_symmmetric |
asymmetric = 0, symmetric master = 1, symmetric salve = 2.
| int n_value |
Number of values in the parameter.
| char* name |
Name of the parameter in the user model.
| char* string_name |
Pointer containing the string name (if type is 8). NULL otherwise.
| char* structure_header |
Header name with path (relative or absolute) of header describing a structure parameter.
NULL if the parameter is not a structure.
| char* structure_lutfile |
File and path (relative or absolute) to the file containing the Look-up-Table dats.
NULL if the parameter is not a 1D or 2D Look-up-Table.
| char* structure_name |
Name of the structure, filled if the parameter is a structure.
NULL if the parameter is not a structure.
| char* symmetric_parameter_name |
The name of the symmetric parameter.
Filled if master, NULL if slave or non symmetric.
| int type |
Type of the parameter between 1 and 7.
Valid values are: 1: scalar (one value); 2: vector (one or multiple values); 3: 1D Look-Up-Table; 4: 2D Look-Up-Table; 5: user state (one or multiple values); 6: structure; 7: integer (one value). 8: string (char *)
Each parameter may have zero, one or more values.
| void* val_ptr |
Pointer to the memory storing the value.
The destination of the pointer differs according to parameter type:
This destination is updated by the function mbs_bind_user_model:
| double* value_list |
Vector (index starting at 1) containing the values retrieved from the multibody file.
Integers are interpreted as double during loading.
1.8.17