1<html><head><base target=k-main></head><body bgcolor=white><nobr> 2 3<font face=Helvetica size=3> 4<dl><dt> 5 6 <b>class c4_Reference</b> 7<br><br> 8 9<dd><font face=Times size=3> 10A reference is used to get or set typed data, using derived classes.<br><br> 11 12 13</font></dl> 14 15 16 <table cellborder=0> 17 <tr> 18 <td colspan=2> 19 <font face=Helvetica size=-1><b>Public members</b></font> 20 </td> 21 </tr> 22 23 <tr> 24 <td valign=top align=right width=150> 25 26 </td> 27 <td> 28 <nobr> 29 <b>c4_Reference</b> (const <A HREF="c4_RowRef.html" >c4_RowRef</A>&, const <A HREF="c4_Property.html" >c4_Property</A>&); 30 31 32 <font face=Helvetica size=-1><br> 33 Constructor</font> 34 </td> 35 </tr> 36 37 <tr> 38 <td valign=top align=right width=150> 39 <A HREF="c4_Reference.html" >c4_Reference</A>& 40 </td> 41 <td> 42 <nobr> 43 <b>operator= </b> (const <A HREF="c4_Reference.html" >c4_Reference</A>&); 44 45 46 <font face=Helvetica size=-1><br> 47 Assignment of one data item</font> 48 </td> 49 </tr> 50 51 <tr> 52 <td valign=top align=right width=150> 53 int 54 </td> 55 <td> 56 <nobr> 57 <b>GetSize</b> () <i>const</i>; 58 59 60 <font face=Helvetica size=-1><br> 61 Return width of the referenced data item</font> 62 </td> 63 </tr> 64 65 <tr> 66 <td valign=top align=right width=150> 67 bool 68 </td> 69 <td> 70 <nobr> 71 <b>GetData</b> (<A HREF="c4_Bytes.html" >c4_Bytes</A>&) <i>const</i>; 72 73 74 <font face=Helvetica size=-1><br> 75 Retrieve the value of the referenced data item</font> 76 </td> 77 </tr> 78 79 <tr> 80 <td valign=top align=right width=150> 81 void 82 </td> 83 <td> 84 <nobr> 85 <b>SetData</b> (const <A HREF="c4_Bytes.html" >c4_Bytes</A>&) <i>const</i>; 86 87 88 <font face=Helvetica size=-1><br> 89 Store a value into the referenced data item</font> 90 </td> 91 </tr> 92 93 </table> 94 95 96 97 <table cellborder=0> 98 <tr> 99 <td colspan=2> 100 <font face=Helvetica size=-1><b>Protected members</b></font> 101 </td> 102 </tr> 103 104 <tr> 105 <td valign=top align=right width=150> 106 <A HREF="c4_Cursor.html" >c4_Cursor</A> 107 </td> 108 <td> 109 <nobr> 110 <b>_cursor</b>; 111 112 </td> 113 </tr> 114 115 <tr> 116 <td valign=top align=right width=150> 117 const <A HREF="c4_Property.html" >c4_Property</A>& 118 </td> 119 <td> 120 <nobr> 121 <b>_property</b>; 122 123 </td> 124 </tr> 125 126 </table> 127 128 129 130 <table cellborder=0> 131 <tr> 132 <td colspan=2> 133 <font face=Helvetica size=-1><b>Friends</b></font> 134 </td> 135 </tr> 136 137 <tr> 138 <td valign=top align=right width=150> 139 friend bool 140 </td> 141 <td> 142 <nobr> 143 <b>operator==</b> (const <A HREF="c4_Reference.html" >c4_Reference</A>&, const <A HREF="c4_Reference.html" >c4_Reference</A>&); 144 <font face=Helvetica size=-1><br>Return true if the contents of both references is equal</font> 145 </td> 146 </tr> 147 148 <tr> 149 <td valign=top align=right width=150> 150 friend bool 151 </td> 152 <td> 153 <nobr> 154 <b>operator!=</b> (const <A HREF="c4_Reference.html" >c4_Reference</A>&, const <A HREF="c4_Reference.html" >c4_Reference</A>&); 155 <font face=Helvetica size=-1><br>Return true if the contents of both references is not equal</font> 156 </td> 157 </tr> 158 159 </table> 160 161 162<br><hr size=1 width=50 align=left> 163 164<table cellborder=0> 165 <tr> 166 <td width=150> 167 <font face=Helvetica size=-1><b>Header file</b></font> 168 </td> 169 <td> 170 "mk4.h" -- Dec 9, 1999 171 </td> 172 </tr> 173 174 175 <tr> 176 <td valign=top> 177 <font face=Helvetica size=-1><b>See also</b></font> 178 </td> 179 <td> 180 181 <a name="c4_BytesRef" href="c4_BytesRef.html">c4_BytesRef</a>, 182 183 <a name="c4_DoubleRef" href="c4_DoubleRef.html">c4_DoubleRef</a>, 184 185 <a name="c4_FloatRef" href="c4_FloatRef.html">c4_FloatRef</a>, 186 187 <a name="c4_IntRef" href="c4_IntRef.html">c4_IntRef</a>, 188 189 <a name="c4_MemoRef" href="c4_MemoRef.html">c4_MemoRef</a>, 190 191 <a name="c4_StringRef" href="c4_StringRef.html">c4_StringRef</a>, 192 193 <a name="c4_ViewRef" href="c4_ViewRef.html">c4_ViewRef</a> 194 195 </td> 196 </tr> 197 198 199 200</table> 201 202</font></font> 203 204</nobr></body></html> 205