UF_WEIGHT_exceptions_s (view source)
 
Defined in: uf_weight.h
 
Also known as:
 
Overview
Structure for returning exceptions generated while calculating weight data.

All the fields except n_exceptions are arrays.
Each element in turn describes a single exception;
the nth element of each array describes the same exception.

The entire exceptions struct must be initialised before use by calling
UF_WEIGHT_init_exceptions

The entire exceptions struct can be freed as a whole by calling
UF_WEIGHT_free_exceptions


Data Members

n_exceptions
int
The total number of exceptions found.

reasons
UF_WEIGHT_exception_reason_t *
An array of UF_WEIGHT_exception_reasons_t's, detailing
the nature of each exception.

part_names
char * *
<OF>
Array of the names of the parts generating each exception.
Where a component generated the exception, the name of
its prototype part is given.

comp_names
char * *
<OF>
Array of the names of the components generating each
exception. Where a part generated the exception, this
is the empty string "".

on_part
logical *
Array of logicals. True if a part generated the
exception, false if it was a component.

repeat_counts
int *
The number of times the given exception (defined by the
reason and the part and/or component involved) occurred
during the traversal. Because this field is present,
no two exceptions should be the same.