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 IndexedPicMixin</TITLE><BASE TARGET="_parent" ></head>
<body BGCOLOR=#FFFFFF>
<FONT FACE=Helvetica>
<DL><DT>
<FONT SIZE=4>
class
</FONT>
<FONT SIZE=5><B>IndexedPicMixin</B></FONT>
<A HREF="index.html">(Return to index)</A>
<br><br>
<DD><FONT FACE=Times SIZE=4>
mixin for composite-graphic (pic) 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#IndexedPicMixin><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 common composite-graphics as 'pic' records,
to allow for compression of replicated composite-graphics 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 pics,
building it up as each 'pic' record is read, and accessing entries for each
":pics 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="IndexedPicMixin()">
<B>IndexedPicMixin</B> () </FONT>
<DD><FONT FACE=Times SIZE=3><UL>
<br>
</UL></FONT><br>
<DT><FONT FACE=Helvetica><A HREF="OverlaysComp.html" >OverlaysComp</A>*
<A NAME="get_indexed_pic(intid)">
<B>get_indexed_pic</B> (int id) </FONT>
<DD><FONT FACE=Times SIZE=3><UL>
retrieve pic by 'id'.
<br>
<br>
</UL></FONT><br>
<DT><FONT FACE=Helvetica>void
<A NAME="grow_indexed_pic(OverlaysComp*)">
<B>grow_indexed_pic</B> (<A HREF="OverlaysComp.html" >OverlaysComp</A>*) </FONT>
<DD><FONT FACE=Times SIZE=3><UL>
add pic to table.
<br>
<br>
</UL></FONT><br>
<DT><FONT FACE=Helvetica>void
<A NAME="reset_indexed_pic()">
<B>reset_indexed_pic</B> () </FONT>
<DD><FONT FACE=Times SIZE=3><UL>
reset pic 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="OverlaysComp.html" >OverlaysComp</A>**
<A NAME="_picbuf">
<B>_picbuf</B>
<DD><FONT FACE=Times SIZE=3><UL>
<br>
</UL></FONT><br>
<DT><FONT FACE=Helvetica>int
<A NAME="_piclen">
<B>_piclen</B>
<DD><FONT FACE=Times SIZE=3><UL>
<br>
</UL></FONT><br>
<DT><FONT FACE=Helvetica>int
<A NAME="_picnum">
<B>_picnum</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>
|