File: IndexedPtsMixin.html

package info (click to toggle)
ivtools-doc 0.7.10-1
  • links: PTS
  • area: main
  • in suites: potato, woody
  • size: 13,436 kB
  • ctags: 15,900
  • sloc: ansic: 687; sh: 139; makefile: 41; cpp: 24
file content (190 lines) | stat: -rw-r--r-- 3,366 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190

<html><head><TITLE>Description of IndexedPtsMixin</TITLE><BASE TARGET="_parent" ></head>
<body BGCOLOR=#FFFFFF>
<FONT FACE=Helvetica>
<DL><DT>
<FONT SIZE=4> 
  class  
</FONT>
<FONT SIZE=5><B>IndexedPtsMixin</B></FONT>


<A HREF="index.html">(Return to index)</A>

<br><br>

<DD><FONT FACE=Times SIZE=4>
mixin for point-list indexing mechanism used by <A HREF="OverlayIdrawComp.html" >OverlayIdrawComp</A>, etc..<br><br>

<B>Type:</B><br>
<UL>
Instantiable
</UL>
<br>



<A HREF=derivedclasses.html#IndexedPtsMixin><B>Derived Classes</B></A>
<p>


<B>Include file:</B><br>
<UL><FONT FACE=Helvetica SIZE=3>
OverlayUnidraw/indexmixins.h
</FONT></UL>
<br>


 <B>Description:</B><P>  When a tree of graphical components is saved to disk (translated to ASCII), it is
 possible to enable the output of point-lists first as 'pts' records, to allow
 for compression of replicated point lists within a single document.  When reading 
 these documents back in, the istream constructor of <A HREF="OverlayIdrawComp.html" >OverlayIdrawComp</A> (and other 
 top-level components) uses this mixin to manage a table of point lists, building 
 it up as each 'pts' record is read, and accessing entries for each ":pts id" field 
 found in subsequent records.
  <br><br>
</DL></FONT>



<FONT FACE=Times SIZE=4><B>Public:</B></FONT><br><br><UL>

    <DT><FONT FACE=Helvetica>
    <A NAME="IndexedPtsMixin()">
    <B>IndexedPtsMixin</B> () </FONT> 
    
    
    <DD><FONT FACE=Times SIZE=3><UL>
      
      
      <br>
      
      
      
      
	  
      
      </UL></FONT><br>

    <DT><FONT FACE=Helvetica><A HREF="MultiLineObj.html" >MultiLineObj</A>* 
    <A NAME="get_indexed_pts(intid)">
    <B>get_indexed_pts</B> (int id) </FONT> 
    
    
    <DD><FONT FACE=Times SIZE=3><UL>
      
        retrieve point list by 'id'.
 <br> 
      <br>
      
      
      
      
	  
      
      </UL></FONT><br>

    <DT><FONT FACE=Helvetica>void 
    <A NAME="grow_indexed_pts(MultiLineObj*)">
    <B>grow_indexed_pts</B> (<A HREF="MultiLineObj.html" >MultiLineObj</A>*) </FONT> 
    
    
    <DD><FONT FACE=Times SIZE=3><UL>
      
        add point list to table.
 <br> 
      <br>
      
      
      
      
	  
      
      </UL></FONT><br>

    <DT><FONT FACE=Helvetica>void 
    <A NAME="reset_indexed_pts()">
    <B>reset_indexed_pts</B> () </FONT> 
    
    
    <DD><FONT FACE=Times SIZE=3><UL>
      
        reset point list table.
 <br> 
      <br>
      
      
      
      
	  
      
      </UL></FONT><br>

</UL><br><br>




<FONT FACE=Times SIZE=4><B>Protected:</B></FONT><br><br><UL>

    <DT><FONT FACE=Helvetica><A HREF="MultiLineObj.html" >MultiLineObj</A>** 
    <A NAME="_ptsbuf">
    <B>_ptsbuf</B>
    
    <DD><FONT FACE=Times SIZE=3><UL>
      
      
      <br>
      
      
      
      
      
      
      </UL></FONT><br>

    <DT><FONT FACE=Helvetica>int 
    <A NAME="_ptslen">
    <B>_ptslen</B>
    
    <DD><FONT FACE=Times SIZE=3><UL>
      
      
      <br>
      
      
      
      
      
      
      </UL></FONT><br>

    <DT><FONT FACE=Helvetica>int 
    <A NAME="_ptsnum">
    <B>_ptsnum</B>
    
    <DD><FONT FACE=Times SIZE=3><UL>
      
      
      <br>
      
      
      
      
      
      
      </UL></FONT><br>

</UL><br><br>





<A HREF="../index.html">(more documentation)</A>

<br><br>

</FONT>
</body>
</html>