- Timestamp:
- 05/05/08 06:58:23 (3 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Source/Contrib/Manipulators/OSGMoveManipulatorBase.cpp
r1098 r1197 161 161 MoveManipulatorTransitPtr fc; 162 162 163 if(getClassType().getPrototype() != N ullFC)163 if(getClassType().getPrototype() != NULL) 164 164 { 165 165 FieldContainerTransitPtr tmpPtr = … … 177 177 MoveManipulatorTransitPtr fc; 178 178 179 if(getClassType().getPrototype() != N ullFC)179 if(getClassType().getPrototype() != NULL) 180 180 { 181 181 FieldContainerTransitPtr tmpPtr = … … 189 189 190 190 //! create an empty new instance of the class, do not copy the prototype 191 MoveManipulator PtrMoveManipulatorBase::createEmpty(void)192 { 193 MoveManipulator PtrreturnValue;191 MoveManipulator *MoveManipulatorBase::createEmpty(void) 192 { 193 MoveManipulator *returnValue; 194 194 195 195 newPtr<MoveManipulator>(returnValue, Thread::getCurrentLocalFlags()); … … 201 201 } 202 202 203 MoveManipulator PtrMoveManipulatorBase::createEmptyLocal(BitVector bFlags)204 { 205 MoveManipulator PtrreturnValue;203 MoveManipulator *MoveManipulatorBase::createEmptyLocal(BitVector bFlags) 204 { 205 MoveManipulator *returnValue; 206 206 207 207 newPtr<MoveManipulator>(returnValue, bFlags); … … 214 214 FieldContainerTransitPtr MoveManipulatorBase::shallowCopy(void) const 215 215 { 216 MoveManipulator PtrtmpPtr;216 MoveManipulator *tmpPtr; 217 217 218 218 newPtr(tmpPtr, … … 230 230 BitVector bFlags) const 231 231 { 232 MoveManipulator PtrtmpPtr;232 MoveManipulator *tmpPtr; 233 233 234 234 newPtr(tmpPtr, dynamic_cast<const MoveManipulator *>(this), bFlags); … … 281 281 282 282 #ifdef OSG_MT_CPTR_ASPECT 283 FieldContainer PtrMoveManipulatorBase::createAspectCopy(void) const284 { 285 MoveManipulator PtrreturnValue;283 FieldContainer *MoveManipulatorBase::createAspectCopy(void) const 284 { 285 MoveManipulator *returnValue; 286 286 287 287 newAspectCopy(returnValue, … … 301 301 302 302 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_DEV) 303 DataType FieldTraits<MoveManipulator Ptr>::_type("MoveManipulatorPtr", "ManipulatorPtr");303 DataType FieldTraits<MoveManipulator *>::_type("MoveManipulatorPtr", "ManipulatorPtr"); 304 304 #endif 305 305
