Show
Ignore:
Timestamp:
05/05/08 06:58:23 (5 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/FieldContainer/Attachments/OSGStringAttributeMapBase.cpp

    r1184 r1197  
    288288    StringAttributeMapTransitPtr fc; 
    289289 
    290     if(getClassType().getPrototype() != NullFC
     290    if(getClassType().getPrototype() != NULL
    291291    { 
    292292        FieldContainerTransitPtr tmpPtr = 
     
    304304    StringAttributeMapTransitPtr fc; 
    305305 
    306     if(getClassType().getPrototype() != NullFC
     306    if(getClassType().getPrototype() != NULL
    307307    { 
    308308        FieldContainerTransitPtr tmpPtr = 
     
    316316 
    317317//! create an empty new instance of the class, do not copy the prototype 
    318 StringAttributeMapPtr StringAttributeMapBase::createEmpty(void) 
    319 { 
    320     StringAttributeMapPtr returnValue; 
     318StringAttributeMap *StringAttributeMapBase::createEmpty(void) 
     319{ 
     320    StringAttributeMap *returnValue; 
    321321 
    322322    newPtr<StringAttributeMap>(returnValue, Thread::getCurrentLocalFlags()); 
     
    328328} 
    329329 
    330 StringAttributeMapPtr StringAttributeMapBase::createEmptyLocal(BitVector bFlags) 
    331 { 
    332     StringAttributeMapPtr returnValue; 
     330StringAttributeMap *StringAttributeMapBase::createEmptyLocal(BitVector bFlags) 
     331{ 
     332    StringAttributeMap *returnValue; 
    333333 
    334334    newPtr<StringAttributeMap>(returnValue, bFlags); 
     
    341341FieldContainerTransitPtr StringAttributeMapBase::shallowCopy(void) const 
    342342{ 
    343     StringAttributeMapPtr tmpPtr; 
     343    StringAttributeMap *tmpPtr; 
    344344 
    345345    newPtr(tmpPtr,  
     
    357357    BitVector bFlags) const 
    358358{ 
    359     StringAttributeMapPtr tmpPtr; 
     359    StringAttributeMap *tmpPtr; 
    360360 
    361361    newPtr(tmpPtr, dynamic_cast<const StringAttributeMap *>(this), bFlags); 
     
    456456 
    457457#ifdef OSG_MT_CPTR_ASPECT 
    458 FieldContainerPtr StringAttributeMapBase::createAspectCopy(void) const 
    459 { 
    460     StringAttributeMapPtr returnValue; 
     458FieldContainer *StringAttributeMapBase::createAspectCopy(void) const 
     459{ 
     460    StringAttributeMap *returnValue; 
    461461 
    462462    newAspectCopy(returnValue, 
     
    489489 
    490490#if !defined(OSG_DO_DOC) || defined(OSG_DOC_DEV) 
    491 DataType FieldTraits<StringAttributeMapPtr>::_type("StringAttributeMapPtr", "AttachmentPtr"); 
    492 #endif 
    493  
    494 OSG_FIELDTRAITS_GETTYPE(StringAttributeMapPtr
     491DataType FieldTraits<StringAttributeMap *>::_type("StringAttributeMapPtr", "AttachmentPtr"); 
     492#endif 
     493 
     494OSG_FIELDTRAITS_GETTYPE(StringAttributeMap *
    495495 
    496496OSG_EXPORT_PTR_SFIELD_FULL(PointerSField,  
    497                            StringAttributeMapPtr,  
     497                           StringAttributeMap *,  
    498498                           0); 
    499499