Changeset 1179
- Timestamp:
- 04/18/08 04:11:04 (3 weeks ago)
- Files:
-
- trunk/Source/Base/Field/OSGFieldTraits.h (modified) (2 diffs)
- trunk/Source/Base/Field/OSGFieldTraits.inl (modified) (4 diffs)
- trunk/Source/System/FieldContainer/Base/OSGAttachmentContainer.cpp (modified) (1 diff)
- trunk/Source/System/FieldContainer/Base/OSGFieldContainerAttachment.cpp (modified) (2 diffs)
- trunk/Source/System/FieldContainer/Base/OSGFieldDescriptionBase.cpp (modified) (5 diffs)
- trunk/Source/System/FieldContainer/Base/OSGFieldDescriptionBase.h (modified) (4 diffs)
- trunk/Source/System/FieldContainer/Base/OSGFieldDescriptionBase.inl (modified) (1 diff)
- trunk/Source/System/FieldContainer/Mixins/OSGStageHandlerMixin.inl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Source/Base/Field/OSGFieldTraits.h
r1174 r1179 645 645 const UInt32 uiFieldFlags, 646 646 FieldEditMethod fEditMethod, 647 FieldGetMethod fGetMethod, 648 const Char8 *defaultValue = NULL ); 647 FieldGetMethod fGetMethod ); 649 648 650 649 FieldDescription(const FieldType &elementType, … … 656 655 const UInt32 uiFieldFlags, 657 656 FieldIndexEditMethod fIndexedEditMethod, 658 FieldIndexGetMethod fIndexedGetMethod, 659 const Char8 *defaultValue = NULL ); 657 FieldIndexGetMethod fIndexedGetMethod ); 660 658 661 659 FieldDescription(const FieldDescription &source); trunk/Source/Base/Field/OSGFieldTraits.inl
r1160 r1179 55 55 const UInt32 uiFieldFlags, 56 56 FieldEditMethod fEditMethod, 57 FieldGetMethod fGetMethod, 58 const Char8 *defaultValue) : 57 FieldGetMethod fGetMethod) : 59 58 60 59 Inherited(elementType, … … 66 65 uiFieldFlags, 67 66 fEditMethod, 68 fGetMethod, 69 defaultValue) 67 fGetMethod) 70 68 { 71 69 } … … 87 85 const UInt32 uiFieldFlags, 88 86 FieldIndexEditMethod fIndexedEditMethod, 89 FieldIndexGetMethod fIndexedGetMethod, 90 const Char8 *defaultValue ) : 87 FieldIndexGetMethod fIndexedGetMethod) : 91 88 92 89 Inherited(elementType, … … 98 95 uiFieldFlags, 99 96 fIndexedEditMethod, 100 fIndexedGetMethod, 101 defaultValue) 97 fIndexedGetMethod) 102 98 { 103 99 } trunk/Source/System/FieldContainer/Base/OSGAttachmentContainer.cpp
r1177 r1179 69 69 Field::SFDefaultFlags, 70 70 static_cast<FieldEditMethodSig>(&Self::editHandleAttachments), 71 static_cast<FieldGetMethodSig >(&Self::getHandleAttachments ), 72 NULL); 71 static_cast<FieldGetMethodSig >(&Self::getHandleAttachments )); 73 72 74 73 oType.addInitialDesc(pDesc); trunk/Source/System/FieldContainer/Base/OSGFieldContainerAttachment.cpp
r1155 r1179 67 67 Field::MFDefaultFlags, 68 68 static_cast<FieldEditMethodSig>(&Self::invalidEditField), 69 static_cast<FieldGetMethodSig >(&Self::getHandleParents), 70 NULL); 69 static_cast<FieldGetMethodSig >(&Self::getHandleParents)); 71 70 72 71 oType.addInitialDesc(pDesc); … … 81 80 Field::SFDefaultFlags, 82 81 static_cast<FieldEditMethodSig>(&Self::editInternalHandler), 83 static_cast<FieldGetMethodSig >(&Self::getInternalHandler ), 84 NULL); 82 static_cast<FieldGetMethodSig >(&Self::getInternalHandler )); 85 83 86 84 oType.addInitialDesc(pDesc); trunk/Source/System/FieldContainer/Base/OSGFieldDescriptionBase.cpp
r862 r1179 64 64 const UInt32 uiFieldFlags, 65 65 FieldEditMethod fEditMethod, 66 FieldGetMethod fGetMethod, 67 const Char8 *defaultValue) : 66 FieldGetMethod fGetMethod) : 68 67 69 68 _szName (szName ), … … 80 79 _fGetMethod (fGetMethod ), 81 80 _fIndexedEditMethod(NULL ), 82 _fIndexedGetMethod (NULL ), 83 _defaultValue (defaultValue ) 81 _fIndexedGetMethod (NULL ) 84 82 { 85 83 } … … 94 92 const UInt32 uiFieldFlags, 95 93 FieldIndexEditMethod fIndexedEditMethod, 96 FieldIndexGetMethod fIndexedGetMethod, 97 const Char8 *defaultValue ) : 94 FieldIndexGetMethod fIndexedGetMethod) : 98 95 99 96 _szName (szName ), … … 110 107 _fGetMethod (NULL ), 111 108 _fIndexedEditMethod(fIndexedEditMethod), 112 _fIndexedGetMethod (fIndexedGetMethod ), 113 114 _defaultValue (defaultValue ) 109 _fIndexedGetMethod (fIndexedGetMethod ) 115 110 { 116 111 } … … 130 125 _fGetMethod (source._fGetMethod ), 131 126 _fIndexedEditMethod(source._fIndexedEditMethod), 132 _fIndexedGetMethod (source._fIndexedGetMethod ), 133 134 _defaultValue (source._defaultValue ) 127 _fIndexedGetMethod (source._fIndexedGetMethod ) 135 128 136 129 { trunk/Source/System/FieldContainer/Base/OSGFieldDescriptionBase.h
r1177 r1179 145 145 const UInt32 uiFieldFlags, 146 146 FieldEditMethod fEditMethod, 147 FieldGetMethod fGetMethod, 148 const Char8 *defaultValue = NULL); 147 FieldGetMethod fGetMethod); 149 148 150 149 FieldDescriptionBase(const FieldType &elementType, … … 156 155 const UInt32 uiFieldFlags, 157 156 FieldIndexEditMethod fIndexedEditMethod, 158 FieldIndexGetMethod fIndexedGetMethod, 159 const Char8 *defaultValue = NULL); 157 FieldIndexGetMethod fIndexedGetMethod); 160 158 161 159 FieldDescriptionBase(const FieldDescriptionBase &source); … … 185 183 UInt32 getFieldId (void ) const; 186 184 void setFieldId (UInt32 uiFieldId ); 187 188 const Char8 *getDefaultValue(void ) const;189 185 190 186 const FieldType &getFieldType (void ) const; … … 363 359 FieldIndexEditMethod _fIndexedEditMethod; 364 360 365 IDString _defaultValue;366 367 361 /*! \} */ 368 362 /*---------------------------------------------------------------------*/ trunk/Source/System/FieldContainer/Base/OSGFieldDescriptionBase.inl
r1142 r1179 91 91 92 92 inline 93 const Char8 *FieldDescriptionBase::getDefaultValue(void) const94 {95 return _defaultValue.str();96 }97 98 inline99 93 const FieldType &FieldDescriptionBase::getFieldType(void) const 100 94 { trunk/Source/System/FieldContainer/Mixins/OSGStageHandlerMixin.inl
r1102 r1179 54 54 Field::SFDefaultFlags, 55 55 static_cast<FieldEditMethodSig>(&Self::editHandleUpdateMode), 56 static_cast<FieldGetMethodSig >(&Self::getHandleUpdateMode ), 57 NULL); 56 static_cast<FieldGetMethodSig >(&Self::getHandleUpdateMode )); 58 57 59 58 oType.addInitialDesc(pDesc);
