Changeset 1179

Show
Ignore:
Timestamp:
04/18/08 04:11:04 (3 weeks ago)
Author:
vossg
Message:

changed: continue to merge remaining changes from carstens branch

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Source/Base/Field/OSGFieldTraits.h

    r1174 r1179  
    645645                     const UInt32            uiFieldFlags, 
    646646                           FieldEditMethod   fEditMethod, 
    647                            FieldGetMethod    fGetMethod, 
    648                      const Char8            *defaultValue = NULL ); 
     647                           FieldGetMethod    fGetMethod   ); 
    649648 
    650649    FieldDescription(const FieldType            &elementType, 
     
    656655                     const UInt32                uiFieldFlags, 
    657656                           FieldIndexEditMethod  fIndexedEditMethod, 
    658                            FieldIndexGetMethod   fIndexedGetMethod, 
    659                      const Char8                *defaultValue = NULL ); 
     657                           FieldIndexGetMethod   fIndexedGetMethod ); 
    660658 
    661659    FieldDescription(const FieldDescription &source); 
  • trunk/Source/Base/Field/OSGFieldTraits.inl

    r1160 r1179  
    5555    const UInt32           uiFieldFlags, 
    5656          FieldEditMethod  fEditMethod, 
    57           FieldGetMethod   fGetMethod, 
    58     const Char8           *defaultValue) : 
     57          FieldGetMethod   fGetMethod) : 
    5958 
    6059    Inherited(elementType, 
     
    6665              uiFieldFlags, 
    6766              fEditMethod, 
    68               fGetMethod, 
    69               defaultValue) 
     67              fGetMethod) 
    7068{ 
    7169} 
     
    8785    const UInt32                uiFieldFlags, 
    8886          FieldIndexEditMethod  fIndexedEditMethod, 
    89           FieldIndexGetMethod   fIndexedGetMethod, 
    90     const Char8                *defaultValue      ) : 
     87          FieldIndexGetMethod   fIndexedGetMethod) : 
    9188 
    9289    Inherited(elementType, 
     
    9895              uiFieldFlags, 
    9996              fIndexedEditMethod, 
    100               fIndexedGetMethod, 
    101               defaultValue) 
     97              fIndexedGetMethod) 
    10298{ 
    10399} 
  • trunk/Source/System/FieldContainer/Base/OSGAttachmentContainer.cpp

    r1177 r1179  
    6969        Field::SFDefaultFlags, 
    7070        static_cast<FieldEditMethodSig>(&Self::editHandleAttachments), 
    71         static_cast<FieldGetMethodSig >(&Self::getHandleAttachments ), 
    72         NULL); 
     71        static_cast<FieldGetMethodSig >(&Self::getHandleAttachments )); 
    7372 
    7473    oType.addInitialDesc(pDesc); 
  • trunk/Source/System/FieldContainer/Base/OSGFieldContainerAttachment.cpp

    r1155 r1179  
    6767        Field::MFDefaultFlags, 
    6868        static_cast<FieldEditMethodSig>(&Self::invalidEditField), 
    69         static_cast<FieldGetMethodSig >(&Self::getHandleParents), 
    70         NULL); 
     69        static_cast<FieldGetMethodSig >(&Self::getHandleParents)); 
    7170 
    7271    oType.addInitialDesc(pDesc); 
     
    8180        Field::SFDefaultFlags, 
    8281        static_cast<FieldEditMethodSig>(&Self::editInternalHandler), 
    83         static_cast<FieldGetMethodSig >(&Self::getInternalHandler ), 
    84         NULL); 
     82        static_cast<FieldGetMethodSig >(&Self::getInternalHandler )); 
    8583 
    8684    oType.addInitialDesc(pDesc); 
  • trunk/Source/System/FieldContainer/Base/OSGFieldDescriptionBase.cpp

    r862 r1179  
    6464    const UInt32           uiFieldFlags, 
    6565          FieldEditMethod  fEditMethod, 
    66           FieldGetMethod   fGetMethod, 
    67     const Char8           *defaultValue) : 
     66          FieldGetMethod   fGetMethod) : 
    6867 
    6968    _szName            (szName            ), 
     
    8079    _fGetMethod        (fGetMethod        ), 
    8180    _fIndexedEditMethod(NULL              ), 
    82     _fIndexedGetMethod (NULL              ), 
    83     _defaultValue      (defaultValue      ) 
     81    _fIndexedGetMethod (NULL              ) 
    8482{ 
    8583} 
     
    9492    const UInt32                uiFieldFlags, 
    9593          FieldIndexEditMethod  fIndexedEditMethod, 
    96           FieldIndexGetMethod   fIndexedGetMethod, 
    97     const Char8                *defaultValue      ) : 
     94          FieldIndexGetMethod   fIndexedGetMethod) : 
    9895 
    9996    _szName            (szName            ), 
     
    110107    _fGetMethod        (NULL              ), 
    111108    _fIndexedEditMethod(fIndexedEditMethod), 
    112     _fIndexedGetMethod (fIndexedGetMethod ), 
    113  
    114     _defaultValue      (defaultValue      ) 
     109    _fIndexedGetMethod (fIndexedGetMethod ) 
    115110{ 
    116111} 
     
    130125    _fGetMethod        (source._fGetMethod        ), 
    131126    _fIndexedEditMethod(source._fIndexedEditMethod), 
    132     _fIndexedGetMethod (source._fIndexedGetMethod ), 
    133  
    134     _defaultValue      (source._defaultValue      ) 
     127    _fIndexedGetMethod (source._fIndexedGetMethod ) 
    135128 
    136129{ 
  • trunk/Source/System/FieldContainer/Base/OSGFieldDescriptionBase.h

    r1177 r1179  
    145145                         const UInt32           uiFieldFlags, 
    146146                               FieldEditMethod  fEditMethod, 
    147                                FieldGetMethod   fGetMethod, 
    148                          const Char8           *defaultValue = NULL); 
     147                               FieldGetMethod   fGetMethod); 
    149148 
    150149    FieldDescriptionBase(const FieldType            &elementType, 
     
    156155                         const UInt32                uiFieldFlags, 
    157156                               FieldIndexEditMethod  fIndexedEditMethod, 
    158                                FieldIndexGetMethod   fIndexedGetMethod, 
    159                          const Char8                *defaultValue = NULL); 
     157                               FieldIndexGetMethod   fIndexedGetMethod); 
    160158 
    161159    FieldDescriptionBase(const FieldDescriptionBase &source); 
     
    185183          UInt32       getFieldId     (void                        ) const; 
    186184          void         setFieldId     (UInt32 uiFieldId            ); 
    187  
    188     const Char8       *getDefaultValue(void                        ) const; 
    189185 
    190186    const FieldType   &getFieldType   (void                        ) const; 
     
    363359          FieldIndexEditMethod  _fIndexedEditMethod; 
    364360 
    365           IDString              _defaultValue; 
    366  
    367361    /*! \}                                                                 */ 
    368362    /*---------------------------------------------------------------------*/ 
  • trunk/Source/System/FieldContainer/Base/OSGFieldDescriptionBase.inl

    r1142 r1179  
    9191 
    9292inline 
    93 const Char8 *FieldDescriptionBase::getDefaultValue(void) const 
    94 { 
    95     return _defaultValue.str(); 
    96 } 
    97  
    98 inline 
    9993const FieldType &FieldDescriptionBase::getFieldType(void) const 
    10094{ 
  • trunk/Source/System/FieldContainer/Mixins/OSGStageHandlerMixin.inl

    r1102 r1179  
    5454        Field::SFDefaultFlags, 
    5555        static_cast<FieldEditMethodSig>(&Self::editHandleUpdateMode), 
    56         static_cast<FieldGetMethodSig >(&Self::getHandleUpdateMode ), 
    57         NULL); 
     56        static_cast<FieldGetMethodSig >(&Self::getHandleUpdateMode )); 
    5857 
    5958    oType.addInitialDesc(pDesc);