1<html><head><base target=k-main></head><body bgcolor=white> 2 3<font face=Times size=3> 4 5Property objects exist independently of view, row, and storage objects. 6They have a name and type, and can appear in any number of views. 7You will normally only use derived classes, to maintain strong typing. 8 9<P> 10 11 12 13<hr size=1> 14 15<dl> 16 17 <if !private> 18 <a name="c4_Property_CleanupInternalData___"><dt> 19 <nobr> 20 static void 21 <b>CleanupInternalData</b> (); 22 </nobr> 23 <dd> 24 25 26 <font face=Helvetica size=-1>Call this to get rid of som eonternal datastructues (on exit)</font> 27 <p> 28 29 30 <if !private> 31 <a name="c4_Property_GetId___const"><dt> 32 <nobr> 33 int 34 <b>GetId</b> () <i>const</i>; 35 </nobr> 36 <dd> 37 38 A property object in fact merely represents an entry in a globally 39 maintained symbol table. Each property is assigned a unique id, 40 which remains valid as long as some reference to that property 41 exists. In general, property id's remain unique as long as the 42 application runs. Do not store id's on file, since they are 43 not guaranteed to remain the same across program invocations. 44 All properties with the same name are given the same id. 45<br> 46 47 <p> 48 49 50 <if !private> 51 <a name="c4_Property_Name___const"><dt> 52 <nobr> 53 const char* 54 <b>Name</b> () <i>const</i>; 55 </nobr> 56 <dd> 57 58 59 <font face=Helvetica size=-1>Return the name of this property</font> 60 <p> 61 62 63 <if !private> 64 <a name="c4_Property_Refs_int__const"><dt> 65 <nobr> 66 void 67 <b>Refs</b> (int) <i>const</i>; 68 </nobr> 69 <dd> 70 71 This is part of the implementation and shouldn't normally be called. 72<br> 73 74 <p> 75 76 77 <if !private> 78 <a name="c4_Property_Type___const"><dt> 79 <nobr> 80 char 81 <b>Type</b> () <i>const</i>; 82 </nobr> 83 <dd> 84 85 86 <font face=Helvetica size=-1>Return the type of this property</font> 87 <p> 88 89 90 <if !private> 91 <a name="c4_Property__id"><dt> 92 <nobr> 93 short 94 <b>_id</b>; 95 </nobr> 96 <dd> 97 98 99 <font face=Helvetica size=-1></font> 100 <p> 101 102 103 <if !private> 104 <a name="c4_Property__type"><dt> 105 <nobr> 106 char 107 <b>_type</b>; 108 </nobr> 109 <dd> 110 111 112 <font face=Helvetica size=-1></font> 113 <p> 114 115 116 <if !private> 117 <a name="c4_Property_c4_Property_charconst_"><dt> 118 <nobr> 119 120 <b>c4_Property</b> (char type_, const char* name_); 121 </nobr> 122 <dd> 123 124 125 <font face=Helvetica size=-1>Construct a new property with the give type and name</font> 126 <p> 127 128 129 <if !private> 130 <a name="c4_Property_c4_Property_charint_"><dt> 131 <nobr> 132 133 <b>c4_Property</b> (char type_, int id_); 134 </nobr> 135 <dd> 136 137 138 <font face=Helvetica size=-1>Construct a new property with the give type and id</font> 139 <p> 140 141 142 <if !private> 143 <a name="c4_Property_c4_Property_const_"><dt> 144 <nobr> 145 146 <b>c4_Property</b> (const <A HREF="c4_Property.html" >c4_Property</A>& property_); 147 </nobr> 148 <dd> 149 150 151 <font face=Helvetica size=-1>Copy constructor</font> 152 <p> 153 154 155 <if !private> 156 <a name="c4_Property_operator___const__const"><dt> 157 <nobr> 158 <A HREF="c4_Reference.html" >c4_Reference</A> 159 <b>operator()</b> (const <A HREF="c4_RowRef.html" >c4_RowRef</A>& row_) <i>const</i>; 160 </nobr> 161 <dd> 162 163 164 <font face=Helvetica size=-1>Get or set this untyped property in a row</font> 165 <p> 166 167 168 <if !private> 169 <a name="c4_Property_operator___const__const"><dt> 170 <nobr> 171 <A HREF="c4_View.html" >c4_View</A> 172 <b>operator, </b> (const <A HREF="c4_Property.html" >c4_Property</A>& prop_) <i>const</i>; 173 </nobr> 174 <dd> 175 176 177 <font face=Helvetica size=-1>Return a view like the first, with a property appended to it</font> 178 <p> 179 180 181 <if !private> 182 <a name="c4_Property_operator___const__"><dt> 183 <nobr> 184 void 185 <b>operator= </b> (const <A HREF="c4_Property.html" >c4_Property</A>& property_); 186 </nobr> 187 <dd> 188 189 190 <font face=Helvetica size=-1>Assignment</font> 191 <p> 192 193 194 <if !private> 195 <a name="c4_Property__c4_Property__"><dt> 196 <nobr> 197 198 <b>~c4_Property</b> (); 199 </nobr> 200 <dd> 201 202 203 <font face=Helvetica size=-1>Destructor</font> 204 <p> 205 206 207</dl> 208 209<hr size=1 width=50 align=left> 210class 211<b>c4_Property</b> 212</font> 213 214</body></html> 215