 |
PK_REPORT_4_t |
|
typedef int PK_REPORT_4_t;
Used in:
PK_REPORT_record_4_t
This datatype indicates the status of a PK_REPORT_record_4_t.
It has the values:
PK_REPORT_4_receive_meshes_c Information on the loading of mesh data.
PK_REPORT_4_error_report_c Information on an error in Parasolid.
A record of PK_REPORT_record_type_4_c that has a status value of
PK_REPORT_4_receive_meshes_c contains the following information for a set of
meshes (PK_MESH_t) for which an error is encountered upon the loading of
associated mesh data:
- Whenever possible, the keys of the meshes are returned. The different keys
are contained in the 2 arrays 'strings' and 'ustrings'. Keys of type char*
are contained in 'strings' while keys of type PK_UCHAR_t* are contained in
'ustrings'.
- An array of 4 'int_arrays' each of length equal to the number of meshes for
which mesh data failed to be loaded.
- The first array contains the mesh tags.
- The second array contains integers indicating the particular error
encountered for each mesh. The possible values correspond to values of
PK_ERROR_code_t.
- The third array contains integers indicating whether the key of each mesh
is of type char*, of type PK_UCHAR_t* or if Parasolid was unable to
determine the key. The possible values correspond to values of
PK_string_type_t.
- The fourth array contains integers indicating where the key of each mesh
can be found. If Parasolid is unable to determine the key of a mesh, this
integer will be -1, otherwise these integers correspond to indices into
the 'strings' or 'ustrings' array depending on the type of the key.
- An array 'strings', possibly of length zero, containing the keys of the
meshes.
- An array 'ustrings', possibly of length zero, containing the unicode keys of
the meshes.
- An array 'item_arrays' containing 1 item array of type PK_ITEM_array_t of
length equal to the number of meshes for which mesh data failed to be loaded.
Each entry contains an entity to which the corresponding mesh is attached or,
in the case of an orphan mesh, the partition to which it belongs.
A record of PK_REPORT_record_type_4_c that has a status value of
PK_REPORT_4_error_report_c contains the following information for a set of
entities for which an error is encountered:
- A single array in 'int_arrays' containing the PK_ERROR_code_t.
- Additional arrays in 'item_arrays' containing the entities responsible
for the error. In the case of a serious error, these entities may no longer
exist. A description of the form these arrays will take can be found in
the documentation of each affected function.