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/OSGFieldContainerType.h

    r783 r1032  
    117117    /*! \{                                                                 */ 
    118118 
    119     FieldContainerPtr getPrototype(void                        ) const; 
    120     //bool              setPrototype(FieldContainerPtr pPrototype); 
    121     std::string       getFcdXML() const; 
    122     std::string       getDocumentation() const; 
     119    FieldContainerPtr getPrototype    (void) const; 
     120     
     121    std::string       getFcdXML       (void) const; 
     122    std::string       getDocumentation(void) const; 
    123123 
    124124    /*! \}                                                                 */ 
     
    127127    /*! \{                                                                 */ 
    128128 
    129     FieldContainerPtr createContainer(void) const; 
     129    FieldContainerRefPtr createContainer(void) const; 
    130130 
    131131    /*! \}                                                                 */