UF_RULE_add_rule_violations (view source)
 
Defined in: uf_rule.h
 
Overview
Sets the violations of a Design Rule.

Environment
Internal and External

History
Original release was in V14.0.
 
Required License(s)
( routing_base  or  routing_advanced )

 
int UF_RULE_add_rule_violations
(
tag_t rule,
int num_violations,
tag_t * violations
)
tag_truleInputTag of the rule to modify.
intnum_violationsInputNumber of violations.
tag_t *violationsInputViolations array.

 


 
UF_RULE_add_violation_objects (view source)
 
Defined in: uf_rule.h
 
Overview
Adds objects to a violation.

Environment
Internal and External

History
Original release was in V14.0.
 
Required License(s)
( routing_base  or  routing_advanced )

 
int UF_RULE_add_violation_objects
(
tag_t violation,
int num_objects,
tag_t * objects
)
tag_tviolationInputTag of violation to modify.
intnum_objectsInputNumber of objects to add.
tag_t *objectsInputArray of added objects.

 


 
UF_RULE_ask_function_library (view source)
 
Defined in: uf_rule.h
 
Overview
Returns the library of a function.

Environment
Internal and External

History
Original release was in V14.0.
 
Required License(s)
gateway

 
int UF_RULE_ask_function_library
(
tag_t function,
char * * library
)
tag_tfunctionInputTag of function to inquire.
char * *libraryOutput to UF_*free*Shared Library / Image.

 


 
UF_RULE_ask_function_name (view source)
 
Defined in: uf_rule.h
 
Overview
Returns the name of a function.

Environment
Internal and External

History
Original release was in V14.0.
 
Required License(s)
gateway

 
int UF_RULE_ask_function_name
(
tag_t function,
char * * name
)
tag_tfunctionInputTag of function to inquire.
char * *nameOutput to UF_*free*Name of function.

 


 
UF_RULE_ask_function_rules (view source)
 
Defined in: uf_rule.h
 
Overview
Returns the rules of a function.

Environment
Internal and External
 
Required License(s)
gateway

 
int UF_RULE_ask_function_rules
(
tag_t function,
int * num_rules,
tag_t * * rules
)
tag_tfunctionInputTag of function to inquire.
int *num_rulesOutputNumber of rules returned.
tag_t * *rulesOutput to UF_*free*Array of rules. This array must be freed by calling UF_free.

 


 
UF_RULE_ask_object_violations (view source)
 
Defined in: uf_rule.h
 
Overview
Inquire the violations which include this object

Environment
Internal and External

History
Original release was in V14.0.
 
Required License(s)
gateway

 
int UF_RULE_ask_object_violations
(
tag_t object,
int * num_violations,
tag_t * * violations
)
tag_tobjectInputThe object to inquire
int *num_violationsOutputThe number of violations returned
tag_t * *violationsOutput to UF_*free*The array of violations. This must be freed by calling
UF_free.

 


 
UF_RULE_ask_override_reason (view source)
 
Defined in: uf_rule.h
 
Overview
Returns the reason of an override.

Environment
Internal and External

History
Original release was in V14.0.
 
Required License(s)
gateway

 
int UF_RULE_ask_override_reason
(
tag_t override,
char * * reason
)
tag_toverrideInputTag of override to inquire.
char * *reasonOutput to UF_*free*Reason for override (May have carriage returns).

 


 
UF_RULE_ask_override_time_stamp (view source)
 
Defined in: uf_rule.h
 
Overview
Returns the time stamp of an override.

Environment
Internal and External

History
Original release was in V14.0.
 
Required License(s)
gateway

 
int UF_RULE_ask_override_time_stamp
(
tag_t override,
int * time_stamp
)
tag_toverrideInputTag of override to inquire.
int *time_stampOutputDate/Time.

 


 
UF_RULE_ask_override_user (view source)
 
Defined in: uf_rule.h
 
Overview
Sets the user of an override

Environment
Internal and External

History
Original release was in V14.0
 
Required License(s)
gateway

 
int UF_RULE_ask_override_user
(
tag_t override,
char * * user
)
tag_toverrideInputTag of override to modify.
char * *userOutput to UF_*free*New user.

 


 
UF_RULE_ask_override_violations (view source)
 
Defined in: uf_rule.h
 
Overview
Returns the violations overridden by an override.

Environment
Internal and External

History
Original release was in V14.0.
 
Required License(s)
gateway

 
int UF_RULE_ask_override_violations
(
tag_t override,
int * num_violations,
tag_t * * violations
)
tag_toverrideInputTag of override to inquire.
int *num_violationsOutputNumber of violations.
tag_t * *violationsOutput to UF_*free*Array of violations. This array must be freed by
calling UF_free.

 


 
UF_RULE_ask_rule_application (view source)
 
Defined in: uf_rule.h
 
Overview
Returns the application of a Design Rule.

Environment
Internal and External

History
Original release was in V14.0.
 
Required License(s)
gateway

 
int UF_RULE_ask_rule_application
(
tag_t rule,
char * * application
)
tag_truleInputTag of the rule to query.
char * *applicationOutput to UF_*free*Application of the rule.

 


 
UF_RULE_ask_rule_check_function (view source)
 
Defined in: uf_rule.h
 
Overview
Returns the check function of a Design Rule.

Environment
Internal and External

History
Original release was in V14.0.
 
Required License(s)
gateway

 
int UF_RULE_ask_rule_check_function
(
tag_t rule,
tag_t * check_function
)
tag_truleInputTag of the rule to query.
tag_t *check_functionOutputTag of function object.

 


 
UF_RULE_ask_rule_description (view source)
 
Defined in: uf_rule.h
 
Overview
Returns the description of a Design Rule.

Environment
Internal and External

History
Original release was in V14.0.
 
Required License(s)
gateway

 
int UF_RULE_ask_rule_description
(
tag_t rule,
char * * description
)
tag_truleInputTag of the rule to query.
char * *descriptionOutput to UF_*free*Description of the rule.

 


 
UF_RULE_ask_rule_name (view source)
 
Defined in: uf_rule.h
 
Overview
Returns the name of a Design Rule.

Environment
Internal and External

History
Original release was in V14.0.
 
Required License(s)
gateway

 
int UF_RULE_ask_rule_name
(
tag_t rule,
char * * name
)
tag_truleInputTag of the rule to query.
char * *nameOutput to UF_*free*Name of the rule.

 


 
UF_RULE_ask_rule_vios (view source)
 
Defined in: uf_rule.h
 
Overview
Returns the violations of a Design Rule.

Environment
Internal and External

History
Original release was in V14.0.
 
Required License(s)
gateway

 
int UF_RULE_ask_rule_vios
(
tag_t rule,
int * num_violations,
tag_t * * violations
)
tag_truleInputTag of the rule to query.
int *num_violationsOutputNumber of violations returned.
tag_t * *violationsOutput to UF_*free*Violations array. This array must be freed by
calling UF_free.

 


 
UF_RULE_ask_rule_vios_since (view source)
 
Defined in: uf_rule.h
 
Overview
Returns the violations of a design rule since a particular date.

Environment
Internal and External

History
Original release was in V14.0.
 
Required License(s)
gateway

 
int UF_RULE_ask_rule_vios_since
(
tag_t rule,
int since,
int * num_violations,
tag_t * * violations
)
tag_truleInputTag of the rule to inquire.
intsinceInputDate (Number of seconds since Jan 1,
1970 00:00:00 GMT).
int *num_violationsOutputNumber of violations returned.
tag_t * *violationsOutput to UF_*free*Violations array. This array must be freed by calling
UF_free.

 


 
UF_RULE_ask_vio_long_desc (view source)
 
Defined in: uf_rule.h
 
Overview
Returns the long description of a violation.

Environment
Internal and External

History
Original release was in V14.0.
 
Required License(s)
gateway

 
int UF_RULE_ask_vio_long_desc
(
tag_t violation,
char * * long_desc
)
tag_tviolationInputTag of violation to query.
char * *long_descOutput to UF_*free*Verbose description of violation.

 


 
UF_RULE_ask_vio_objects (view source)
 
Defined in: uf_rule.h
 
Overview
Returns the objects of a violation.

Environment
Internal and External

History
Original release was in V14.0.
 
Required License(s)
gateway

 
int UF_RULE_ask_vio_objects
(
tag_t violation,
int * num_objects,
tag_t * * objects
)
tag_tviolationInputTag of violation to inquire.
int *num_objectsOutputNumber of objects to returned.
tag_t * *objectsOutput to UF_*free*Array of objects. This array must be freed by calling
UF_free.

 


 
UF_RULE_ask_vio_override (view source)
 
Defined in: uf_rule.h
 
Overview
Returns the override of a violation.

Environment
Internal and External

History
Original release was in V14.0.
 
Required License(s)
gateway

 
int UF_RULE_ask_vio_override
(
tag_t violation,
tag_t * override
)
tag_tviolationInputTag of violation to inquire.
tag_t *overrideOutputTag of override object.

 


 
UF_RULE_ask_vio_rule (view source)
 
Defined in: uf_rule.h
 
Overview
Returns the rule of a violation.

Environment
Internal and External

History
Original release was in V14.0.
 
Required License(s)
gateway

 
int UF_RULE_ask_vio_rule
(
tag_t violation,
tag_t * rule
)
tag_tviolationInputTag of violation to inquire.
tag_t *ruleOutputTag of rule.

 


 
UF_RULE_ask_vio_short_desc (view source)
 
Defined in: uf_rule.h
 
Overview
Returns the short description of a violation.

Environment
Internal and External

History
Original release was in V14.0.
 
Required License(s)
gateway

 
int UF_RULE_ask_vio_short_desc
(
tag_t violation,
char * * short_desc
)
tag_tviolationInputTag of violation to inquire.
char * *short_descOutput to UF_*free*Terse description of violation.

 


 
UF_RULE_ask_vio_time_stamp (view source)
 
Defined in: uf_rule.h
 
Overview
Returns the time_stamp of a violation.

Environment
Internal and External

History
Original release was in V14.0.
 
Required License(s)
gateway

 
int UF_RULE_ask_vio_time_stamp
(
tag_t violation,
int * time_stamp
)
tag_tviolationInputTag of violation to inquire.
int *time_stampOutputTime in seconds since Jan 1, 1970
00:00:00 GMT.

 


 
UF_RULE_check_rule (view source)
 
Defined in: uf_rule.h
 
Overview
Checks a design rule. The violations are returned using the
time_stamps of the violations that have been created since the check
started. This is done so that the check function does not have to
allocate and return an array of the violations created.
However, the check function is responsible for creating the violation
and attaching the violation to the rule. Otherwise, the new violations
are not found.

Environment
Internal and External

History
Original release was in V14.0.
 
Required License(s)
( routing_base  or  routing_advanced )

 
int UF_RULE_check_rule
(
tag_t rule,
void * data,
int * num_violations,
tag_t * * violations
)
tag_truleInputTag of the rule to check.
void *dataInputClient data to be passed to
check_function.
int *num_violationsOutputNumber of violations created.
tag_t * *violationsOutput to UF_*free*Violations created. This array must be freed by
calling UF_free.

 


 
UF_RULE_check_rules (view source)
 
Defined in: uf_rule.h
 
Overview
Checks many design rules.

Environment
Internal and External

History
Original release was in V14.0.
 
Required License(s)
( routing_base  or  routing_advanced )

 
int UF_RULE_check_rules
(
int num_rules,
tag_t * rules,
void * data,
int * num_violations,
tag_t * * violations
)
intnum_rulesInputNumber of rules to check.
tag_t *rulesInputArray of rules to check.
void *dataInputClient data to be passed to
check_function.
int *num_violationsOutputNumber of violations created.
tag_t * *violationsOutput to UF_*free*Array of violations created. This array must be freed
by calling UF_free.

 


 
UF_RULE_create_function (view source)
 
Defined in: uf_rule.h
 
Overview
Creates a function.

Environment
Internal and External

History
Original release was in V14.0.
 
Required License(s)
gateway

 
int UF_RULE_create_function
(
tag_t object_in_part,
char * name,
char * library,
tag_t * function
)
tag_tobject_in_partInputTag of object in same part to create function.
char *nameInputName of function.
char *libraryInputName of shared library / image.
tag_t *functionOutputTag of new function.

 


 
UF_RULE_create_or_update_vio (view source)
 
Defined in: uf_rule.h
 
Overview
Finds the violation of the given rule by the given object. If there is none,
a new violation is created. If the violation is updated, only the short and
long descriptions are updated.

Environment
Internal and External

History
Original release was in V14.0.
 
Required License(s)
gateway

 
int UF_RULE_create_or_update_vio
(
tag_t object,
tag_t rule,
char * short_description,
char * long_description,
int num_objects,
tag_t objects [ ] ,
tag_t * violation
)
tag_tobjectInputTag of the object in violation
tag_truleInputTag of the rule which the object violates
char *short_descriptionInputShort description of the violation
char *long_descriptionInputLong description of the violation
intnum_objectsInputNumber of objects in violation
tag_tobjects [ ] InputTags of objects in violation
tag_t *violationOutputTag of the violation

 


 
UF_RULE_create_override (view source)
 
Defined in: uf_rule.h
 
Overview
Creates an override object.

Environment
Internal and External

History
Original release was in V14.0.
 
Required License(s)
gateway

 
int UF_RULE_create_override
(
tag_t object_in_part,
char * user,
char * reason,
int time_stamp,
tag_t * override
)
tag_tobject_in_partInputTag of object in same part to create
override.
char *userInputName of user.
char *reasonInputReason for the override taking place
inttime_stampInputTime in seconds since Jan 1, 1970
00:00:00 GMT.
tag_t *overrideOutputTag of new override object

 


 
UF_RULE_create_rule (view source)
 
Defined in: uf_rule.h
 
Overview
Create a Design Rule.

Environment
Internal and External

History
Original release was in V14.0.
 
Required License(s)
gateway

 
int UF_RULE_create_rule
(
tag_t object_in_part,
char * name,
char * description,
char * application,
tag_t check_function,
tag_t * rule
)
tag_tobject_in_partInputTag of the object in the same part to
create the new rule object. (May be a
part tag).
char *nameInputName of the rule.
char *descriptionInputDescription of the rule.
char *applicationInputApplication of the rule.
tag_tcheck_functionInputTag of a design Rule Function.
tag_t *ruleOutputTag of new rule.

 


 
UF_RULE_create_violation (view source)
 
Defined in: uf_rule.h
 
Overview
Creates a violation.

Environment
Internal and External

History
Original release was in V14.0.
 
Required License(s)
gateway

 
int UF_RULE_create_violation
(
tag_t object_in_part,
char * short_description,
char * long_description,
int num_objects,
tag_t objects [ ] ,
int time_stamp,
tag_t * violation
)
tag_tobject_in_partInputTag of object in same part to create
violation object. May be a part tag. May
not be NULL_TAG.
char *short_descriptionInputTerse description of violation.
char *long_descriptionInputVerbose description of violation.
intnum_objectsInputNumber of objects in the violation.
tag_tobjects [ ] InputObjects in the violation.
inttime_stampInputDate created : number of seconds since 1
Jan 1970 00:00:00. Use
UF_RULE_CURRENT_TIME_STAMP
for current time.
tag_t *violationOutputTag of new violation object.

 


 
UF_RULE_delete_vio_by_obj_rule (view source)
 
Defined in: uf_rule.h
 
Overview
FInds the violation of the given rule by the given object and deletes it.

Environment
Internal and External

History
Original release was in V14.0.
 
Required License(s)
( routing_base  or  routing_advanced )

 
int UF_RULE_delete_vio_by_obj_rule
(
tag_t object,
tag_t rule
)
tag_tobjectInputTag of the object in violation
tag_truleInputTag of the rule which the object violates

 


 
UF_RULE_find_vio_by_obj_rule (view source)
 
Defined in: uf_rule.h
 
Overview
FInds the violation of the given rule by the given object. If the given
object does not violate the rule, NULL_TAG is returned.

Environment
Internal and External

History
Original release was in V14.0.
 
Required License(s)
( routing_base  or  routing_advanced )

 
int UF_RULE_find_vio_by_obj_rule
(
tag_t object,
tag_t rule,
tag_t * violation
)
tag_tobjectInputTag of the object in violation
tag_truleInputTag of the rule which the object violates
tag_t *violationOutputTag of the violation by the given object of the given rule

 


 
UF_RULE_is_violation_overridden (view source)
 
Defined in: uf_rule.h
 
Overview
Asks if the violation is overridden.

Return
TRUE or FALSE.

Environment
Internal and External
 
Required License(s)
gateway

 
logical UF_RULE_is_violation_overridden
(
tag_t violation
)
tag_tviolationInputTag of violation to inquire.

 


 
UF_RULE_is_violation_since (view source)
 
Defined in: uf_rule.h
 
Overview
Asks if the violation was created since the given date/time.

Return
TRUE - Created After
FALSE - Create on or before.

Environment
Internal and External

History
Original release was in V14.0.
 
Required License(s)
gateway

 
logical UF_RULE_is_violation_since
(
tag_t violation,
int since
)
tag_tviolationInputTag of violation to inquire.
intsinceInputTime in seconds since Jan 1, 1970
00:00:00 GMT.

 


 
UF_RULE_resolve_function (view source)
 
Defined in: uf_rule.h
 
Overview
Returns the pointer to the actual function associated with a rule. This
is the address of the C function which should be invoked, e.g.,

(func) ( rule, data );

NULL is returned for "func" if there is no function for this rule

Returns
ERROR_OK or error code

Environment
Internal and External

History
Original release was in V14.0.
 
Required License(s)
( routing_base  or  routing_advanced )

 
int UF_RULE_resolve_function
(
tag_t function,
UF_RULE_check_function_f_t * func
)
tag_tfunctionInputTag of function.
UF_RULE_check_function_f_t *funcOutputAddress of the actual function to be invoked

 


 
UF_RULE_set_function_library (view source)
 
Defined in: uf_rule.h
 
Overview
Sets the library of a function.

Environment
Internal and External

History
Original release was in V14.0.
 
Required License(s)
gateway

 
int UF_RULE_set_function_library
(
tag_t function,
char * library
)
tag_tfunctionInputTag of function to modify.
char *libraryInputShared Library / Image.

 


 
UF_RULE_set_function_name (view source)
 
Defined in: uf_rule.h
 
Overview
Sets the name of a function.

Environment
Internal and External

History
Original release was in V14.0.
 
Required License(s)
gateway

 
int UF_RULE_set_function_name
(
tag_t function,
char * name
)
tag_tfunctionInputTag of function to modify.
char *nameInputNew name of function.

 


 
UF_RULE_set_override_reason (view source)
 
Defined in: uf_rule.h
 
Overview
Sets the reason of an override.

Environment
Internal and External

History
Original release was in V14.0.
 
Required License(s)
gateway

 
int UF_RULE_set_override_reason
(
tag_t override,
char * reason
)
tag_toverrideInputTag of override to modify.
char *reasonInputReason for override.

 


 
UF_RULE_set_override_time_stamp (view source)
 
Defined in: uf_rule.h
 
Overview
Sets the time stamp of an override.

Environment
Internal and External
 
Required License(s)
( routing_base  or  routing_advanced )

 
int UF_RULE_set_override_time_stamp
(
tag_t override,
int time_stamp
)
tag_toverrideInputTag of override to modify.
inttime_stampInputDate/Time.

 


 
UF_RULE_set_override_user (view source)
 
Defined in: uf_rule.h
 
Overview
Sets the user of an override

Environment
Internal and External

History
Original release was in V14.0.
 
Required License(s)
gateway

 
int UF_RULE_set_override_user
(
tag_t override,
char * user
)
tag_toverrideInputTag of override to modify.
char *userInputNew user.

 


 
UF_RULE_set_rule_application (view source)
 
Defined in: uf_rule.h
 
Overview
Sets the application of a Design Rule.

Environment
Internal and External

History
Original release was in V14.0.
 
Required License(s)
gateway

 
int UF_RULE_set_rule_application
(
tag_t rule,
char * application
)
tag_truleInputTag of the rule to query.
char *applicationInputNew application for the rule.

 


 
UF_RULE_set_rule_check_function (view source)
 
Defined in: uf_rule.h
 
Overview
Sets the check function of a Design Rule.

Environment
Internal and External

History
Original release was in V14.0.
 
Required License(s)
( routing_base  or  routing_advanced )

 
int UF_RULE_set_rule_check_function
(
tag_t rule,
tag_t check_function
)
tag_truleInputTag of the rule to modify.
tag_tcheck_functionInputTag of UF_RULE_function object.

 


 
UF_RULE_set_rule_description (view source)
 
Defined in: uf_rule.h
 
Overview
Sets the description of a Design Rule.

Environment
Internal and External

History
Original release was in V14.0.
 
Required License(s)
gateway

 
int UF_RULE_set_rule_description
(
tag_t rule,
char * description
)
tag_truleInputTag of the rule to modify.
char *descriptionInputNew description of the rule.

 


 
UF_RULE_set_rule_name (view source)
 
Defined in: uf_rule.h
 
Overview
Sets the name of a Design Rule.

Environment
Internal and External

History
Original release was in V14.0.
 
Required License(s)
gateway

 
int UF_RULE_set_rule_name
(
tag_t rule,
char * name
)
tag_truleInputTag of the rule to modify.
char *nameInputNew name of the rule.

 


 
UF_RULE_set_rule_violations (view source)
 
Defined in: uf_rule.h
 
Overview
Set the violations of a rule

Environment
Internal and External

History
Original release was in V14.0.
 
Required License(s)
( routing_base  or  routing_advanced )

 
int UF_RULE_set_rule_violations
(
tag_t rule,
int num_violations,
tag_t violations [ ]
)
tag_truleInputTag of rule to modify
intnum_violationsInputNumber of violations
tag_tviolations [ ] InputArray of violations

 


 
UF_RULE_set_vio_long_desc (view source)
 
Defined in: uf_rule.h
 
Overview
Sets the long description of a violation.

Environment
Internal and External

History
Original release was in V14.0.
 
Required License(s)
gateway

 
int UF_RULE_set_vio_long_desc
(
tag_t violation,
char * long_desc
)
tag_tviolationInputTag of violation to modify.
char *long_descInputVerbose description of violation.

 


 
UF_RULE_set_vio_objects (view source)
 
Defined in: uf_rule.h
 
Overview
Sets the objects of a violation.

Environment
Internal and External

History
Original release was in V14.0.
 
Required License(s)
( routing_base  or  routing_advanced )

 
int UF_RULE_set_vio_objects
(
tag_t violation,
int num_objects,
tag_t objects [ ]
)
tag_tviolationInputTag of violation to modify.
intnum_objectsInputNumber of objects.
tag_tobjects [ ] InputArray of objects.

 


 
UF_RULE_set_vio_override (view source)
 
Defined in: uf_rule.h
 
Overview
Sets the override of a violation.

Environment
Internal and External

History
Original release was in V14.0.
 
Required License(s)
( routing_base  or  routing_advanced )

 
int UF_RULE_set_vio_override
(
tag_t violation,
tag_t override
)
tag_tviolationInputTag of violation to modify.
tag_toverrideInputTag of override object.

 


 
UF_RULE_set_vio_short_desc (view source)
 
Defined in: uf_rule.h
 
Overview
Sets the short description of a violation.

Environment
Internal and External

History
Original release was in V14.0.
 
Required License(s)
gateway

 
int UF_RULE_set_vio_short_desc
(
tag_t violation,
char * short_desc
)
tag_tviolationInputTag of violation to modify.
char *short_descInputTerse description of violation.

 


 
UF_RULE_set_vio_time_stamp (view source)
 
Defined in: uf_rule.h
 
Overview
Sets the time_stamp of a violation.

Environment
Internal and External

History
Original release was in V14.0.
 
Required License(s)
( routing_base  or  routing_advanced )

 
int UF_RULE_set_vio_time_stamp
(
tag_t violation,
int time_stamp
)
tag_tviolationInputTag of violation to inquire.
inttime_stampInputTime in seconds since Jan 1, 1970
00:00:00 GMT. Use
UF_RULE_CURRENT_TIME_STAMP
for current time.