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/Base/Field/OSGFieldType.cpp

    r785 r1032  
    5858                     const DataType          &contentType, 
    5959                           Cardinality        cardinality, 
     60                           Category           category, 
    6061                     const UInt32             uiNameSpace) : 
    6162     Inherited   (szName,  
     
    6364                  uiNameSpace ), 
    6465    _cardinality (cardinality ), 
     66    _category    (category    ), 
    6567    _contentType (contentType ), 
    6668    _pScanAsType (NULL        ) 
     
    7274                     const DataType           &contentType, 
    7375                           Cardinality         cardinality, 
     76                           Category            category, 
    7477                     const FieldType          &pScanAsType, 
    7578                     const UInt32             uiNameSpace ) : 
     
    7881                   uiNameSpace ), 
    7982    _cardinality ( cardinality ), 
     83    _category    ( category    ), 
    8084    _contentType ( contentType ), 
    8185    _pScanAsType (&pScanAsType )