Show
Ignore:
Timestamp:
12/12/07 18:00:42 (9 months ago)
Author:
cneumann
Message:

added: generic interface
changed: factory functions return RefPtr?

The unittests don't pass right now, because of the change
to the factory functions, which leads to containers
being immediately destroyed as they are not assigned to
a RefPtr?.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/Carsten_PtrWork2/Source/System/FieldContainer/Attachments/OSGStringAttributeMapFields.h

    r1030 r1032  
    7272OSG_GEN_CONTAINERPTR(StringAttributeMap); 
    7373 
    74 typedef RefCountPtrBuilder    <StringAttributeMap>::Ptr StringAttributeMapRefPtr; 
    75 typedef MTRefCountPtrBuilder  <StringAttributeMap>::Ptr StringAttributeMapMTRefPtr; 
    76 typedef WeakRefCountPtrBuilder<StringAttributeMap>::Ptr StringAttributeMapWeakRefPtr; 
    77 typedef ParentPtrBuilder      <StringAttributeMap>::Ptr StringAttributeMapParentPtr; 
     74typedef RefCountPtrBuilder        <StringAttributeMap>::Ptr StringAttributeMapRefPtr; 
     75typedef MTRefCountPtrBuilder      <StringAttributeMap>::Ptr StringAttributeMapMTRefPtr; 
     76typedef WeakRefCountPtrBuilder    <StringAttributeMap>::Ptr StringAttributeMapWeakRefPtr; 
     77typedef ParentPtrBuilder          <StringAttributeMap>::Ptr StringAttributeMapParentPtr; 
     78typedef InternalRefCountPtrBuilder<StringAttributeMap>::Ptr StringAttributeMapInternalRefPtr; 
    7879 
    7980#endif