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

    r1030 r1032  
    132132    /*! \{                                                                 */ 
    133133 
    134     virtual ObjPtr shallowCopy(void) const = 0; 
     134    virtual ObjRefPtr shallowCopy(void) const = 0; 
    135135 
    136136    /*! \}                                                                 */ 
     
    335335    /*! \}                                                                 */ 
    336336    /*---------------------------------------------------------------------*/ 
    337     /*! \name                         Edit                                 */ 
    338     /*! \{                                                                 */ 
    339  
    340     
     337    /*! \name Invalid Edit                                                 */ 
     338    /*! \{                                                                 */ 
     339 
     340    void invalidMFAddFunc          (FieldContainer *pNewValue ); 
     341    void invalidMFInsertFunc       (UInt32 const    uiIndex, 
     342                                    FieldContainer *pNewValue );    
     343    void invalidMFReplaceIndexFunc (UInt32 const    uiIndex, 
     344                                    FieldContainer *pNewValue ); 
     345    void invalidMFReplaceObjectFunc(FieldContainer *pOldValue, 
     346                                    FieldContainer *pNewValue ); 
     347    void invalidMFSubIndexFunc     (UInt32 const    uiIndex   ); 
     348    void invalidMFSubObjectFunc    (FieldContainer *pOldValue ); 
     349    void invalidMFClearFunc        (void                      ); 
     350     
     351    void invalidSFSetFunc          (FieldContainer *pNewValue ); 
    341352 
    342353    /*! \}                                                                 */