Show
Ignore:
Timestamp:
05/05/08 06:58:23 (7 months ago)
Author:
vossg
Message:

changed: base rebuild interface clean up (removal ptr typedef / NullFC)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Source/Contrib/Manipulators/OSGScaleManipulatorBase.cpp

    r1098 r1197  
    161161    ScaleManipulatorTransitPtr fc; 
    162162 
    163     if(getClassType().getPrototype() != NullFC
     163    if(getClassType().getPrototype() != NULL
    164164    { 
    165165        FieldContainerTransitPtr tmpPtr = 
     
    177177    ScaleManipulatorTransitPtr fc; 
    178178 
    179     if(getClassType().getPrototype() != NullFC
     179    if(getClassType().getPrototype() != NULL
    180180    { 
    181181        FieldContainerTransitPtr tmpPtr = 
     
    189189 
    190190//! create an empty new instance of the class, do not copy the prototype 
    191 ScaleManipulatorPtr ScaleManipulatorBase::createEmpty(void) 
    192 { 
    193     ScaleManipulatorPtr returnValue; 
     191ScaleManipulator *ScaleManipulatorBase::createEmpty(void) 
     192{ 
     193    ScaleManipulator *returnValue; 
    194194 
    195195    newPtr<ScaleManipulator>(returnValue, Thread::getCurrentLocalFlags()); 
     
    201201} 
    202202 
    203 ScaleManipulatorPtr ScaleManipulatorBase::createEmptyLocal(BitVector bFlags) 
    204 { 
    205     ScaleManipulatorPtr returnValue; 
     203ScaleManipulator *ScaleManipulatorBase::createEmptyLocal(BitVector bFlags) 
     204{ 
     205    ScaleManipulator *returnValue; 
    206206 
    207207    newPtr<ScaleManipulator>(returnValue, bFlags); 
     
    214214FieldContainerTransitPtr ScaleManipulatorBase::shallowCopy(void) const 
    215215{ 
    216     ScaleManipulatorPtr tmpPtr; 
     216    ScaleManipulator *tmpPtr; 
    217217 
    218218    newPtr(tmpPtr,  
     
    230230    BitVector bFlags) const 
    231231{ 
    232     ScaleManipulatorPtr tmpPtr; 
     232    ScaleManipulator *tmpPtr; 
    233233 
    234234    newPtr(tmpPtr, dynamic_cast<const ScaleManipulator *>(this), bFlags); 
     
    281281 
    282282#ifdef OSG_MT_CPTR_ASPECT 
    283 FieldContainerPtr ScaleManipulatorBase::createAspectCopy(void) const 
    284 { 
    285     ScaleManipulatorPtr returnValue; 
     283FieldContainer *ScaleManipulatorBase::createAspectCopy(void) const 
     284{ 
     285    ScaleManipulator *returnValue; 
    286286 
    287287    newAspectCopy(returnValue, 
     
    301301 
    302302#if !defined(OSG_DO_DOC) || defined(OSG_DOC_DEV) 
    303 DataType FieldTraits<ScaleManipulatorPtr>::_type("ScaleManipulatorPtr", "ManipulatorPtr"); 
     303DataType FieldTraits<ScaleManipulator *>::_type("ScaleManipulatorPtr", "ManipulatorPtr"); 
    304304#endif 
    305305