Show
Ignore:
Timestamp:
12/12/07 18:00:42 (1 year 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/Fields/OSGEditMParentFCPointerFieldHandle.h

    r1030 r1032  
    7777        Self                 const &source      ); 
    7878    EditMParentFCPointerFieldBaseHandle( 
    79         Field                      *pField,  
     79        Field                      *pField, 
    8080        FieldDescriptionBase const *pDescription); 
    8181                                 
     
    167167 
    168168    typedef          FieldT                         HandledFieldType; 
     169    typedef typename HandledFieldType::Description  HandledFieldDesc; 
    169170    typedef typename HandledFieldType::ValueType    HandledFieldValueType; 
    170171    typedef typename HandledFieldType::Object       HandledFieldObjectType; 
     
    176177     
    177178    EditMParentFCPointerFieldHandle(Self                 const &source      ); 
    178     EditMParentFCPointerFieldHandle(Field                      *pField,  
     179    EditMParentFCPointerFieldHandle(Field                      *pField, 
    179180                                    FieldDescriptionBase const *pDescription); 
    180181                                 
     
    258259    /*! \{                                                                 */ 
    259260 
    260     HandledFieldType *castFieldDown(void                       ) const; 
    261     FieldContainer   *castPtrUp    (HandledFieldObjectType *ptr) const; 
     261    HandledFieldType       *castFieldDown(void                       ) const; 
     262    HandledFieldDesc const *castDescDown (void                       ) const; 
     263    FieldContainer         *castPtrUp    (HandledFieldObjectType *ptr) const; 
    262264     
    263265    /*! \}                                                                 */