1
<html><head><TITLE>Edge</TITLE></head>
3
<H2><A HREF ="#DOC.DOCU" > <IMG BORDER=0 SRC=down.gif></A> class Edge : public <!2><A HREF="Subject.html#DOC.360.1">Subject</A> </H2><BLOCKQUOTE>
4
Graph edge class, base class of all edges. An edge connects two subjects.
8
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=575>
9
<param name=classes value="CThing,MThing.html,CSubject,MSubject.html,CEdge,MEdge.html,CTransition,MTransition.html,CTextEdge,MTextEdge.html,CStringListEdge,MStringListEdge.html,CSSDObjectLinkEdge,MSSDObjectLinkEdge.html,CSSDAssociationLinkEdge,MSSDAssociationLinkEdge.html,CIsaRelationship,MIsaRelationship.html,CGenericEdge,MGenericEdge.html,CEvent,MEvent.html,CEmptyEdge,MEmptyEdge.html,CDPDCommunicationEdge,MDPDCommunicationEdge.html,CDFEdge,MDFEdge.html,CCPDRealizationEdge,MCPDRealizationEdge.html,CCPDDependencyEdge,MCPDDependencyEdge.html,CC1Edge,MC1Edge.html,CBinaryRelationship,MBinaryRelationship.html,CATDTransitionEdge,MATDTransitionEdge.html">
10
<param name=before value="M,M,M,M|_,MR_,MR_,MR_,MR_,MR_,MR_,MR_,MR_,MR_,MR_,MR_,MR_,MR_,MR_,Mr_">
11
<param name=after value="Md_SP,Md_,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M">
12
<param name=indent value="0,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2">
13
<param name=arrowdir value="down">
19
<DT><h3>Public Methods</h3><DD><TR><TD VALIGN=top><A HREF="#DOC.141.1"> <IMG BORDER=0 SRC=icon1.gif></A> </TD><TD><B>Edge</B> (<!1><A HREF="Graph.html">Graph</A> *g, <!2><A HREF="Subject.html#DOC.360.1">Subject</A> *n1, <!2><A HREF="Subject.html#DOC.360.1">Subject</A> *n2)<br>
21
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.141.2"> <IMG BORDER=0 SRC=icon1.gif></A> virtual </TD><TD><B>~Edge</B> ()<br>
23
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.141.3"> <IMG BORDER=0 SRC=icon1.gif></A> <!2><A HREF="Subject.html#DOC.360.1">Subject</A>* </TD><TD><B>GetSubject1</B> () const <br>
24
<I> edge connects subject1 and subject2.</I>
25
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.141.4"> <IMG BORDER=0 SRC=icon1.gif></A> <!2><A HREF="Subject.html#DOC.360.1">Subject</A>* </TD><TD><B>GetSubject2</B> () const <br>
26
<I> when edge is directed then subject1 is 'from' and subject2 'to'.</I>
27
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.141.5"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetSubject1</B> (<!2><A HREF="Subject.html#DOC.360.1">Subject</A> *n)<br>
29
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.141.6"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetSubject2</B> (<!2><A HREF="Subject.html#DOC.360.1">Subject</A> *n)<br>
31
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.141.7"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>IsDirected</B> () const <br>
33
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.141.8"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>InGraph</B> () const <br>
34
<I> is edge part of the graph?</I>
35
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.141.9"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>IsEdge</B> () const <br>
36
<I> yes of course it is</I>
37
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.141.10"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>PartOf</B> (<!2><A HREF="Subject.html#DOC.360.1">Subject</A> *subject) const <br>
38
<I> is subject one of the two subjects that edge connects?</I>
39
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.141.11"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetSubjects</B> (<!2><A HREF="Subject.html#DOC.360.1">Subject</A> *n1, <!2><A HREF="Subject.html#DOC.360.1">Subject</A> *n2, bool d = 0)<br>
41
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.141.12"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>WriteMembers</B> (<!1><A HREF="OutputFile.html">OutputFile</A> *f)<br>
42
<I> write attributes to file.</I>
43
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.141.13"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>ReadMembers</B> (<!1><A HREF="InputFile.html">InputFile</A> *f, double format)<br>
44
<I> read and check attributes from file.</I>
45
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.141.14"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>SetReferences</B> (<!1><A HREF="AssocList.html">AssocList</A> *)<br>
46
<I> set and check references to subjects after reading.</I>
47
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.141.15"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>CheckReferences</B> ()<br>
48
<I> check whether subject references exist.</I>
49
</TD></TR></TABLE><TABLE>
50
<DT><h3>Protected Methods</h3><DD><TR><TD VALIGN=top><A HREF="#DOC.141.16"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetDirected</B> (bool b)<br>
52
</TD></TR></TABLE></DL>
53
<hr><H3>Inherited from <A HREF="Subject.html">Subject:</A></h3>
57
<DT><h3>Public Classes</h3><DD><DT><IMG SRC=icon2.gif> enum <B>NameErrType</B>
59
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> virtual <!2><A HREF="Subject.html#DOC.360.1">Subject</A>* <B>Clone</B>()
60
<DT><IMG SRC=icon2.gif> bool <B>IsSubject</B>() const
61
<DT><IMG SRC=icon2.gif> const <!1><A HREF="string.html">string</A>* <B>GetName</B>() const
62
<DT><IMG SRC=icon2.gif> virtual <!2><A HREF="Subject.html#DOC.360.6">NameErrType</A> <B>SetName</B>(const <!1><A HREF="string.html">string</A> *s)
63
<DT><IMG SRC=icon2.gif> void <B>SetParent</B>(<!1><A HREF="Node.html">Node</A> *p)
64
<DT><IMG SRC=icon2.gif> <!1><A HREF="Node.html">Node</A>* <B>GetParent</B>() const
65
<DT><IMG SRC=icon2.gif> void <B>SetAnnotation</B>(<!1><A HREF="string.html">string</A> *s)
66
<DT><IMG SRC=icon2.gif> const <!1><A HREF="string.html">string</A>* <B>GetAnnotation</B>() const
67
<DT><IMG SRC=icon2.gif> <!1><A HREF="Graph.html">Graph</A>* <B>GetGraph</B>() const
69
<hr><H3>Inherited from <A HREF = "Thing.html"> Thing:</A></h3>
73
<DT><h3>Public Classes</h3><DD><DT><IMG SRC=icon2.gif> enum <B>AssocType</B>
75
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> unsigned long <B>GetId</B>()
76
<DT><IMG SRC=icon2.gif> void <B>SetId</B>(unsigned long val)
77
<DT><IMG SRC=icon2.gif> virtual bool <B>IsShape</B>() const
78
<DT><IMG SRC=icon2.gif> virtual bool <B>IsView</B>() const
79
<DT><IMG SRC=icon2.gif> virtual int <B>GetClassType</B>() const
80
<DT><IMG SRC=icon2.gif> void <B>Write</B>(<!1><A HREF="OutputFile.html">OutputFile</A> *ofile)
84
<h2> Documentation </h2>
86
Graph edge class, base class of all edges. An edge connects two subjects.
93
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> Edge(<!1><A HREF="Graph.html">Graph</A> *g, <!2><A HREF="Subject.html#DOC.360.1">Subject</A> *n1, <!2><A HREF="Subject.html#DOC.360.1">Subject</A> *n2)</B></TT>
97
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> virtual ~Edge()</B></TT>
99
<A NAME="GetSubject1">
100
<A NAME ="DOC.141.3">
101
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!2><A HREF="Subject.html#DOC.360.1">Subject</A>* GetSubject1() const </B></TT>
102
<DD> edge connects subject1 and subject2.
104
<A NAME="GetSubject2">
105
<A NAME ="DOC.141.4">
106
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> <!2><A HREF="Subject.html#DOC.360.1">Subject</A>* GetSubject2() const </B></TT>
107
<DD> when edge is directed then subject1 is 'from' and subject2 'to'.
109
<A NAME="SetSubject1">
110
<A NAME ="DOC.141.5">
111
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SetSubject1(<!2><A HREF="Subject.html#DOC.360.1">Subject</A> *n)</B></TT>
113
<A NAME="SetSubject2">
114
<A NAME ="DOC.141.6">
115
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SetSubject2(<!2><A HREF="Subject.html#DOC.360.1">Subject</A> *n)</B></TT>
117
<A NAME="IsDirected">
118
<A NAME ="DOC.141.7">
119
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool IsDirected() const </B></TT>
122
<A NAME ="DOC.141.8">
123
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool InGraph() const </B></TT>
124
<DD> is edge part of the graph?
127
<A NAME ="DOC.141.9">
128
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool IsEdge() const </B></TT>
129
<DD> yes of course it is
132
<A NAME ="DOC.141.10">
133
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool PartOf(<!2><A HREF="Subject.html#DOC.360.1">Subject</A> *subject) const </B></TT>
134
<DD> is subject one of the two subjects that edge connects?
136
<A NAME="SetSubjects">
137
<A NAME ="DOC.141.11">
138
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SetSubjects(<!2><A HREF="Subject.html#DOC.360.1">Subject</A> *n1, <!2><A HREF="Subject.html#DOC.360.1">Subject</A> *n2, bool d = 0)</B></TT>
141
<A NAME="WriteMembers">
142
<A NAME ="DOC.141.12">
143
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void WriteMembers(<!1><A HREF="OutputFile.html">OutputFile</A> *f)</B></TT>
144
<DD> write attributes to file.
146
<A NAME="ReadMembers">
147
<A NAME ="DOC.141.13">
148
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool ReadMembers(<!1><A HREF="InputFile.html">InputFile</A> *f, double format)</B></TT>
149
<DD> read and check attributes from file.
151
<A NAME="SetReferences">
152
<A NAME ="DOC.141.14">
153
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool SetReferences(<!1><A HREF="AssocList.html">AssocList</A> *)</B></TT>
154
<DD> set and check references to subjects after reading.
156
<A NAME="CheckReferences">
157
<A NAME ="DOC.141.15">
158
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool CheckReferences()</B></TT>
159
<DD> check whether subject references exist.
161
<A NAME="SetDirected">
162
<A NAME ="DOC.141.16">
163
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SetDirected(bool b)</B></TT>
166
<DL><DT><B>Direct child classes:
167
</B><DD><A HREF="Transition.html"> Transition </A><br>
168
<A HREF="TextEdge.html"> TextEdge </A><br>
169
<A HREF="StringListEdge.html"> StringListEdge </A><br>
170
<A HREF="SSDObjectLinkEdge.html"> SSDObjectLinkEdge </A><br>
171
<A HREF="SSDAssociationLinkEdge.html"> SSDAssociationLinkEdge </A><br>
172
<A HREF="IsaRelationship.html"> IsaRelationship </A><br>
173
<A HREF="GenericEdge.html"> GenericEdge </A><br>
174
<A HREF="Event.html"> Event </A><br>
175
<A HREF="EmptyEdge.html"> EmptyEdge </A><br>
176
<A HREF="DPDCommunicationEdge.html"> DPDCommunicationEdge </A><br>
177
<A HREF="DFEdge.html"> DFEdge </A><br>
178
<A HREF="CPDRealizationEdge.html"> CPDRealizationEdge </A><br>
179
<A HREF="CPDDependencyEdge.html"> CPDDependencyEdge </A><br>
180
<A HREF="C1Edge.html"> C1Edge </A><br>
181
<A HREF="BinaryRelationship.html"> BinaryRelationship </A><br>
182
<A HREF="ATDTransitionEdge.html"> ATDTransitionEdge </A><br>
184
<DL></DL><P><I><A HREF="aindex.html"> alphabetic index</A></I> <I><A HREF="HIER.html"> hierarchy of classes</A></I><P><hr>
185
<A HREF="http://www.zib.de/Visual/software/doc++/index.html"><IMG BORDER=0 ALIGN=RIGHT SRC=logo.gif></A>
186
<P Align=Center><I>this page has been generated automatically by doc++</I>
187
<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>