- Timestamp:
- 05/05/08 06:58:23 (5 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Source/System/FieldContainer/Attachments/OSGStringAttributeMapBase.cpp
r1184 r1197 288 288 StringAttributeMapTransitPtr fc; 289 289 290 if(getClassType().getPrototype() != N ullFC)290 if(getClassType().getPrototype() != NULL) 291 291 { 292 292 FieldContainerTransitPtr tmpPtr = … … 304 304 StringAttributeMapTransitPtr fc; 305 305 306 if(getClassType().getPrototype() != N ullFC)306 if(getClassType().getPrototype() != NULL) 307 307 { 308 308 FieldContainerTransitPtr tmpPtr = … … 316 316 317 317 //! create an empty new instance of the class, do not copy the prototype 318 StringAttributeMap PtrStringAttributeMapBase::createEmpty(void)319 { 320 StringAttributeMap PtrreturnValue;318 StringAttributeMap *StringAttributeMapBase::createEmpty(void) 319 { 320 StringAttributeMap *returnValue; 321 321 322 322 newPtr<StringAttributeMap>(returnValue, Thread::getCurrentLocalFlags()); … … 328 328 } 329 329 330 StringAttributeMap PtrStringAttributeMapBase::createEmptyLocal(BitVector bFlags)331 { 332 StringAttributeMap PtrreturnValue;330 StringAttributeMap *StringAttributeMapBase::createEmptyLocal(BitVector bFlags) 331 { 332 StringAttributeMap *returnValue; 333 333 334 334 newPtr<StringAttributeMap>(returnValue, bFlags); … … 341 341 FieldContainerTransitPtr StringAttributeMapBase::shallowCopy(void) const 342 342 { 343 StringAttributeMap PtrtmpPtr;343 StringAttributeMap *tmpPtr; 344 344 345 345 newPtr(tmpPtr, … … 357 357 BitVector bFlags) const 358 358 { 359 StringAttributeMap PtrtmpPtr;359 StringAttributeMap *tmpPtr; 360 360 361 361 newPtr(tmpPtr, dynamic_cast<const StringAttributeMap *>(this), bFlags); … … 456 456 457 457 #ifdef OSG_MT_CPTR_ASPECT 458 FieldContainer PtrStringAttributeMapBase::createAspectCopy(void) const459 { 460 StringAttributeMap PtrreturnValue;458 FieldContainer *StringAttributeMapBase::createAspectCopy(void) const 459 { 460 StringAttributeMap *returnValue; 461 461 462 462 newAspectCopy(returnValue, … … 489 489 490 490 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_DEV) 491 DataType FieldTraits<StringAttributeMap Ptr>::_type("StringAttributeMapPtr", "AttachmentPtr");492 #endif 493 494 OSG_FIELDTRAITS_GETTYPE(StringAttributeMap Ptr)491 DataType FieldTraits<StringAttributeMap *>::_type("StringAttributeMapPtr", "AttachmentPtr"); 492 #endif 493 494 OSG_FIELDTRAITS_GETTYPE(StringAttributeMap *) 495 495 496 496 OSG_EXPORT_PTR_SFIELD_FULL(PointerSField, 497 StringAttributeMap Ptr,497 StringAttributeMap *, 498 498 0); 499 499
