~ubuntu-branches/ubuntu/intrepid/tcm/intrepid

« back to all changes in this revision

Viewing changes to doc/sourcecode/Edge.html

  • Committer: Bazaar Package Importer
  • Author(s): Otavio Salvador
  • Date: 2003-07-03 20:08:21 UTC
  • Revision ID: james.westby@ubuntu.com-20030703200821-se4xtqx25e5miczi
Tags: upstream-2.20
ImportĀ upstreamĀ versionĀ 2.20

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<html><head><TITLE>Edge</TITLE></head>
 
2
<body>
 
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.
 
5
</BLOCKQUOTE>
 
6
<hr>
 
7
 <h2> Inheritance:</h2>
 
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">
 
14
</APPLET>
 
15
<hr>
 
16
 
 
17
<DL>
 
18
<TABLE>
 
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>
 
20
<I></I>
 
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>
 
22
<I></I>
 
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>
 
28
<I></I>
 
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>
 
30
<I></I>
 
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>
 
32
<I></I>
 
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>
 
40
<I> set it all</I>
 
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>
 
51
<I></I>
 
52
</TD></TR></TABLE></DL>
 
53
<hr><H3>Inherited from <A HREF="Subject.html">Subject:</A></h3>
 
54
 
 
55
<DL>
 
56
<DL>
 
57
<DT><h3>Public Classes</h3><DD><DT><IMG SRC=icon2.gif>  enum  <B>NameErrType</B>
 
58
</DL><DL>
 
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 
 
68
</DL></DL>
 
69
<hr><H3>Inherited from <A HREF = "Thing.html"> Thing:</A></h3>
 
70
 
 
71
<DL>
 
72
<DL>
 
73
<DT><h3>Public Classes</h3><DD><DT><IMG SRC=icon2.gif>  enum  <B>AssocType</B>
 
74
</DL><DL>
 
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)
 
81
</DL></DL>
 
82
<A NAME="DOC.DOCU">
 
83
<hr>
 
84
 <h2> Documentation </h2>
 
85
<BLOCKQUOTE>
 
86
 Graph edge class, base class of all edges. An edge connects two subjects.
 
87
 
 
88
</BLOCKQUOTE>
 
89
<DL>
 
90
 
 
91
<A NAME="Edge">
 
92
<A NAME ="DOC.141.1">
 
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>
 
94
<DL></DL><P>
 
95
<A NAME="~Edge">
 
96
<A NAME ="DOC.141.2">
 
97
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> virtual  ~Edge()</B></TT>
 
98
<DL></DL><P>
 
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.
 
103
<DL></DL><P>
 
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'.
 
108
<DL></DL><P>
 
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>
 
112
<DL></DL><P>
 
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>
 
116
<DL></DL><P>
 
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>
 
120
<DL></DL><P>
 
121
<A NAME="InGraph">
 
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?
 
125
<DL></DL><P>
 
126
<A NAME="IsEdge">
 
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
 
130
<DL></DL><P>
 
131
<A NAME="PartOf">
 
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?
 
135
<DL></DL><P>
 
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>
 
139
<DD> set it all
 
140
<DL></DL><P>
 
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.
 
145
<DL></DL><P>
 
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.
 
150
<DL></DL><P>
 
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.
 
155
<DL></DL><P>
 
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.
 
160
<DL></DL><P>
 
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>
 
164
<DL></DL><P></DL>
 
165
<hr>
 
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>
 
183
</DL>
 
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&ouml;ckler</A>, <A HREF="mailto:wunderling@zib.de"> Roland Wunderling </A><br>contact: <A HREF="mailto:doc++@zib.de"> doc++@zib.de</a></I>
 
188
</BODY>