Show
Ignore:
Timestamp:
05/05/08 06:58:23 (4 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/System/NodeCores/Drawables/Geometry/Properties/OSGGeoMultiPropertyDataBase.cpp

    r1161 r1197  
    284284    GeoMultiPropertyDataTransitPtr fc; 
    285285 
    286     if(getClassType().getPrototype() != NullFC
     286    if(getClassType().getPrototype() != NULL
    287287    { 
    288288        FieldContainerTransitPtr tmpPtr = 
     
    300300    GeoMultiPropertyDataTransitPtr fc; 
    301301 
    302     if(getClassType().getPrototype() != NullFC
     302    if(getClassType().getPrototype() != NULL
    303303    { 
    304304        FieldContainerTransitPtr tmpPtr = 
     
    312312 
    313313//! create an empty new instance of the class, do not copy the prototype 
    314 GeoMultiPropertyDataPtr GeoMultiPropertyDataBase::createEmpty(void) 
    315 { 
    316     GeoMultiPropertyDataPtr returnValue; 
     314GeoMultiPropertyData *GeoMultiPropertyDataBase::createEmpty(void) 
     315{ 
     316    GeoMultiPropertyData *returnValue; 
    317317 
    318318    newPtr<GeoMultiPropertyData>(returnValue, Thread::getCurrentLocalFlags()); 
     
    324324} 
    325325 
    326 GeoMultiPropertyDataPtr GeoMultiPropertyDataBase::createEmptyLocal(BitVector bFlags) 
    327 { 
    328     GeoMultiPropertyDataPtr returnValue; 
     326GeoMultiPropertyData *GeoMultiPropertyDataBase::createEmptyLocal(BitVector bFlags) 
     327{ 
     328    GeoMultiPropertyData *returnValue; 
    329329 
    330330    newPtr<GeoMultiPropertyData>(returnValue, bFlags); 
     
    337337FieldContainerTransitPtr GeoMultiPropertyDataBase::shallowCopy(void) const 
    338338{ 
    339     GeoMultiPropertyDataPtr tmpPtr; 
     339    GeoMultiPropertyData *tmpPtr; 
    340340 
    341341    newPtr(tmpPtr,  
     
    353353    BitVector bFlags) const 
    354354{ 
    355     GeoMultiPropertyDataPtr tmpPtr; 
     355    GeoMultiPropertyData *tmpPtr; 
    356356 
    357357    newPtr(tmpPtr, dynamic_cast<const GeoMultiPropertyData *>(this), bFlags); 
     
    452452 
    453453#ifdef OSG_MT_CPTR_ASPECT 
    454 FieldContainerPtr GeoMultiPropertyDataBase::createAspectCopy(void) const 
    455 { 
    456     GeoMultiPropertyDataPtr returnValue; 
     454FieldContainer *GeoMultiPropertyDataBase::createAspectCopy(void) const 
     455{ 
     456    GeoMultiPropertyData *returnValue; 
    457457 
    458458    newAspectCopy(returnValue, 
     
    481481 
    482482#if !defined(OSG_DO_DOC) || defined(OSG_DOC_DEV) 
    483 DataType FieldTraits<GeoMultiPropertyDataPtr>::_type("GeoMultiPropertyDataPtr", "StateChunkPtr"); 
    484 #endif 
    485  
    486 OSG_FIELDTRAITS_GETTYPE(GeoMultiPropertyDataPtr
     483DataType FieldTraits<GeoMultiPropertyData *>::_type("GeoMultiPropertyDataPtr", "StateChunkPtr"); 
     484#endif 
     485 
     486OSG_FIELDTRAITS_GETTYPE(GeoMultiPropertyData *
    487487 
    488488OSG_EXPORT_PTR_SFIELD_FULL(PointerSField,  
    489                            GeoMultiPropertyDataPtr,  
     489                           GeoMultiPropertyData *,  
    490490                           0); 
    491491 
    492492OSG_EXPORT_PTR_MFIELD_FULL(PointerMField,  
    493                            GeoMultiPropertyDataPtr,  
     493                           GeoMultiPropertyData *,  
    494494                           0); 
    495495