#include <stdio.h>#include <stdlib.h>#include "setup.h"#include "router.h"#include "multifld.h"#include "envrnmnt.h"#include "extnfunc.h"#include "cstrnutl.h"#include "inscom.h"#include "insfun.h"#include "classcom.h"#include "classexm.h"#include "cstrnchk.h"

Go to the source code of this file.
Defines | |
| #define | _CSTRNCHK_SOURCE_ |
| #define | _STDIO_INCLUDED_ |
Functions | |
| globle intBool | CheckCardinalityConstraint (void *theEnv, long number, CONSTRAINT_RECORD *constraints) |
| globle intBool | CheckAllowedValuesConstraint (int type, void *vPtr, CONSTRAINT_RECORD *constraints) |
| globle intBool | CheckAllowedClassesConstraint (void *theEnv, int type, void *vPtr, CONSTRAINT_RECORD *constraints) |
| globle void | ConstraintViolationErrorMessage (void *theEnv, char *theWhat, char *thePlace, int command, int thePattern, struct symbolHashNode *theSlot, int theField, int violationType, CONSTRAINT_RECORD *theConstraint, int printPrelude) |
| globle int | ConstraintCheckDataObject (void *theEnv, DATA_OBJECT *theData, CONSTRAINT_RECORD *theConstraints) |
| globle int | ConstraintCheckValue (void *theEnv, int theType, void *theValue, CONSTRAINT_RECORD *theConstraints) |
| globle int | ConstraintCheckExpressionChain (void *theEnv, struct expr *theExpression, CONSTRAINT_RECORD *theConstraints) |
| globle int | ConstraintCheckExpression (void *theEnv, struct expr *theExpression, CONSTRAINT_RECORD *theConstraints) |
| globle intBool | UnmatchableConstraint (CONSTRAINT_RECORD *theConstraint) |
| #define _CSTRNCHK_SOURCE_ |
Definition at line 30 of file cstrnchk.c.
| #define _STDIO_INCLUDED_ |
Definition at line 33 of file cstrnchk.c.
| globle intBool CheckAllowedClassesConstraint | ( | void * | theEnv, | |
| int | type, | |||
| void * | vPtr, | |||
| CONSTRAINT_RECORD * | constraints | |||
| ) |
Definition at line 387 of file cstrnchk.c.
| globle intBool CheckAllowedValuesConstraint | ( | int | type, | |
| void * | vPtr, | |||
| CONSTRAINT_RECORD * | constraints | |||
| ) |
Definition at line 304 of file cstrnchk.c.
| globle intBool CheckCardinalityConstraint | ( | void * | theEnv, | |
| long | number, | |||
| CONSTRAINT_RECORD * | constraints | |||
| ) |
Definition at line 190 of file cstrnchk.c.
| globle int ConstraintCheckDataObject | ( | void * | theEnv, | |
| DATA_OBJECT * | theData, | |||
| CONSTRAINT_RECORD * | theConstraints | |||
| ) |
Definition at line 655 of file cstrnchk.c.
| globle int ConstraintCheckExpression | ( | void * | theEnv, | |
| struct expr * | theExpression, | |||
| CONSTRAINT_RECORD * | theConstraints | |||
| ) |
Definition at line 780 of file cstrnchk.c.
| globle int ConstraintCheckExpressionChain | ( | void * | theEnv, | |
| struct expr * | theExpression, | |||
| CONSTRAINT_RECORD * | theConstraints | |||
| ) |
Definition at line 725 of file cstrnchk.c.
| globle int ConstraintCheckValue | ( | void * | theEnv, | |
| int | theType, | |||
| void * | theValue, | |||
| CONSTRAINT_RECORD * | theConstraints | |||
| ) |
Definition at line 694 of file cstrnchk.c.
| globle void ConstraintViolationErrorMessage | ( | void * | theEnv, | |
| char * | theWhat, | |||
| char * | thePlace, | |||
| int | command, | |||
| int | thePattern, | |||
| struct symbolHashNode * | theSlot, | |||
| int | theField, | |||
| int | violationType, | |||
| CONSTRAINT_RECORD * | theConstraint, | |||
| int | printPrelude | |||
| ) |
Definition at line 533 of file cstrnchk.c.
| globle intBool UnmatchableConstraint | ( | CONSTRAINT_RECORD * | theConstraint | ) |
Definition at line 811 of file cstrnchk.c.
1.5.6