C:/mesDocs/QT_confDbVis_canvas/Validation.py File Reference

Go to the source code of this file.

Namespaces

namespace  Validation

Functions

- to be used in exception handling, identification that will be used to the output
This module is a control/validation module with all the different validations on both user input and database input for all different data types. To prevent from trying to add "illegal" data to the database. Validates string input to the given conditions.

Parameters:

to the user so he/she will understand what/where went wrong. - string to be validated - the max length of the string, -1 means no limit - if the string can have length of zero; boolean true or false - a python regular expression mask, if the string needs to have a special syntax

!Return: If the string satisfy the given conditions it is returned, else and exception is thrown.

def Validation::ValidateString
def Validation::ValidateNumber
def Validation::ValidateSystem


Generated on Fri Aug 31 11:11:18 2007 for CDBVis by  doxygen 1.5.3