Object Validator Module#
ObjectValidator Class#
The ObjectValidator
class provides structured validation utilities and
standardized error, warning, and info reporting for objects during model construction.
It offers a variety of methods to validate properties, references, types,
and value constraints consistently across objects, These methods are listed below.
Checks if an Array is of a specific type. |
|
Checks if a property is equal to zero. |
|
Checks the validity of the specified path of a file. |
|
Checks if the function is specified and if the routine is valid. |
|
Checks if a property is greater or equal to a specific value. |
|
Checks if a property is greater or equal to zero. |
|
Checks if a property is greater than a specific value. |
|
Checks if a property is greater than zero. |
|
Checks if marker attributes i and j have been specified and performs a floating marker check if applicable. |
|
Checks if the jfloat attribute is a floating marker. |
|
Checks if a property is lower or equal to a specific value. |
|
Checks if a property is lower than a specific value. |
|
Checks the distance of the origins of the i and j markers of an object. |
|
Checks if two markers belong to the same body. |
|
Validate the mesh morphology by checking for cracks, non-manifold edges, and incorrect normals. |
|
Checks if mutually exclusive properties have been specified. |
|
Checks if a property is not equal to zero. |
|
Checks if two axes belonging to different markers are parallel. |
|
Checks if two axes belonging to different markers are perpendicular. |
|
Checks which attributes of an object are of type Reference and then validates whether these references have been resolved but only if they are 'required'. |
|
Checks if the property has been specified. |
|
Checks the validity of a string. |
|
Checks if an exclusive-to-type property has been wrongly specified. |
|
Checks if a function is a 'USER' function and performs a checkFunction validation. |
|
Formats and writes an ERROR message. |
|
Formats and writes an INFO message. |
|
Used in validation code when required properties are not specified. |
|
Formats and writes a WARNING message. |