Changeset 1159
- Timestamp:
- 04/15/08 04:36:41 (4 weeks ago)
- Files:
-
- trunk/Source/System/FieldContainer/Fields/PointerFields/OSGChildPointerMField.h (modified) (17 diffs)
- trunk/Source/System/FieldContainer/Fields/PointerFields/OSGChildPointerMField.inl (modified) (91 diffs)
- trunk/Source/System/FieldContainer/Fields/PointerFields/OSGChildPointerSField.h (modified) (3 diffs)
- trunk/Source/System/FieldContainer/Fields/PointerFields/OSGChildPointerSField.inl (modified) (11 diffs)
- trunk/Source/System/FieldContainer/Fields/PointerFields/OSGParentPointerMField.h (modified) (8 diffs)
- trunk/Source/System/FieldContainer/Fields/PointerFields/OSGParentPointerMField.inl (modified) (36 diffs)
- trunk/Source/System/FieldContainer/Fields/PointerFields/OSGParentPointerSField.h (modified) (3 diffs)
- trunk/Source/System/FieldContainer/Fields/PointerFields/OSGParentPointerSField.inl (modified) (12 diffs)
- trunk/Source/System/FieldContainer/Fields/PointerFields/OSGPointerMField.h (modified) (20 diffs)
- trunk/Source/System/FieldContainer/Fields/PointerFields/OSGPointerMField.inl (modified) (89 diffs)
- trunk/Source/System/FieldContainer/Fields/PointerFields/OSGPointerMFieldBase.h (modified) (2 diffs)
- trunk/Source/System/FieldContainer/Fields/PointerFields/OSGPointerSField.h (modified) (3 diffs)
- trunk/Source/System/FieldContainer/Fields/PointerFields/OSGPointerSField.inl (modified) (12 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Source/System/FieldContainer/Fields/PointerFields/OSGChildPointerMField.h
r1155 r1159 56 56 57 57 // forward declarations 58 template <class ObjectTypeT, typename RefCountPolicy, Int32 NamespaceI>58 template <class PtrTypeT, typename RefCountPolicy, Int32 NamespaceI> 59 59 class ChildPointerMField; 60 60 61 template <class ObjectTypeT, typename RefCountPolicy, Int32 NamespaceI>61 template <class PtrTypeT, typename RefCountPolicy, Int32 NamespaceI> 62 62 class ChildMFieldConstIterator; 63 63 64 64 #ifndef OSG_CLEAN_FCFIELDS 65 template <class ObjectTypeT, typename RefCountPolicy, Int32 NamespaceI>65 template <class PtrTypeT, typename RefCountPolicy, Int32 NamespaceI> 66 66 class ChildMFieldReferenceProxy; 67 67 #endif 68 68 69 69 /*---------------------------------------------------------------------------*/ 70 /* ChildMFieldIterator< ObjectTypeT> */70 /* ChildMFieldIterator<PtrTypeT> */ 71 71 /*---------------------------------------------------------------------------*/ 72 72 73 template <class ObjectTypeT, typename RefCountPolicy, Int32 iNamespace>73 template <class PtrTypeT, typename RefCountPolicy, Int32 iNamespace> 74 74 class ChildMFieldIterator : 75 protected ChildPointerMField< ObjectTypeT,75 protected ChildPointerMField<PtrTypeT, 76 76 RefCountPolicy, 77 77 iNamespace >::PtrStoreItType 78 78 { 79 template <class OT, typename RC, Int32 NI>79 template <class PT, typename RC, Int32 NI> 80 80 friend class ChildPointerMField; 81 81 82 template <class OT, typename RC, Int32 NI>82 template <class PT, typename RC, Int32 NI> 83 83 friend class ChildMFieldConstIterator; 84 84 … … 93 93 typedef ChildMFieldIterator Self; 94 94 95 typedef ChildPointerMField< ObjectTypeT,95 typedef ChildPointerMField<PtrTypeT, 96 96 RefCountPolicy, 97 97 iNamespace > MFieldType; … … 101 101 typedef typename MFieldType::AccessHandler AccessHandler; 102 102 103 typedef ObjectTypeT * constconst_value;103 typedef PtrTypeT const const_value; 104 104 105 105 #ifndef OSG_CLEAN_FCFIELDS 106 106 typedef ChildMFieldReferenceProxy< 107 ObjectTypeT,107 PtrTypeT, 108 108 RefCountPolicy, 109 109 iNamespace > reference; … … 119 119 typedef typename Inherited::iterator_category iterator_category; 120 120 typedef typename Inherited::difference_type difference_type; 121 122 typedef ObjectTypeT ObjectType;123 121 124 122 /*! \} */ … … 196 194 197 195 #if 0 198 template <class ObjectTypeT, Int32 iNamespace>199 typename ChildMFieldIterator< ObjectTypeT, iNamespace>::difference_type200 operator-(ChildMFieldIterator< ObjectTypeT, iNamespace> const &lhs,201 ChildMFieldIterator< ObjectTypeT, iNamespace> const &rhs );202 203 template <class ObjectTypeT, Int32 iNamespace>204 ChildMFieldIterator< ObjectTypeT, iNamespace>196 template <class PtrTypeT, Int32 iNamespace> 197 typename ChildMFieldIterator<PtrTypeT, iNamespace>::difference_type 198 operator-(ChildMFieldIterator<PtrTypeT, iNamespace> const &lhs, 199 ChildMFieldIterator<PtrTypeT, iNamespace> const &rhs ); 200 201 template <class PtrTypeT, Int32 iNamespace> 202 ChildMFieldIterator<PtrTypeT, iNamespace> 205 203 operator+( 206 typename ChildMFieldIterator< ObjectTypeT, iNamespace>::differece_type const offset,207 ChildMFieldIterator< ObjectTypeT, iNamespace> const &rhs );204 typename ChildMFieldIterator<PtrTypeT, iNamespace>::differece_type const offset, 205 ChildMFieldIterator<PtrTypeT, iNamespace> const &rhs ); 208 206 #endif 209 207 210 208 /*---------------------------------------------------------------------------*/ 211 /* ChildMFieldConstIterator< ObjectTypeT> */209 /* ChildMFieldConstIterator<PtrTypeT> */ 212 210 /*---------------------------------------------------------------------------*/ 213 211 214 template <class ObjectTypeT, typename RefCountPolicy, Int32 iNamespace>212 template <class PtrTypeT, typename RefCountPolicy, Int32 iNamespace> 215 213 class ChildMFieldConstIterator : 216 protected ChildPointerMField< ObjectTypeT,214 protected ChildPointerMField<PtrTypeT, 217 215 RefCountPolicy, 218 216 iNamespace >::PtrStoreConstItType 219 217 { 220 template <class OT, typename RC, Int32 NI>218 template <class PT, typename RC, Int32 NI> 221 219 friend class ChildPointerMField; 222 220 223 template <class OT, typename RC, Int32 NI>221 template <class PT, typename RC, Int32 NI> 224 222 friend class ChildMFieldIterator; 225 223 … … 234 232 typedef ChildMFieldConstIterator Self; 235 233 236 typedef ChildPointerMField< ObjectTypeT,234 typedef ChildPointerMField<PtrTypeT, 237 235 RefCountPolicy, 238 236 iNamespace > MFieldType; … … 242 240 typedef typename MFieldType::AccessHandler AccessHandler; 243 241 244 typedef ObjectTypeT * constconst_value;242 typedef PtrTypeT const const_value; 245 243 246 244 // store types … … 254 252 typedef typename Inherited::difference_type difference_type; 255 253 256 typedef ObjectTypeT ObjectType;257 258 254 /*! \} */ 259 255 /*---------------------------------------------------------------------*/ … … 322 318 323 319 #if 0 324 template <class ObjectTypeT, Int32 iNamespace>325 typename ChildMFieldConstIterator< ObjectTypeT, iNamespace>::difference_type326 operator-(ChildMFieldConstIterator< ObjectTypeT, iNamespace> const &lhs,327 ChildMFieldConstIterator< ObjectTypeT, iNamespace> const &rhs );320 template <class PtrTypeT, Int32 iNamespace> 321 typename ChildMFieldConstIterator<PtrTypeT, iNamespace>::difference_type 322 operator-(ChildMFieldConstIterator<PtrTypeT, iNamespace> const &lhs, 323 ChildMFieldConstIterator<PtrTypeT, iNamespace> const &rhs ); 328 324 329 template <class ObjectTypeT, Int32 iNamespace>330 typename ChildMFieldConstIterator< ObjectTypeT, iNamespace>::difference_type331 operator-(ChildMFieldIterator < ObjectTypeT, iNamespace> const &lhs,332 ChildMFieldConstIterator< ObjectTypeT, iNamespace> const &rhs );333 334 template <class ObjectTypeT, Int32 iNamespace>335 typename ChildMFieldConstIterator< ObjectTypeT, iNamespace>::difference_type336 operator-(ChildMFieldConstIterator< ObjectTypeT, iNamespace> const &lhs,337 ChildMFieldIterator < ObjectTypeT, iNamespace> const &rhs );325 template <class PtrTypeT, Int32 iNamespace> 326 typename ChildMFieldConstIterator<PtrTypeT, iNamespace>::difference_type 327 operator-(ChildMFieldIterator <PtrTypeT, iNamespace> const &lhs, 328 ChildMFieldConstIterator<PtrTypeT, iNamespace> const &rhs ); 329 330 template <class PtrTypeT, Int32 iNamespace> 331 typename ChildMFieldConstIterator<PtrTypeT, iNamespace>::difference_type 332 operator-(ChildMFieldConstIterator<PtrTypeT, iNamespace> const &lhs, 333 ChildMFieldIterator <PtrTypeT, iNamespace> const &rhs ); 338 334 339 template <class ObjectTypeT, Int32 iNamespace>340 ChildMFieldConstIterator< ObjectTypeT, iNamespace>335 template <class PtrTypeT, Int32 iNamespace> 336 ChildMFieldConstIterator<PtrTypeT, iNamespace> 341 337 operator+( 342 typename ChildMFieldConstIterator< ObjectTypeT, iNamespace>::difference_type const offset,343 ChildMFieldConstIterator< ObjectTypeT, iNamespace> const &rhs );338 typename ChildMFieldConstIterator<PtrTypeT, iNamespace>::difference_type const offset, 339 ChildMFieldConstIterator<PtrTypeT, iNamespace> const &rhs ); 344 340 #endif 345 341 346 342 /*-------------------------------------------------------------------------*/ 347 /* ChildMFieldReferenceProxy< ObjectTypeT> */343 /* ChildMFieldReferenceProxy<PtrTypeT> */ 348 344 /*-------------------------------------------------------------------------*/ 349 345 350 template <class ObjectTypeT, typename RefCountPolicy, Int32 iNamespace>346 template <class PtrTypeT, typename RefCountPolicy, Int32 iNamespace> 351 347 class ChildMFieldReferenceProxy 352 348 { … … 359 355 /*! \{ */ 360 356 361 typedef ObjectTypeT ObjectType;362 363 357 typedef ChildMFieldReferenceProxy Self; 364 358 365 typedef ChildPointerMField< ObjectTypeT,359 typedef ChildPointerMField<PtrTypeT, 366 360 RefCountPolicy, 367 361 iNamespace > MFieldType; … … 375 369 376 370 // std library types 377 typedef ObjectTypeT * constconst_value;371 typedef PtrTypeT const const_value; 378 372 379 373 /*! \} */ … … 416 410 /*---------------------------------------------------------------------------*/ 417 411 418 template <class ObjectTypeT,412 template <class PtrTypeT, 419 413 typename RefCountPolicy, 420 414 Int32 NamespaceI = 0> … … 432 426 /*! \{ */ 433 427 434 435 428 typedef ChildPointerMFieldBase< 436 429 ChildAccessHandler <RefCountPolicy>, … … 439 432 typedef ChildPointerMField Self; 440 433 441 typedef ObjectTypeT *value_type;442 typedef ObjectTypeT * constconst_value;434 typedef PtrTypeT value_type; 435 typedef PtrTypeT const const_value; 443 436 typedef value_type StoredType; 444 437 … … 446 439 typedef typename Inherited::difference_type difference_type; 447 440 448 typedef ChildMFieldIterator < ObjectTypeT,441 typedef ChildMFieldIterator <PtrTypeT, 449 442 RefCountPolicy, 450 443 NamespaceI > iterator; 451 444 452 typedef ChildMFieldConstIterator < ObjectTypeT,445 typedef ChildMFieldConstIterator <PtrTypeT, 453 446 RefCountPolicy, 454 447 NamespaceI > const_iterator; … … 466 459 467 460 #ifndef OSG_CLEAN_FCFIELDS 468 typedef ChildMFieldReferenceProxy< ObjectTypeT,461 typedef ChildMFieldReferenceProxy<PtrTypeT, 469 462 RefCountPolicy, 470 463 NamespaceI > reference; 471 464 #endif 472 465 473 typedef ObjectTypeT ObjectType; 474 466 475 467 // handles 476 468 // typedef EditPointerMFieldHandle<Self> EditHandle; … … 608 600 const_value value = NullFC); 609 601 602 void reserve (size_type newsize ); 603 610 604 void clear (void ); 611 605 trunk/Source/System/FieldContainer/Fields/PointerFields/OSGChildPointerMField.inl
r1155 r1159 46 46 47 47 /*-------------------------------------------------------------------------*/ 48 /* ChildMFieldIterator< ObjectTypeT> */48 /* ChildMFieldIterator<PtrTypeT> */ 49 49 /*-------------------------------------------------------------------------*/ 50 50 … … 52 52 /* Constructors */ 53 53 54 template <class ObjectTypeT, typename RefCountPolicy, Int32 iNamespace> inline55 ChildMFieldIterator< ObjectTypeT,54 template <class PtrTypeT, typename RefCountPolicy, Int32 iNamespace> inline 55 ChildMFieldIterator<PtrTypeT, 56 56 RefCountPolicy, 57 57 iNamespace >::ChildMFieldIterator(void) : … … 61 61 } 62 62 63 template <class ObjectTypeT, typename RefCountPolicy, Int32 iNamespace> inline64 ChildMFieldIterator< ObjectTypeT,63 template <class PtrTypeT, typename RefCountPolicy, Int32 iNamespace> inline 64 ChildMFieldIterator<PtrTypeT, 65 65 RefCountPolicy, 66 66 iNamespace >::ChildMFieldIterator(const Self &source) : … … 70 70 } 71 71 72 template <class ObjectTypeT, typename RefCountPolicy, Int32 iNamespace> inline73 ChildMFieldIterator< ObjectTypeT,72 template <class PtrTypeT, typename RefCountPolicy, Int32 iNamespace> inline 73 ChildMFieldIterator<PtrTypeT, 74 74 RefCountPolicy, 75 75 iNamespace >::ChildMFieldIterator( … … 85 85 /* Destructor */ 86 86 87 template <class ObjectTypeT, typename RefCountPolicy, Int32 iNamespace> inline88 ChildMFieldIterator< ObjectTypeT,87 template <class PtrTypeT, typename RefCountPolicy, Int32 iNamespace> inline 88 ChildMFieldIterator<PtrTypeT, 89 89 RefCountPolicy, 90 90 iNamespace >::~ChildMFieldIterator(void) … … 96 96 97 97 #ifndef OSG_CLEAN_FCFIELDS 98 template <class ObjectTypeT, typename RefCountPolicy, Int32 iNamespace> inline99 typename ChildMFieldIterator< ObjectTypeT,98 template <class PtrTypeT, typename RefCountPolicy, Int32 iNamespace> inline 99 typename ChildMFieldIterator<PtrTypeT, 100 100 RefCountPolicy, 101 101 iNamespace >::reference 102 ChildMFieldIterator< ObjectTypeT,102 ChildMFieldIterator<PtrTypeT, 103 103 RefCountPolicy, 104 104 iNamespace >::operator * (void) const … … 108 108 109 109 110 template <class ObjectTypeT, typename RefCountPolicy, Int32 iNamespace> inline111 typename ChildMFieldIterator< ObjectTypeT,110 template <class PtrTypeT, typename RefCountPolicy, Int32 iNamespace> inline 111 typename ChildMFieldIterator<PtrTypeT, 112 112 RefCountPolicy, 113 113 iNamespace >::reference 114 ChildMFieldIterator< ObjectTypeT,114 ChildMFieldIterator<PtrTypeT, 115 115 RefCountPolicy, 116 116 iNamespace >::operator []( … … 120 120 } 121 121 #else 122 template <class ObjectTypeT, typename RefCountPolicy, Int32 iNamespace> inline123 typename ChildMFieldIterator< ObjectTypeT,122 template <class PtrTypeT, typename RefCountPolicy, Int32 iNamespace> inline 123 typename ChildMFieldIterator<PtrTypeT, 124 124 RefCountPolicy, 125 125 iNamespace >::const_value 126 ChildMFieldIterator< ObjectTypeT,126 ChildMFieldIterator<PtrTypeT, 127 127 RefCountPolicy, 128 128 iNamespace >::operator * (void) const … … 133 133 134 134 135 template <class ObjectTypeT, typename RefCountPolicy, Int32 iNamespace> inline136 typename ChildMFieldIterator< ObjectTypeT,135 template <class PtrTypeT, typename RefCountPolicy, Int32 iNamespace> inline 136 typename ChildMFieldIterator<PtrTypeT, 137 137 RefCountPolicy, 138 138 iNamespace >::const_value 139 ChildMFieldIterator< ObjectTypeT,139 ChildMFieldIterator<PtrTypeT, 140 140 RefCountPolicy, 141 141 iNamespace >::operator []( … … 147 147 148 148 149 template <class ObjectTypeT, typename RefCountPolicy, Int32 iNamespace> inline150 typename ChildMFieldIterator< ObjectTypeT,149 template <class PtrTypeT, typename RefCountPolicy, Int32 iNamespace> inline 150 typename ChildMFieldIterator<PtrTypeT, 151 151 RefCountPolicy, 152 152 iNamespace >::Self & 153 ChildMFieldIterator< ObjectTypeT,153 ChildMFieldIterator<PtrTypeT, 154 154 RefCountPolicy, 155 155 iNamespace >::operator ++(void) … … 160 160 } 161 161 162 template <class ObjectTypeT, typename RefCountPolicy, Int32 iNamespace> inline163 typename ChildMFieldIterator< ObjectTypeT, RefCountPolicy, iNamespace>::Self164 ChildMFieldIterator< ObjectTypeT,162 template <class PtrTypeT, typename RefCountPolicy, Int32 iNamespace> inline 163 typename ChildMFieldIterator<PtrTypeT, RefCountPolicy, iNamespace>::Self 164 ChildMFieldIterator<PtrTypeT, 165 165 RefCountPolicy, 166 166 iNamespace >::operator ++(int) … … 173 173 } 174 174 175 template <class ObjectTypeT, typename RefCountPolicy, Int32 iNamespace> inline176 typename ChildMFieldIterator< ObjectTypeT,175 template <class PtrTypeT, typename RefCountPolicy, Int32 iNamespace> inline 176 typename ChildMFieldIterator<PtrTypeT, 177 177 RefCountPolicy, 178 178 iNamespace >::Self & 179 ChildMFieldIterator< ObjectTypeT,179 ChildMFieldIterator<PtrTypeT, 180 180 RefCountPolicy, 181 181 iNamespace >::operator --(void) … … 186 186 } 187 187 188 template <class ObjectTypeT, typename RefCountPolicy, Int32 iNamespace> inline189 typename ChildMFieldIterator< ObjectTypeT, RefCountPolicy, iNamespace>::Self190 ChildMFieldIterator< ObjectTypeT,188 template <class PtrTypeT, typename RefCountPolicy, Int32 iNamespace> inline 189 typename ChildMFieldIterator<PtrTypeT, RefCountPolicy, iNamespace>::Self 190 ChildMFieldIterator<PtrTypeT, 191 191 RefCountPolicy, 192 192 iNamespace >::operator --(int) … … 199 199 } 200 200 201 template <class ObjectTypeT, typename RefCountPolicy, Int32 iNamespace> inline202 typename ChildMFieldIterator< ObjectTypeT,201 template <class PtrTypeT, typename RefCountPolicy, Int32 iNamespace> inline 202 typename ChildMFieldIterator<PtrTypeT, 203 203 RefCountPolicy, 204 204 iNamespace >::Self & 205 ChildMFieldIterator< ObjectTypeT,205 ChildMFieldIterator<PtrTypeT, 206 206 RefCountPolicy, 207 207 iNamespace>::operator +=(const difference_type offset) … … 212 212 } 213 213 214 template <class ObjectTypeT, typename RefCountPolicy, Int32 iNamespace> inline215 typename ChildMFieldIterator< ObjectTypeT, RefCountPolicy, iNamespace>::Self216 ChildMFieldIterator< ObjectTypeT,214 template <class PtrTypeT, typename RefCountPolicy, Int32 iNamespace> inline 215 typename ChildMFieldIterator<PtrTypeT, RefCountPolicy, iNamespace>::Self 216 ChildMFieldIterator<PtrTypeT, 217 217 RefCountPolicy, 218 218 iNamespace >::operator +( … … 224 224 } 225 225 226 template <class ObjectTypeT, typename RefCountPolicy, Int32 iNamespace> inline227 typename ChildMFieldIterator< ObjectTypeT, RefCountPolicy, iNamespace>::Self &228 ChildMFieldIterator< ObjectTypeT,226 template <class PtrTypeT, typename RefCountPolicy, Int32 iNamespace> inline 227 typename ChildMFieldIterator<PtrTypeT, RefCountPolicy, iNamespace>::Self & 228 ChildMFieldIterator<PtrTypeT, 229 229 RefCountPolicy, 230 230 iNamespace >::operator -=( … … 236 236 } 237 237 238 template <class ObjectTypeT, typename RefCountPolicy, Int32 iNamespace> inline239 typename ChildMFieldIterator< ObjectTypeT, RefCountPolicy, iNamespace>::Self240 ChildMFieldIterator< ObjectTypeT,238 template <class PtrTypeT, typename RefCountPolicy, Int32 iNamespace> inline 239 typename ChildMFieldIterator<PtrTypeT, RefCountPolicy, iNamespace>::Self 240 ChildMFieldIterator<PtrTypeT, 241 241 RefCountPolicy, 242 242 iNamespace >::operator -( … … 249 249 250 250 251 template <class ObjectTypeT, typename RefCountPolicy, Int32 iNamespace> inline252 bool ChildMFieldIterator< ObjectTypeT,251 template <class PtrTypeT, typename RefCountPolicy, Int32 iNamespace> inline 252 bool ChildMFieldIterator<PtrTypeT, 253 253 RefCountPolicy, 254 254 iNamespace >::operator == (const Self &rhs) const … … 257 257 } 258 258 259 template <class ObjectTypeT, typename RefCountPolicy, Int32 iNamespace> inline260 bool ChildMFieldIterator< ObjectTypeT,259 template <class PtrTypeT, typename RefCountPolicy, Int32 iNamespace> inline 260 bool ChildMFieldIterator<PtrTypeT, 261 261 RefCountPolicy, 262 262 iNamespace >::operator != (const Self &rhs) const … … 265 265 } 266 266 267 template <class ObjectTypeT, typename RefCountPolicy, Int32 iNamespace> inline268 bool ChildMFieldIterator< ObjectTypeT,267 template <class PtrTypeT, typename RefCountPolicy, Int32 iNamespace> inline 268 bool ChildMFieldIterator<PtrTypeT, 269 269 RefCountPolicy, 270 270 iNamespace >::operator == ( … … 274 274 } 275 275 276 template <class ObjectTypeT, typename RefCountPolicy, Int32 iNamespace> inline277 bool ChildMFieldIterator< ObjectTypeT,276 template <class PtrTypeT, typename RefCountPolicy, Int32 iNamespace> inline 277 bool ChildMFieldIterator<PtrTypeT, 278 278 RefCountPolicy, 279 279 iNamespace >::operator != ( … … 287 287 /* Base */ 288 288 289 template <class ObjectTypeT, typename RefCountPolicy, Int32 iNamespace> inline290 const typename ChildMFieldIterator< ObjectTypeT,289 template <class PtrTypeT, typename RefCountPolicy, Int32 iNamespace> inline 290 const typename ChildMFieldIterator<PtrTypeT, 291 291 RefCountPolicy, 292 292 iNamespace >::PtrStoreItType & 293 ChildMFieldIterator< ObjectTypeT,293 ChildMFieldIterator<PtrTypeT, 294 294 RefCountPolicy, 295 295 iNamespace >::base(void) const … … 304 304 /* Free Functions */ 305 305 306 template <class ObjectTypeT, Int32 iNamespace>307 typename ChildMFieldIterator< ObjectTypeT, iNamespace>::difference_type308 operator-(ChildMFieldIterator< ObjectTypeT, iNamespace> const &lhs,309 ChildMFieldIterator< ObjectTypeT, iNamespace> const &rhs )306 template <class PtrTypeT, Int32 iNamespace> 307 typename ChildMFieldIterator<PtrTypeT, iNamespace>::difference_type 308 operator-(ChildMFieldIterator<PtrTypeT, iNamespace> const &lhs, 309 ChildMFieldIterator<PtrTypeT, iNamespace> const &rhs ) 310 310 { 311 311 return std::distance< 312 typename ChildMFieldIterator< ObjectTypeT, iNamespace>::StoreItType312 typename ChildMFieldIterator<PtrTypeT, iNamespace>::StoreItType 313 313 >(lhs, rhs); 314 314 } 315 315 316 template <class ObjectTypeT, Int32 iNamespace>317 ChildMFieldIterator< ObjectTypeT, iNamespace>316 template <class PtrTypeT, Int32 iNamespace> 317 ChildMFieldIterator<PtrTypeT, iNamespace> 318 318 operator+( 319 typename ChildMFieldIterator< ObjectTypeT, iNamespace>::differece_type const offset,320 ChildMFieldIterator< ObjectTypeT, iNamespace> const &rhs )321 { 322 return ChildMFieldIterator< ObjectTypeT, iNamespace>(rhs) += offset;319 typename ChildMFieldIterator<PtrTypeT, iNamespace>::differece_type const offset, 320 ChildMFieldIterator<PtrTypeT, iNamespace> const &rhs ) 321 { 322 return ChildMFieldIterator<PtrTypeT, iNamespace>(rhs) += offset; 323 323 } 324 324 #endif … … 326 326 327 327 /*-------------------------------------------------------------------------*/ 328 /* ChildMFieldConstIterator< ObjectTypeT> */328 /* ChildMFieldConstIterator<PtrTypeT> */ 329 329 /*-------------------------------------------------------------------------*/ 330 330 … … 332 332 /* Constructors */ 333 333 334 template <class ObjectTypeT, typename RefCountPolicy, Int32 iNamespace> inline335 ChildMFieldConstIterator< ObjectTypeT,334 template <class PtrTypeT, typename RefCountPolicy, Int32 iNamespace> inline 335 ChildMFieldConstIterator<PtrTypeT, 336 336 RefCountPolicy, 337 337 iNamespace >::ChildMFieldConstIterator(void) : … … 340 340 } 341 341 342 template <class ObjectTypeT, typename RefCountPolicy, Int32 iNamespace> inline343 ChildMFieldConstIterator< ObjectTypeT,342 template <class PtrTypeT, typename RefCountPolicy, Int32 iNamespace> inline 343 ChildMFieldConstIterator<PtrTypeT, 344 344 RefCountPolicy, 345 345 iNamespace >::ChildMFieldConstIterator( … … 349 349 } 350 350 351 template <class ObjectTypeT, typename RefCountPolicy, Int32 iNamespace> inline352 ChildMFieldConstIterator< ObjectTypeT,351 template <class PtrTypeT, typename RefCountPolicy, Int32 iNamespace> inline 352 ChildMFieldConstIterator<PtrTypeT, 353 353 RefCountPolicy, 354 354 iNamespace >::ChildMFieldConstIterator( … … 358 358 } 359 359 360 template <class ObjectTypeT, typename RefCountPolicy, Int32 iNamespace> inline361 ChildMFieldConstIterator< ObjectTypeT,360 template <class PtrTypeT, typename RefCountPolicy, Int32 iNamespace> inline 361 ChildMFieldConstIterator<PtrTypeT, 362 362 RefCountPolicy, 363 363 iNamespace >::ChildMFieldConstIterator( … … 370 370 /* Destructor */ 371 371 372 template <class ObjectTypeT, typename RefCountPolicy, Int32 iNamespace> inline373 ChildMFieldConstIterator< ObjectTypeT,372 template <class PtrTypeT, typename RefCountPolicy, Int32 iNamespace> inline 373 ChildMFieldConstIterator<PtrTypeT, 374 374 RefCountPolicy, 375 375 iNamespace >::~ChildMFieldConstIterator(void) … … 381 381 /* Operators */ 382 382 383 template <class ObjectTypeT, typename RefCountPolicy, Int32 iNamespace> inline384 typename ChildMFieldConstIterator< ObjectTypeT,383 template <class PtrTypeT, typename RefCountPolicy, Int32 iNamespace> inline 384 typename ChildMFieldConstIterator<PtrTypeT, 385 385 RefCountPolicy, 386 386 iNamespace >::const_value 387 ChildMFieldConstIterator< ObjectTypeT,387 ChildMFieldConstIterator<PtrTypeT, 388 388 RefCountPolicy, 389 389 iNamespace >::operator *(void) const … … 394 394 395 395 396 template <class ObjectTypeT, typename RefCountPolicy, Int32 iNamespace> inline397 typename ChildMFieldConstIterator< ObjectTypeT,396 template <class PtrTypeT, typename RefCountPolicy, Int32 iNamespace> inline 397 typename ChildMFieldConstIterator<PtrTypeT, 398 398 RefCountPolicy, 399 399 iNamespace >::const_value 400 ChildMFieldConstIterator< ObjectTypeT,400 ChildMFieldConstIterator<PtrTypeT, 401 401 RefCountPolicy, 402 402 iNamespace >::operator []( … … 407 407 408 408 409 template <class ObjectTypeT, typename RefCountPolicy, Int32 iNamespace> inline410 typename ChildMFieldConstIterator< ObjectTypeT,409 template <class PtrTypeT, typename RefCountPolicy, Int32 iNamespace> inline 410 typename ChildMFieldConstIterator<PtrTypeT, 411 411 RefCountPolicy, 412 412 iNamespace >::Self & 413 ChildMFieldConstIterator< ObjectTypeT,413 ChildMFieldConstIterator<PtrTypeT, 414 414 RefCountPolicy, 415 415 iNamespace >::operator ++(void) … … 420 420 } 421 421 422 template <class ObjectTypeT, typename RefCountPolicy, Int32 iNamespace> inline423 typename ChildMFieldConstIterator< ObjectTypeT,422 template <class PtrTypeT, typename RefCountPolicy, Int32 iNamespace> inline 423 typename ChildMFieldConstIterator<PtrTypeT, 424 424 RefCountPolicy, 425 425 iNamespace >::Self 426 ChildMFieldConstIterator< ObjectTypeT,426 ChildMFieldConstIterator<PtrTypeT, 427 427 RefCountPolicy, 428 428 iNamespace >::operator ++(int) … … 435 435 } 436 436 437 template <class ObjectTypeT, typename RefCountPolicy, Int32 iNamespace> inline438 typename ChildMFieldConstIterator< ObjectTypeT,437 template <class PtrTypeT, typename RefCountPolicy, Int32 iNamespace> inline 438 typename ChildMFieldConstIterator<PtrTypeT, 439 439 RefCountPolicy, 440 440 iNamespace >::Self & 441 ChildMFieldConstIterator< ObjectTypeT,441 ChildMFieldConstIterator<PtrTypeT, 442 442 RefCountPolicy, 443 443 iNamespace >::operator --(void) … … 448 448 } 449 449 450 template <class ObjectTypeT, typename RefCountPolicy, Int32 iNamespace> inline451 typename ChildMFieldConstIterator< ObjectTypeT,450 template <class PtrTypeT, typename RefCountPolicy, Int32 iNamespace> inline 451 typename ChildMFieldConstIterator<PtrTypeT, 452 452 RefCountPolicy, 453 453 iNamespace >::Self 454 ChildMFieldConstIterator< ObjectTypeT,454 ChildMFieldConstIterator<PtrTypeT, 455 455 RefCountPolicy, 456 456 iNamespace >::operator --(int) … … 463 463 } 464 464 465 template <class ObjectTypeT, typename RefCountPolicy, Int32 iNamespace> inline466 typename ChildMFieldConstIterator< ObjectTypeT,465 template <class PtrTypeT, typename RefCountPolicy, Int32 iNamespace> inline 466 typename ChildMFieldConstIterator<PtrTypeT, 467 467 RefCountPolicy, 468 468 iNamespace >::Self & 469 ChildMFieldConstIterator< ObjectTypeT,469 ChildMFieldConstIterator<PtrTypeT, 470 470 RefCountPolicy, 471 471 iNamespace >::operator +=( … … 477 477 } 478 478 479 template <class ObjectTypeT, typename RefCountPolicy, Int32 iNamespace> inline480 typename ChildMFieldConstIterator< ObjectTypeT,479 template <class PtrTypeT, typename RefCountPolicy, Int32 iNamespace> inline 480 typename ChildMFieldConstIterator<PtrTypeT, 481 481 RefCountPolicy, 482 482 iNamespace >::Self 483 ChildMFieldConstIterator< ObjectTypeT,483 ChildMFieldConstIterator<PtrTypeT, 484 484 RefCountPolicy, 485 485 iNamespace >::operator +( … … 491 491 } 492 492 493 template <class ObjectTypeT, typename RefCountPolicy, Int32 iNamespace> inline494 typename ChildMFieldConstIterator< ObjectTypeT,493 template <class PtrTypeT, typename RefCountPolicy, Int32 iNamespace> inline 494 typename ChildMFieldConstIterator<PtrTypeT, 495 495 RefCountPolicy, 496 496 iNamespace >::Self & 497 ChildMFieldConstIterator< ObjectTypeT,497 ChildMFieldConstIterator<PtrTypeT, 498 498 RefCountPolicy, 499 499 iNamespace >::operator -=( … … 505 505 } 506 506 507 template <class ObjectTypeT, typename RefCountPolicy, Int32 iNamespace> inline508 typename ChildMFieldConstIterator< ObjectTypeT,507 template <class PtrTypeT, typename RefCountPolicy, Int32 iNamespace> inline 508 typename ChildMFieldConstIterator<PtrTypeT, 509 509 RefCountPolicy, 510 510 iNamespace >::Self 511 ChildMFieldConstIterator< ObjectTypeT,511 ChildMFieldConstIterator<PtrTypeT, 512 512 RefCountPolicy, 513 513 iNamespace >::operator -( … … 519 519 } 520 520 521 template <class ObjectTypeT, typename RefCountPolicy, Int32 iNamespace> inline522 bool ChildMFieldConstIterator< ObjectTypeT,521 template <class PtrTypeT, typename RefCountPolicy, Int32 iNamespace> inline 522 bool ChildMFieldConstIterator<PtrTypeT, 523 523 RefCountPolicy, 524 524 iNamespace >::operator == ( … … 528 528 } 529 529 530 template <class ObjectTypeT, typename RefCountPolicy, Int32 iNamespace> inline531 bool ChildMFieldConstIterator< ObjectTypeT,530 template <class PtrTypeT, typename RefCountPolicy, Int32 iNamespace> inline 531 bool ChildMFieldConstIterator<PtrTypeT, 532 532 RefCountPolicy, 533 533 iNamespace >::operator != ( … … 537 537 } 538 538 539 template <class ObjectTypeT, typename RefCountPolicy, Int32 iNamespace> inline540 bool ChildMFieldConstIterator< ObjectTypeT,539 template <class PtrTypeT, typename RefCountPolicy, Int32 iNamespace> inline 540 bool ChildMFieldConstIterator<PtrTypeT, 541 541 RefCountPolicy, 542 542 iNamespace >::operator == ( … … 546 546 } 547 547 548 template <class ObjectTypeT, typename RefCountPolicy, Int32 iNamespace> inline549 bool ChildMFieldConstIterator< ObjectTypeT,548 template <class PtrTypeT, typename RefCountPolicy, Int32 iNamespace> inline 549 bool ChildMFieldConstIterator<PtrTypeT, 550 550 RefCountPolicy, 551 551 iNamespace >::operator != ( … … 559 559 /* Base */ 560 560 561 template <class ObjectTypeT, typename RefCountPolicy, Int32 iNamespace> inline562 const typename ChildMFieldConstIterator< ObjectTypeT,561 template <class PtrTypeT, typename RefCountPolicy, Int32 iNamespace> inline 562 const typename ChildMFieldConstIterator<PtrTypeT, 563 563 RefCountPolicy, 564 564 iNamespace >::PtrStoreConstItType & 565 ChildMFieldConstIterator< ObjectTypeT, <565 ChildMFieldConstIterator<PtrTypeT,
