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/Base/Base/OSGExportDefines.h

    r882 r1032  
    118118    SFieldTraits::getPName(),                            \ 
    119119    SFieldTraits::getType (),                            \ 
    120     FieldType::SINGLE_FIELD) 
     120    FieldType::SINGLE_FIELD,                             \ 
     121    FieldType::DATA_FIELD   ) 
    121122 
    122123#define OSG_MFIELDTYPE_SPEZ_INST(T1, T2)                 \ 
     
    125126    MFieldTraits::getPName(),                            \ 
    126127    MFieldTraits::getType (),                            \ 
    127     FieldType::MULTI_FIELD) 
     128    FieldType::MULTI_FIELD,                              \ 
     129    FieldType::DATA_FIELD  ) 
    128130 
    129131#else 
     
    134136    SFieldTraits::getPName(),                            \ 
    135137    SFieldTraits::getType (),                            \ 
    136     FieldType::SINGLE_FIELD) 
     138    FieldType::SINGLE_FIELD,                             \ 
     139    FieldType::DATA_FIELD   ) 
    137140 
    138141#define OSG_MFIELDTYPE_SPEZ_INST(T1, T2)                 \ 
     
    141144    MFieldTraits::getPName(),                            \ 
    142145    MFieldTraits::getType (),                            \ 
    143     FieldType::MULTI_FIELD) 
     146    FieldType::MULTI_FIELD,                              \ 
     147    FieldType::DATA_FIELD  ) 
    144148 
    145149#endif