Changeset 1197 for trunk/Source/System/NodeCores/Drawables/Geometry/Properties/OSGGeoMultiPropertyDataBase.cpp
- Timestamp:
- 05/05/08 06:58:23 (4 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Source/System/NodeCores/Drawables/Geometry/Properties/OSGGeoMultiPropertyDataBase.cpp
r1161 r1197 284 284 GeoMultiPropertyDataTransitPtr fc; 285 285 286 if(getClassType().getPrototype() != N ullFC)286 if(getClassType().getPrototype() != NULL) 287 287 { 288 288 FieldContainerTransitPtr tmpPtr = … … 300 300 GeoMultiPropertyDataTransitPtr fc; 301 301 302 if(getClassType().getPrototype() != N ullFC)302 if(getClassType().getPrototype() != NULL) 303 303 { 304 304 FieldContainerTransitPtr tmpPtr = … … 312 312 313 313 //! create an empty new instance of the class, do not copy the prototype 314 GeoMultiPropertyData PtrGeoMultiPropertyDataBase::createEmpty(void)315 { 316 GeoMultiPropertyData PtrreturnValue;314 GeoMultiPropertyData *GeoMultiPropertyDataBase::createEmpty(void) 315 { 316 GeoMultiPropertyData *returnValue; 317 317 318 318 newPtr<GeoMultiPropertyData>(returnValue, Thread::getCurrentLocalFlags()); … … 324 324 } 325 325 326 GeoMultiPropertyData PtrGeoMultiPropertyDataBase::createEmptyLocal(BitVector bFlags)327 { 328 GeoMultiPropertyData PtrreturnValue;326 GeoMultiPropertyData *GeoMultiPropertyDataBase::createEmptyLocal(BitVector bFlags) 327 { 328 GeoMultiPropertyData *returnValue; 329 329 330 330 newPtr<GeoMultiPropertyData>(returnValue, bFlags); … … 337 337 FieldContainerTransitPtr GeoMultiPropertyDataBase::shallowCopy(void) const 338 338 { 339 GeoMultiPropertyData PtrtmpPtr;339 GeoMultiPropertyData *tmpPtr; 340 340 341 341 newPtr(tmpPtr, … … 353 353 BitVector bFlags) const 354 354 { 355 GeoMultiPropertyData PtrtmpPtr;355 GeoMultiPropertyData *tmpPtr; 356 356 357 357 newPtr(tmpPtr, dynamic_cast<const GeoMultiPropertyData *>(this), bFlags); … … 452 452 453 453 #ifdef OSG_MT_CPTR_ASPECT 454 FieldContainer PtrGeoMultiPropertyDataBase::createAspectCopy(void) const455 { 456 GeoMultiPropertyData PtrreturnValue;454 FieldContainer *GeoMultiPropertyDataBase::createAspectCopy(void) const 455 { 456 GeoMultiPropertyData *returnValue; 457 457 458 458 newAspectCopy(returnValue, … … 481 481 482 482 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_DEV) 483 DataType FieldTraits<GeoMultiPropertyData Ptr>::_type("GeoMultiPropertyDataPtr", "StateChunkPtr");484 #endif 485 486 OSG_FIELDTRAITS_GETTYPE(GeoMultiPropertyData Ptr)483 DataType FieldTraits<GeoMultiPropertyData *>::_type("GeoMultiPropertyDataPtr", "StateChunkPtr"); 484 #endif 485 486 OSG_FIELDTRAITS_GETTYPE(GeoMultiPropertyData *) 487 487 488 488 OSG_EXPORT_PTR_SFIELD_FULL(PointerSField, 489 GeoMultiPropertyData Ptr,489 GeoMultiPropertyData *, 490 490 0); 491 491 492 492 OSG_EXPORT_PTR_MFIELD_FULL(PointerMField, 493 GeoMultiPropertyData Ptr,493 GeoMultiPropertyData *, 494 494 0); 495 495
