1
<html><head><TITLE>CPDiagram</TITLE></head>
3
<H2><A HREF ="#DOC.DOCU" > <IMG BORDER=0 SRC=down.gif></A> class CPDiagram : public <!2><A HREF="Diagram.html#DOC.111.1">Diagram</A> </H2><BLOCKQUOTE>
4
component diagram class.
8
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=125>
9
<param name=classes value="CDocument,MDocument.html,CDiagram,MDiagram.html,CCPDiagram,MCPDiagram.html,CDPDiagram,MDPDiagram.html">
10
<param name=before value="M,M,M,M^_">
11
<param name=after value="Md_SP,Md_,M,M">
12
<param name=indent value="0,1,2,2">
13
<param name=arrowdir value="down">
19
<DT><h3>Public Fields</h3><DD><TR><TD VALIGN=top><A HREF="#DOC.64.8"> <IMG BORDER=0 SRC=icon1.gif></A> static const int </TD><TD><B>DOT_WIDTH</B> <br>
21
</TD></TR></TABLE><TABLE>
22
<DT><h3>Public Methods</h3><DD><TR><TD VALIGN=top><A HREF="#DOC.64.1"> <IMG BORDER=0 SRC=icon1.gif></A> </TD><TD><B>CPDiagram</B> (<!1><A HREF="Config.html">Config</A> *, <!1><A HREF="CPWindow.html">CPWindow</A> *, <!1><A HREF="CPViewer.html">CPViewer</A> *, <!1><A HREF="CPGraph.html">CPGraph</A> *)<br>
24
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.64.2"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="Node.html">Node</A>* </TD><TD><B>CreateNode</B> ()<br>
26
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.64.3"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="Edge.html">Edge</A>* </TD><TD><B>CreateEdge</B> (<!1><A HREF="Subject.html">Subject</A> *n1, <!1><A HREF="Subject.html">Subject</A> *n2)<br>
28
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.64.4"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="NodeShape.html">NodeShape</A>* </TD><TD><B>CreateNodeShape</B> (<!1><A HREF="Node.html">Node</A> *node, int x, int y)<br>
30
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.64.5"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="Line.html">Line</A>* </TD><TD><B>CreateLine</B> (<!1><A HREF="Edge.html">Edge</A> *edge, <!1><A HREF="GShape.html">GShape</A> *fromShape, <!1><A HREF="GShape.html">GShape</A> *toShape, <!1><A HREF="List.html">List</A><<!1><A HREF="Point.html">Point</A> *> *line)<br>
32
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.64.6"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>UpdateNodeType</B> (int n)<br>
34
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.64.7"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>UpdateEdgeType</B> (int n)<br>
36
</TD></TR></TABLE><TABLE>
37
<DT><h3>Protected Methods</h3><DD><TR><TD VALIGN=top><A HREF="#DOC.64.9"> <IMG BORDER=0 SRC=icon1.gif></A> <!1><A HREF="Thing.html">Thing</A>* </TD><TD><B>CreateThing</B> (int classNr)<br>
39
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.64.10"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>HasIndexNode</B> (int code)<br>
41
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.64.11"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>HasIndexShape</B> (int code)<br>
43
</TD></TR></TABLE></DL>
44
<hr><H3>Inherited from <A HREF="Diagram.html">Diagram:</A></h3>
48
<DT><h3>Public Fields</h3><DD><DT><IMG SRC=icon2.gif> static <!1><A HREF="Sequence.html">Sequence</A> <B>sequence</B>
50
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> void <B>Initialize</B>()
51
<DT><IMG SRC=icon2.gif> <!1><A HREF="Graph.html">Graph</A>* <B>GetGraph</B>() const
52
<DT><IMG SRC=icon2.gif> <!1><A HREF="AssocList.html">AssocList</A>* <B>GetAssocList</B>() const
53
<DT><IMG SRC=icon2.gif> void <B>SetCurve</B>(bool set)
54
<DT><IMG SRC=icon2.gif> bool <B>IsCurve</B>() const
55
<DT><IMG SRC=icon2.gif> bool <B>CheckConnection</B>(<!1><A HREF="Subject.html">Subject</A> *n1, <!1><A HREF="Subject.html">Subject</A> *n2)
56
<DT><IMG SRC=icon2.gif> virtual void <B>AddSubject</B>(<!1><A HREF="Subject.html">Subject</A> *s)
57
<DT><IMG SRC=icon2.gif> void <B>AddSubjects</B>(<!1><A HREF="List.html">List</A><<!1><A HREF="Subject.html">Subject</A> *> *s)
58
<DT><IMG SRC=icon2.gif> virtual void <B>RemoveSubject</B>(<!1><A HREF="Subject.html">Subject</A> *s)
59
<DT><IMG SRC=icon2.gif> void <B>RemoveSubjects</B>(<!1><A HREF="List.html">List</A><<!1><A HREF="Subject.html">Subject</A> *> *s)
60
<DT><IMG SRC=icon2.gif> void <B>CompleteSubjects</B>(<!1><A HREF="List.html">List</A><<!1><A HREF="Subject.html">Subject</A> *> *subjects)
61
<DT><IMG SRC=icon2.gif> void <B>CompleteEdges</B>(<!1><A HREF="List.html">List</A><<!1><A HREF="Subject.html">Subject</A> *> *subjects)
62
<DT><IMG SRC=icon2.gif> void <B>CompleteSubject</B>(<!1><A HREF="List.html">List</A><<!1><A HREF="Subject.html">Subject</A> *> *edges, <!1><A HREF="Subject.html">Subject</A> *subject)
63
<DT><IMG SRC=icon2.gif> void <B>RemoveAll</B>()
64
<DT><IMG SRC=icon2.gif> void <B>AnnotateSubject</B>(<!1><A HREF="Subject.html">Subject</A> *s)
65
<DT><IMG SRC=icon2.gif> void <B>SetSubjectAnnotation</B>(<!1><A HREF="string.html">string</A> *s)
66
<DT><IMG SRC=icon2.gif> bool <B>RedirectEdge</B>(<!1><A HREF="Line.html">Line</A> *line, bool first, const <!1><A HREF="Point.html">Point</A> *pt)
67
<DT><IMG SRC=icon2.gif> void <B>Move</B>(<!2><A HREF="Document.html#DOC.118.42">MoveType</A>)
68
<DT><IMG SRC=icon2.gif> void <B>SelectSubject</B>(<!1><A HREF="Subject.html">Subject</A> *s)
69
<DT><IMG SRC=icon2.gif> void <B>SelectSubjects</B>(<!1><A HREF="List.html">List</A><<!1><A HREF="Subject.html">Subject</A> *> *s)
70
<DT><IMG SRC=icon2.gif> virtual bool <B>SetText</B>(<!1><A HREF="TextShape.html">TextShape</A> *t, const <!1><A HREF="string.html">string</A> *s)
71
<DT><IMG SRC=icon2.gif> void <B>FindAll</B>(const <!1><A HREF="string.html">string</A> *s, bool send, bool substring, bool nameOnly)
72
<DT><IMG SRC=icon2.gif> void <B>FindNext</B>(const <!1><A HREF="string.html">string</A> *s, bool send, bool substring, bool nameOnly)
73
<DT><IMG SRC=icon2.gif> void <B>ReplaceAll</B>(const <!1><A HREF="string.html">string</A> *s1, const <!1><A HREF="string.html">string</A> *s2, bool send, bool substring, bool nameOnly)
74
<DT><IMG SRC=icon2.gif> void <B>ReplaceNext</B>(const <!1><A HREF="string.html">string</A> *s1, const <!1><A HREF="string.html">string</A> *s2, bool send, bool substring, bool nameOnly)
75
<DT><IMG SRC=icon2.gif> void <B>Reindex</B>()
76
<DT><IMG SRC=icon2.gif> void <B>SetNextIndex</B>(<!1><A HREF="Node.html">Node</A> *n)
78
<DT><h3>Protected Methods</h3><DD><DT><IMG SRC=icon2.gif> <!1><A HREF="DiagramViewer.html">DiagramViewer</A>* <B>GetDiagramViewer</B>() const
79
<DT><IMG SRC=icon2.gif> int <B>GetNodeType</B>() const
80
<DT><IMG SRC=icon2.gif> void <B>SetNodeType</B>(int n)
81
<DT><IMG SRC=icon2.gif> int <B>GetEdgeType</B>() const
82
<DT><IMG SRC=icon2.gif> void <B>SetEdgeType</B>(int n)
83
<DT><IMG SRC=icon2.gif> int <B>GetNodeShapeType</B>() const
84
<DT><IMG SRC=icon2.gif> void <B>SetNodeShapeType</B>(int n)
85
<DT><IMG SRC=icon2.gif> void <B>SetLineType</B>(int n)
86
<DT><IMG SRC=icon2.gif> int <B>GetLineType</B>() const
87
<DT><IMG SRC=icon2.gif> <!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A> <B>GetNodeLineStyle</B>()
88
<DT><IMG SRC=icon2.gif> <!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A> <B>GetEdgeLineStyle</B>()
89
<DT><IMG SRC=icon2.gif> void <B>SetNodeLineStyle</B>(<!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A> n)
90
<DT><IMG SRC=icon2.gif> void <B>SetEdgeLineStyle</B>(<!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A> e)
91
<DT><IMG SRC=icon2.gif> <!2><A HREF="LineEnd.html#DOC.209.1">LineEnd::Type</A> <B>GetLineEnd1</B>()
92
<DT><IMG SRC=icon2.gif> <!2><A HREF="LineEnd.html#DOC.209.1">LineEnd::Type</A> <B>GetLineEnd2</B>()
93
<DT><IMG SRC=icon2.gif> void <B>SetLineEnd1</B>(<!2><A HREF="LineEnd.html#DOC.209.1">LineEnd::Type</A> t)
94
<DT><IMG SRC=icon2.gif> void <B>SetLineEnd2</B>(<!2><A HREF="LineEnd.html#DOC.209.1">LineEnd::Type</A> t)
95
<DT><IMG SRC=icon2.gif> bool <B>SetSubjectName</B>(<!1><A HREF="Subject.html">Subject</A> *subject, const <!1><A HREF="string.html">string</A> *s)
96
<DT><IMG SRC=icon2.gif> bool <B>SetIndex</B>(<!1><A HREF="Node.html">Node</A> *n, const <!1><A HREF="string.html">string</A> *index)
97
<DT><IMG SRC=icon2.gif> virtual void <B>PlaceShapes</B>()
98
<DT><IMG SRC=icon2.gif> void <B>LoadEntries</B>()
99
<DT><IMG SRC=icon2.gif> void <B>SaveEntries</B>()
100
<DT><IMG SRC=icon2.gif> void <B>UpdateNameStrings</B>(<!1><A HREF="Subject.html">Subject</A> *subject)
102
<hr><H3>Inherited from <A HREF = "Document.html"> Document:</A></h3>
106
<DT><h3>Public Classes</h3><DD><DT><IMG SRC=icon2.gif> enum <B>MoveType</B>
108
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> void <B>New</B>()
109
<DT><IMG SRC=icon2.gif> virtual void <B>Load</B>()
110
<DT><IMG SRC=icon2.gif> virtual void <B>Append</B>()
111
<DT><IMG SRC=icon2.gif> void <B>Save</B>()
112
<DT><IMG SRC=icon2.gif> void <B>SaveAs</B>()
113
<DT><IMG SRC=icon2.gif> void <B>SaveSelectionAs</B>()
114
<DT><IMG SRC=icon2.gif> void <B>Quit</B>()
115
<DT><IMG SRC=icon2.gif> void <B>ShowDocInfo</B>()
116
<DT><IMG SRC=icon2.gif> void <B>ShowSource</B>()
117
<DT><IMG SRC=icon2.gif> void <B>SaveSource</B>()
118
<DT><IMG SRC=icon2.gif> virtual void <B>ShowSummary</B>()
119
<DT><IMG SRC=icon2.gif> virtual void <B>CheckDocument</B>()
120
<DT><IMG SRC=icon2.gif> virtual void <B>ModelCheckDocument</B>()
121
<DT><IMG SRC=icon2.gif> void <B>Annotate</B>()
122
<DT><IMG SRC=icon2.gif> void <B>LoadSave</B>(const <!1><A HREF="string.html">string</A> *file)
123
<DT><IMG SRC=icon2.gif> virtual void <B>DoLoad</B>(const <!1><A HREF="string.html">string</A> *file)
124
<DT><IMG SRC=icon2.gif> void <B>DoSaveAs</B>(const <!1><A HREF="string.html">string</A> *file)
125
<DT><IMG SRC=icon2.gif> void <B>DoSaveSelectionAs</B>(const <!1><A HREF="string.html">string</A> *file)
126
<DT><IMG SRC=icon2.gif> double <B>GetLoadFormat</B>() const
127
<DT><IMG SRC=icon2.gif> void <B>NewFile</B>(const <!1><A HREF="string.html">string</A> *file)
128
<DT><IMG SRC=icon2.gif> bool <B>NewName</B>(const <!1><A HREF="string.html">string</A> *newname)
129
<DT><IMG SRC=icon2.gif> void <B>SetName</B>(const <!1><A HREF="string.html">string</A> *newname)
130
<DT><IMG SRC=icon2.gif> const <!1><A HREF="string.html">string</A>* <B>GetName</B>() const
131
<DT><IMG SRC=icon2.gif> const <!1><A HREF="string.html">string</A>* <B>GetDocType</B>() const
132
<DT><IMG SRC=icon2.gif> const <!1><A HREF="string.html">string</A>* <B>GetSuffix</B>() const
133
<DT><IMG SRC=icon2.gif> const <!1><A HREF="string.html">string</A>* <B>GetToolName</B>() const
134
<DT><IMG SRC=icon2.gif> const <!1><A HREF="string.html">string</A>* <B>GetAuthor</B>() const
135
<DT><IMG SRC=icon2.gif> const <!1><A HREF="string.html">string</A>* <B>GetCreationTime</B>() const
136
<DT><IMG SRC=icon2.gif> bool <B>IsDefault</B>()
137
<DT><IMG SRC=icon2.gif> void <B>NewDir</B>(const <!1><A HREF="string.html">string</A> *newdir)
138
<DT><IMG SRC=icon2.gif> void <B>SetDir</B>(const <!1><A HREF="string.html">string</A> *newdir)
139
<DT><IMG SRC=icon2.gif> const <!1><A HREF="string.html">string</A>* <B>GetDir</B>() const
140
<DT><IMG SRC=icon2.gif> void <B>SetFSDir</B>()
141
<DT><IMG SRC=icon2.gif> void <B>IncChanges</B>()
142
<DT><IMG SRC=icon2.gif> void <B>DecChanges</B>()
143
<DT><IMG SRC=icon2.gif> int <B>GetChanges</B>() const
144
<DT><IMG SRC=icon2.gif> virtual void <B>SetInlineEdit</B>(bool)
145
<DT><IMG SRC=icon2.gif> bool <B>IsModified</B>() const
146
<DT><IMG SRC=icon2.gif> void <B>SetModified</B>(bool set)
147
<DT><IMG SRC=icon2.gif> bool <B>IsLoaded</B>() const
148
<DT><IMG SRC=icon2.gif> bool <B>MayWrite</B>(const <!1><A HREF="string.html">string</A> *path)
149
<DT><IMG SRC=icon2.gif> void <B>SetStatus</B>(const char *msg)
150
<DT><IMG SRC=icon2.gif> void <B>SetStatus</B>(const <!1><A HREF="string.html">string</A> *msg)
151
<DT><IMG SRC=icon2.gif> void <B>SetAnnotation</B>(const <!1><A HREF="string.html">string</A> *s)
152
<DT><IMG SRC=icon2.gif> virtual void <B>Find</B>()
153
<DT><IMG SRC=icon2.gif> virtual void <B>Replace</B>()
154
<DT><IMG SRC=icon2.gif> void <B>UpdateWindow</B>()
155
<DT><IMG SRC=icon2.gif> <!1><A HREF="EditWindow.html">EditWindow</A>* <B>GetMainWindow</B>() const
156
<DT><IMG SRC=icon2.gif> <!1><A HREF="Config.html">Config</A>* <B>GetConfig</B>() const
157
<DT><IMG SRC=icon2.gif> <!1><A HREF="Viewer.html">Viewer</A>* <B>GetViewer</B>() const
158
<DT><IMG SRC=icon2.gif> <!1><A HREF="InputFile.html">InputFile</A>* <B>GetInputFile</B>() const
159
<DT><IMG SRC=icon2.gif> <!1><A HREF="OutputFile.html">OutputFile</A>* <B>GetOutputFile</B>() const
160
<DT><IMG SRC=icon2.gif> <!1><A HREF="TextEditDialog.html">TextEditDialog</A>* <B>GetSourceEditDialog</B>() const
161
<DT><IMG SRC=icon2.gif> <!1><A HREF="TextEditDialog.html">TextEditDialog</A>* <B>GetDocAnnotationDialog</B>() const
162
<DT><IMG SRC=icon2.gif> <!1><A HREF="TextEditDialog.html">TextEditDialog</A>* <B>GetEltAnnotationDialog</B>() const
163
<DT><IMG SRC=icon2.gif> <!1><A HREF="FileSelectionDialog.html">FileSelectionDialog</A>* <B>GetFileSelectionDialog</B>() const
164
<DT><IMG SRC=icon2.gif> <!1><A HREF="FindDialog.html">FindDialog</A>* <B>GetFindDialog</B>() const
165
<DT><IMG SRC=icon2.gif> <!1><A HREF="ReplaceDialog.html">ReplaceDialog</A>* <B>GetReplaceDialog</B>() const
167
<DT><h3>Protected Fields</h3><DD><DT><IMG SRC=icon2.gif> <!1><A HREF="string.html">string</A> <B>chkbuf</B>
169
<DT><h3>Protected Methods</h3><DD><DT><IMG SRC=icon2.gif> bool <B>IsAppending</B>() const
170
<DT><IMG SRC=icon2.gif> bool <B>IsSaveSelection</B>() const
171
<DT><IMG SRC=icon2.gif> virtual void <B>UpdateDirectory</B>(const <!1><A HREF="string.html">string</A> *s)
172
<DT><IMG SRC=icon2.gif> void <B>ShowDialog</B>(<!2><A HREF="MessageDialog.html#DOC.225.1">MessageDialog::DialogType</A>, const char *title, const char *text)
173
<DT><IMG SRC=icon2.gif> void <B>ShowDialog</B>(<!2><A HREF="MessageDialog.html#DOC.225.1">MessageDialog::DialogType</A>, const char *title, const <!1><A HREF="string.html">string</A> *text)
174
<DT><IMG SRC=icon2.gif> void <B>ReportCheck</B>(int errors, const <!1><A HREF="string.html">string</A> *msg)
175
<DT><IMG SRC=icon2.gif> bool <B>Save</B>(const <!1><A HREF="string.html">string</A> *file)
179
<h2> Documentation </h2>
181
component diagram class.
188
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> CPDiagram(<!1><A HREF="Config.html">Config</A> *, <!1><A HREF="CPWindow.html">CPWindow</A> *, <!1><A HREF="CPViewer.html">CPViewer</A> *, <!1><A HREF="CPGraph.html">CPGraph</A> *)</B></TT>
190
<A NAME="CreateNode">
192
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="Node.html">Node</A>* CreateNode()</B></TT>
194
<A NAME="CreateEdge">
196
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="Edge.html">Edge</A>* CreateEdge(<!1><A HREF="Subject.html">Subject</A> *n1, <!1><A HREF="Subject.html">Subject</A> *n2)</B></TT>
198
<A NAME="CreateNodeShape">
200
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="NodeShape.html">NodeShape</A>* CreateNodeShape(<!1><A HREF="Node.html">Node</A> *node, int x, int y)</B></TT>
202
<A NAME="CreateLine">
204
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="Line.html">Line</A>* CreateLine(<!1><A HREF="Edge.html">Edge</A> *edge, <!1><A HREF="GShape.html">GShape</A> *fromShape, <!1><A HREF="GShape.html">GShape</A> *toShape, <!1><A HREF="List.html">List</A><<!1><A HREF="Point.html">Point</A> *> *line)</B></TT>
206
<A NAME="UpdateNodeType">
208
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void UpdateNodeType(int n)</B></TT>
210
<A NAME="UpdateEdgeType">
212
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void UpdateEdgeType(int n)</B></TT>
216
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> static const int DOT_WIDTH</B></TT>
218
<A NAME="CreateThing">
220
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!1><A HREF="Thing.html">Thing</A>* CreateThing(int classNr)</B></TT>
222
<A NAME="HasIndexNode">
223
<A NAME ="DOC.64.10">
224
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool HasIndexNode(int code)</B></TT>
226
<A NAME="HasIndexShape">
227
<A NAME ="DOC.64.11">
228
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool HasIndexShape(int code)</B></TT>
231
<DL><DT><B>Direct child classes:
232
</B><DD><A HREF="DPDiagram.html"> DPDiagram </A><br>
234
<DL></DL><P><I><A HREF="aindex.html"> alphabetic index</A></I> <I><A HREF="HIER.html"> hierarchy of classes</A></I><P><hr>
235
<A HREF="http://www.zib.de/Visual/software/doc++/index.html"><IMG BORDER=0 ALIGN=RIGHT SRC=logo.gif></A>
236
<P Align=Center><I>this page has been generated automatically by doc++</I>
237
<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>