| 171 | | |
|---|
| 172 | | #ifdef OSG_MT_FIELDCONTAINERPTR |
|---|
| 173 | | inline |
|---|
| 174 | | void StringAttributeMapBase::execSync( StringAttributeMapBase *pOther, |
|---|
| 175 | | ConstFieldMaskArg whichField, |
|---|
| 176 | | ConstFieldMaskArg syncMode, |
|---|
| 177 | | const UInt32 uiSyncInfo, |
|---|
| 178 | | UInt32 uiCopyOffset) |
|---|
| 179 | | { |
|---|
| 180 | | Inherited::execSync(pOther, whichField, syncMode, uiSyncInfo, uiCopyOffset); |
|---|
| 181 | | |
|---|
| 182 | | if(FieldBits::NoField != (KeysFieldMask & whichField)) |
|---|
| 183 | | _mfKeys.syncWith(pOther->_mfKeys, |
|---|
| 184 | | syncMode, |
|---|
| 185 | | uiSyncInfo, |
|---|
| 186 | | uiCopyOffset); |
|---|
| 187 | | |
|---|
| 188 | | if(FieldBits::NoField != (ValuesFieldMask & whichField)) |
|---|
| 189 | | _mfValues.syncWith(pOther->_mfValues, |
|---|
| 190 | | syncMode, |
|---|
| 191 | | uiSyncInfo, |
|---|
| 192 | | uiCopyOffset); |
|---|
| 193 | | } |
|---|
| 194 | | #endif |
|---|
| 220 | | #if 0 |
|---|
| 221 | | inline |
|---|
| 222 | | void StringAttributeMapBase::execBeginEdit(ConstFieldMaskArg whichField, |
|---|
| 223 | | UInt32 uiAspect, |
|---|
| 224 | | UInt32 uiContainerSize) |
|---|
| 225 | | { |
|---|
| 226 | | Inherited::execBeginEdit(whichField, uiAspect, uiContainerSize); |
|---|
| 227 | | |
|---|
| 228 | | if(FieldBits::NoField != (KeysFieldMask & whichField)) |
|---|
| 229 | | { |
|---|
| 230 | | _mfKeys.beginEdit(uiAspect, uiContainerSize); |
|---|
| 231 | | } |
|---|
| 232 | | |
|---|
| 233 | | if(FieldBits::NoField != (ValuesFieldMask & whichField)) |
|---|
| 234 | | { |
|---|
| 235 | | _mfValues.beginEdit(uiAspect, uiContainerSize); |
|---|
| 236 | | } |
|---|
| 237 | | } |
|---|
| 238 | | #endif |
|---|
| 239 | | |
|---|