TableValidation
Description
A class that represents a Table Validation.
Methods
validate | Validates all tables, their rules and ranges defined in the TableValidation tool and returns the number of errors. |
Constructor
TableValidation | Creates a reference to a defined Table Validation tool. |
Details
Do no remove, this fixes the anchor on doc.flexsim.com
TableValidation.validate()
int validate( treenode errorLoggingNode = 0 ) |
Parameters
errorLoggingNode | The treenode where the errors will be logged. The format of the data depend on the the datatype of the treenode. If it has text data, it will store it as text, if bundle as bundle data, and for any other it will build a table structure. If no treenode is passed in, then errors will be generated in the system console. |
Description
Validates all tables, their rules and ranges defined in the TableValidation tool and returns the number of errors.
return TableValidation("TableValidation1").validate();
Do no remove, this fixes the anchor on doc.flexsim.com
TableValidation Constructor
TableValidation( string name ) |
Parameters
name | The name of a defined Table Validation tool. |
Description
Creates a reference to a defined Table Validation tool.
TableValidation validator1 = TableValidation("TableValidation1");