1
<html><head><TITLE>ERChecks</TITLE></head>
3
<H2><A HREF ="#DOC.DOCU" > <IMG BORDER=0 SRC=down.gif></A> class ERChecks : public <!2><A HREF="DiagramChecks.html#DOC.110.1">DiagramChecks</A> </H2><BLOCKQUOTE>
4
implements checks for soft constraints on ER diagrams.
8
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=155>
9
<param name=classes value="CDiagramChecks,MDiagramChecks.html,CERChecks,MERChecks.html,CUCChecks,MUCChecks.html,CSSDChecks,MSSDChecks.html,CCRChecks,MCRChecks.html">
10
<param name=before value="M,M,M|_,MR_,Mr_">
11
<param name=after value="Md_,M,M,M,M">
12
<param name=indent value="0,1,1,1,1">
13
<param name=arrowdir value="down">
19
<DT><h3>Public Methods</h3><DD><TR><TD VALIGN=top><A HREF="#DOC.152.1"> <IMG BORDER=0 SRC=icon1.gif></A> </TD><TD><B>ERChecks</B> (<!1><A HREF="Diagram.html">Diagram</A> *d, <!1><A HREF="Graph.html">Graph</A> *g)<br>
21
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.152.2"> <IMG BORDER=0 SRC=icon1.gif></A> virtual unsigned </TD><TD><B>CheckRelationshipCoherence</B> (<!1><A HREF="string.html">string</A> &chkbuf)<br>
22
<I> relationship nodes are correctly connected.</I>
23
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.152.3"> <IMG BORDER=0 SRC=icon1.gif></A> unsigned </TD><TD><B>CheckDoubleRelationships</B> (<!1><A HREF="string.html">string</A> &chkbuf)<br>
24
<I> name + component types are unique for relationship nodes.</I>
25
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.152.4"> <IMG BORDER=0 SRC=icon1.gif></A> unsigned </TD><TD><B>CheckNamelessBinaryRelationships</B> (<!1><A HREF="string.html">string</A> &chkbuf)<br>
26
<I> relationship edges have an non-empty name or role name.</I>
27
</TD></TR></TABLE></DL>
28
<hr><H3>Inherited from <A HREF="DiagramChecks.html">DiagramChecks:</A></h3>
32
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> unsigned <B>CheckNodeCount</B>(unsigned count, int nodeType, <!1><A HREF="string.html">string</A> &chkbuf)
33
<DT><IMG SRC=icon2.gif> unsigned <B>CheckNodeCount</B>(unsigned min, unsigned max, int nodeType, <!1><A HREF="string.html">string</A> &chkbuf)
34
<DT><IMG SRC=icon2.gif> unsigned <B>CheckEdgeCount</B>(unsigned count, int edgeType, <!1><A HREF="string.html">string</A> &chkbuf)
35
<DT><IMG SRC=icon2.gif> unsigned <B>CheckEdgeCount</B>(unsigned min, unsigned max, int edgeType, <!1><A HREF="string.html">string</A> &chkbuf)
36
<DT><IMG SRC=icon2.gif> unsigned <B>CheckDoubleIndexes</B>(<!1><A HREF="string.html">string</A> &chkbuf)
37
<DT><IMG SRC=icon2.gif> unsigned <B>CheckNamelessNodes</B>(int nodeType, <!1><A HREF="string.html">string</A> &chkbuf)
38
<DT><IMG SRC=icon2.gif> unsigned <B>CheckNamelessEdges</B>(int edgeType, <!1><A HREF="string.html">string</A> &chkbuf)
39
<DT><IMG SRC=icon2.gif> unsigned <B>CheckIllegalNodeNames</B>(int nodeType, const <!1><A HREF="string.html">string</A> *name, <!1><A HREF="string.html">string</A> &chkbuf)
40
<DT><IMG SRC=icon2.gif> unsigned <B>CheckIllegalEdgeNames</B>(int edgeType, const <!1><A HREF="string.html">string</A> *name, <!1><A HREF="string.html">string</A> &chkbuf)
41
<DT><IMG SRC=icon2.gif> unsigned <B>CheckNamelessEdges</B>( int edgeType, int type1, int type2, <!1><A HREF="string.html">string</A> &chkbuf)
42
<DT><IMG SRC=icon2.gif> unsigned <B>CheckDoubleNamelessEdges</B>(int edgeType, int type1, int type2, <!1><A HREF="string.html">string</A> &chkbuf)
43
<DT><IMG SRC=icon2.gif> unsigned <B>CheckDoubleNodes</B>(int nodeType, <!1><A HREF="string.html">string</A> &chkbuf)
44
<DT><IMG SRC=icon2.gif> unsigned <B>CheckConnected</B>(int nodeType, bool index, <!1><A HREF="string.html">string</A> &chkbuf)
45
<DT><IMG SRC=icon2.gif> unsigned <B>CheckConnected</B>(int nodeType, int toNode, int min, int max, bool index, <!1><A HREF="string.html">string</A> &chkbuf)
46
<DT><IMG SRC=icon2.gif> unsigned <B>CheckJunctionCoherence</B>(int nodeType, int parenttype, int childtype, unsigned minChildren, <!1><A HREF="string.html">string</A> &chkbuf)
47
<DT><IMG SRC=icon2.gif> unsigned <B>CheckCountEdgesFrom</B>(int nodeType, int edgeType, unsigned min, unsigned max, bool zeroAllowed, bool index, <!1><A HREF="string.html">string</A> &chkbuf)
48
<DT><IMG SRC=icon2.gif> unsigned <B>CheckReachability</B>(int rootType, int nodeType, bool index, <!1><A HREF="string.html">string</A> &chkbuf)
50
<DT><h3>Protected Methods</h3><DD><DT><IMG SRC=icon2.gif> <!1><A HREF="Graph.html">Graph</A>* <B>GetGraph</B>() const
51
<DT><IMG SRC=icon2.gif> <!1><A HREF="Diagram.html">Diagram</A>* <B>GetDiagram</B>() const
52
<DT><IMG SRC=icon2.gif> unsigned <B>CheckCount</B>(unsigned min, unsigned max, int type, <!1><A HREF="string.html">string</A> &chkbuf, bool node)
53
<DT><IMG SRC=icon2.gif> unsigned <B>CheckIllegalNames</B>(int type, const <!1><A HREF="string.html">string</A> *name, <!1><A HREF="string.html">string</A> &chkbuf, bool node)
57
<h2> Documentation </h2>
59
implements checks for soft constraints on ER diagrams.
66
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> ERChecks(<!1><A HREF="Diagram.html">Diagram</A> *d, <!1><A HREF="Graph.html">Graph</A> *g)</B></TT>
68
<A NAME="CheckRelationshipCoherence">
70
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> virtual unsigned CheckRelationshipCoherence(<!1><A HREF="string.html">string</A> &chkbuf)</B></TT>
71
<DD> relationship nodes are correctly connected.
73
<A NAME="CheckDoubleRelationships">
75
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> unsigned CheckDoubleRelationships(<!1><A HREF="string.html">string</A> &chkbuf)</B></TT>
76
<DD> name + component types are unique for relationship nodes.
78
<A NAME="CheckNamelessBinaryRelationships">
80
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> unsigned CheckNamelessBinaryRelationships(<!1><A HREF="string.html">string</A> &chkbuf)</B></TT>
81
<DD> relationship edges have an non-empty name or role name.
84
<DL><DT><B>Direct child classes:
85
</B><DD><A HREF="UCChecks.html"> UCChecks </A><br>
86
<A HREF="SSDChecks.html"> SSDChecks </A><br>
87
<A HREF="CRChecks.html"> CRChecks </A><br>
89
<DL></DL><P><I><A HREF="aindex.html"> alphabetic index</A></I> <I><A HREF="HIER.html"> hierarchy of classes</A></I><P><hr>
90
<A HREF="http://www.zib.de/Visual/software/doc++/index.html"><IMG BORDER=0 ALIGN=RIGHT SRC=logo.gif></A>
91
<P Align=Center><I>this page has been generated automatically by doc++</I>
92
<P Align=Center><I>(c)opyright by <A HREF="http://www.zib.de/zoeckler/"> Malte Zöckler</A>, <A HREF="mailto:wunderling@zib.de"> Roland Wunderling </A><br>contact: <A HREF="mailto:doc++@zib.de"> doc++@zib.de</a></I>