Changeset 1160
- Timestamp:
- 04/15/08 04:39:14 (4 weeks ago)
- Files:
-
- trunk/Source/Base/Base/OSGExportDefines.h (modified) (1 diff)
- trunk/Source/Base/Field/OSGFieldForwards.h (modified) (1 diff)
- trunk/Source/Base/Field/OSGFieldTraits.h (modified) (3 diffs)
- trunk/Source/Base/Field/OSGFieldTraits.inl (modified) (1 diff)
- trunk/Source/System/Action/Base/OSGAction.cpp (modified) (4 diffs)
- trunk/Source/System/Action/Base/OSGAction.h (modified) (2 diffs)
- trunk/Source/System/Action/RenderAction/OSGRenderAction.cpp (modified) (1 diff)
- trunk/Source/System/Cluster/Base/testClusterClient.cpp (modified) (1 diff)
- trunk/Source/System/Cluster/Window/BalancedMultiWindow/OSGBalancedMultiWindow.cpp (modified) (1 diff)
- trunk/Source/System/Cluster/Window/SortFirst/OSGTileLoadBalancer.cpp (modified) (1 diff)
- trunk/Source/System/Cluster/Window/SortLast/OSGSortLastWindow.cpp (modified) (1 diff)
- trunk/Source/System/FieldContainer/Fields/Base/build.info (moved) (moved from trunk/Source/System/FieldContainer/Fields/PointerFields/build.info)
- trunk/Source/System/FieldContainer/Fields/Handle/OSGFieldContainerMFieldHandle.h (modified) (1 diff)
- trunk/Source/System/FieldContainer/Fields/Handle/OSGFieldContainerMFieldHandle.inl (modified) (1 diff)
- trunk/Source/System/FieldContainer/Fields/Handle/OSGFieldContainerParentMFieldHandle.h (deleted)
- trunk/Source/System/FieldContainer/Fields/Handle/OSGFieldContainerParentMFieldHandle.inl (deleted)
- trunk/Source/System/FieldContainer/Fields/Handle/OSGFieldContainerParentSFieldHandle.h (deleted)
- trunk/Source/System/FieldContainer/Fields/Handle/OSGFieldContainerParentSFieldHandle.inl (deleted)
- trunk/Source/System/FieldContainer/Fields/OSGAttachmentContainerMFields.h (modified) (2 diffs)
- trunk/Source/System/FieldContainer/Fields/OSGAttachmentContainerSFields.h (modified) (2 diffs)
- trunk/Source/System/FieldContainer/Fields/OSGContainerTypeInst.cpp (modified) (8 diffs)
- trunk/Source/System/FieldContainer/Fields/OSGFieldContainerAttachmentMFields.h (modified) (2 diffs)
- trunk/Source/System/FieldContainer/Fields/OSGFieldContainerAttachmentSFields.h (modified) (2 diffs)
- trunk/Source/System/FieldContainer/Fields/OSGFieldContainerMFields.h (modified) (4 diffs)
- trunk/Source/System/FieldContainer/Fields/OSGFieldContainerSFields.h (modified) (3 diffs)
- trunk/Source/System/FieldContainer/Fields/OSGNodeCoreFieldTraits.h (modified) (8 diffs)
- trunk/Source/System/FieldContainer/Fields/OSGNodeCoreMFields.h (modified) (2 diffs)
- trunk/Source/System/FieldContainer/Fields/OSGNodeCoreSFields.h (modified) (2 diffs)
- trunk/Source/System/FieldContainer/Fields/OSGNodeFieldTraits.h (modified) (8 diffs)
- trunk/Source/System/FieldContainer/Fields/OSGNodeMFields.h (modified) (2 diffs)
- trunk/Source/System/FieldContainer/Fields/OSGNodeSFields.h (modified) (2 diffs)
- trunk/Source/System/FieldContainer/Fields/PointerFields/OSGChildPointerMField.h (modified) (1 diff)
- trunk/Source/System/FieldContainer/Fields/PointerFields/OSGChildPointerMField.ins (deleted)
- trunk/Source/System/FieldContainer/Fields/PointerFields/OSGChildPointerSField.h (modified) (1 diff)
- trunk/Source/System/FieldContainer/Fields/PointerFields/OSGChildPointerSField.ins (deleted)
- trunk/Source/System/FieldContainer/Fields/PointerFields/OSGParentPointerMField.h (modified) (1 diff)
- trunk/Source/System/FieldContainer/Fields/PointerFields/OSGParentPointerMField.ins (deleted)
- trunk/Source/System/FieldContainer/Fields/PointerFields/OSGParentPointerSField.h (modified) (1 diff)
- trunk/Source/System/FieldContainer/Fields/PointerFields/OSGParentPointerSField.ins (deleted)
- trunk/Source/System/FieldContainer/Fields/PointerFields/OSGPointerMField.h (modified) (1 diff)
- trunk/Source/System/FieldContainer/Fields/PointerFields/OSGPointerMFieldCommon.h (modified) (1 diff)
- trunk/Source/System/FieldContainer/Fields/PointerFields/OSGPointerMFieldCommon.inl (modified) (1 diff)
- trunk/Source/System/FieldContainer/Fields/PointerFields/OSGPointerSField.h (modified) (1 diff)
- trunk/Source/System/FieldContainer/Fields/PointerFields/OSGPointerSFieldCommon.h (modified) (1 diff)
- trunk/Source/System/FieldContainer/Fields/PointerFields/OSGPointerSFieldCommon.inl (modified) (1 diff)
- trunk/Source/System/FieldContainer/Fields/PointerFields/OSGUnrecordedPointerMField.h (deleted)
- trunk/Source/System/FieldContainer/Fields/PointerFields/OSGUnrecordedPointerMField.inl (deleted)
- trunk/Source/System/FieldContainer/Fields/PointerFields/OSGUnrecordedPointerMField.ins (deleted)
- trunk/Source/System/FieldContainer/Fields/PointerFields/OSGUnrecordedPointerSField.h (deleted)
- trunk/Source/System/FieldContainer/Fields/PointerFields/OSGUnrecordedPointerSField.inl (deleted)
- trunk/Source/System/FieldContainer/Fields/PointerFields/OSGUnrecordedPointerSField.ins (deleted)
- trunk/Source/System/FieldContainer/Fields/PointerFields/OSGWeakPointerMField.h (deleted)
- trunk/Source/System/FieldContainer/Fields/PointerFields/OSGWeakPointerMField.inl (deleted)
- trunk/Source/System/FieldContainer/Fields/PointerFields/OSGWeakPointerMField.ins (deleted)
- trunk/Source/System/FieldContainer/Fields/PointerFields/OSGWeakPointerSField.h (deleted)
- trunk/Source/System/FieldContainer/Fields/PointerFields/OSGWeakPointerSField.inl (deleted)
- trunk/Source/System/FieldContainer/Fields/PointerFields/OSGWeakPointerSField.ins (deleted)
- trunk/Source/System/FieldContainer/Node/OSGNode.cpp (modified) (12 diffs)
- trunk/Source/System/FieldContainer/Node/OSGNode.h (modified) (3 diffs)
- trunk/Source/System/FileIO/OBJ/OSGOBJSceneFileType.cpp (modified) (1 diff)
- trunk/Source/System/FileIO/OSG/OSGOSGLoader.cpp (modified) (1 diff)
- trunk/Source/System/FileIO/WRL/OSGVRMLFile.cpp (modified) (1 diff)
- trunk/Source/System/GraphOp/OSGMergeGraphOp.cpp (modified) (7 diffs)
- trunk/Source/System/GraphOp/OSGSplitGraphOp.cpp (modified) (1 diff)
- trunk/Source/System/Image/OSGImageGenericAtt.h (modified) (3 diffs)
- trunk/Source/System/NodeCores/Drawables/Geometry/Properties/OSGTypedGeoIntegralPropertyFields.cpp (modified) (1 diff)
- trunk/Source/System/NodeCores/Drawables/Geometry/Properties/OSGTypedGeoVectorPropertyFields.cpp (modified) (1 diff)
- trunk/Source/System/State/SHL/OSGSHLChunk.cpp (modified) (3 diffs)
- trunk/Source/System/State/SHL/OSGSHLChunk.h (modified) (2 diffs)
- trunk/Source/System/State/SHL/OSGShaderParameterChunk.h (modified) (1 diff)
- trunk/Source/System/Window/Base/OSGWindow.cpp (modified) (1 diff)
- trunk/Source/System/Window/Base/OSGWindow.h (modified) (1 diff)
- trunk/Tools/fcd2code/Field.py (modified) (1 diff)
- trunk/Tools/fcd2code/TemplateFieldContainerBase_cpp.txt (modified) (5 diffs)
- trunk/Tools/fcd2code/TemplateFieldContainerFields_h.txt (modified) (12 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Source/Base/Base/OSGExportDefines.h
r1142 r1160 303 303 304 304 305 #define OSG_FIELDCONTAINER_FIELDS_INST(PTRCLASS) \306 \307 typedef \308 FieldContainerPtrMField<PTRCLASS, \309 RecordedRefCountPolicy > MFRec##PTRCLASS; \310 \311 typedef \312 FieldContainerPtrMField<PTRCLASS, \313 UnrecordedRefCountPolicy> MFUnrec##PTRCLASS; \314 \315 typedef \316 FieldContainerPtrMField<PTRCLASS, \317 WeakRefCountPolicy > MFWeak##PTRCLASS; \318 \319 typedef \320 FieldContainerPtrMField<PTRCLASS, \321 NoRefCountPolicy > MFUncounted##PTRCLASS; \322 \323 typedef \324 FieldContainerPtrSField<PTRCLASS, \325 RecordedRefCountPolicy > SFRec##PTRCLASS; \326 \327 typedef \328 FieldContainerPtrSField<PTRCLASS, \329 UnrecordedRefCountPolicy> SFUnrec##PTRCLASS; \330 \331 typedef \332 FieldContainerPtrSField<PTRCLASS, \333 WeakRefCountPolicy > SFWeak##PTRCLASS; \334 \335 typedef \336 FieldContainerPtrSField<PTRCLASS, \337 NoRefCountPolicy > SFUncounted##PTRCLASS305 #define OSG_FIELDCONTAINER_FIELDS_INST(PTRCLASS) \ 306 \ 307 typedef \ 308 PointerMField<PTRCLASS, \ 309 RecordedRefCountPolicy > MFRec##PTRCLASS; \ 310 \ 311 typedef \ 312 PointerMField<PTRCLASS, \ 313 UnrecordedRefCountPolicy> MFUnrec##PTRCLASS; \ 314 \ 315 typedef \ 316 PointerMField<PTRCLASS, \ 317 WeakRefCountPolicy > MFWeak##PTRCLASS; \ 318 \ 319 typedef \ 320 PointerMField<PTRCLASS, \ 321 NoRefCountPolicy > MFUncounted##PTRCLASS; \ 322 \ 323 typedef \ 324 PointerSField<PTRCLASS, \ 325 RecordedRefCountPolicy > SFRec##PTRCLASS; \ 326 \ 327 typedef \ 328 PointerSField<PTRCLASS, \ 329 UnrecordedRefCountPolicy> SFUnrec##PTRCLASS; \ 330 \ 331 typedef \ 332 PointerSField<PTRCLASS, \ 333 WeakRefCountPolicy > SFWeak##PTRCLASS; \ 334 \ 335 typedef \ 336 PointerSField<PTRCLASS, \ 337 NoRefCountPolicy > SFUncounted##PTRCLASS 338 338 339 339 trunk/Source/Base/Field/OSGFieldForwards.h
r1142 r1160 62 62 typename RefCountPolicy, 63 63 Int32 iNamespace> 64 class FieldContainerPtrSField;64 class PointerSField; 65 65 66 66 template<class ValueT, 67 67 typename RefCountPolicy, 68 68 Int32 iNamespace> 69 class FieldContainerPtrMField;69 class PointerMField; 70 70 71 71 template<class ValueT, 72 72 typename RefCountPolicy, 73 73 Int32 iNamespace> 74 class FieldContainerPtrParentSField;74 class ParentPointerSField; 75 75 76 76 template<class ValueT, 77 77 typename RefCountPolicy, 78 78 Int32 iNamespace> 79 class FieldContainerPtrParentMField;79 class ParentPointerMField; 80 80 81 81 template<class ValueT, 82 82 typename RefCountPolicy, 83 83 Int32 iNamespace > 84 class FieldContainerPtrChildSField;84 class ChildPointerSField; 85 85 86 86 template<class ValueT, 87 87 typename RefCountPolicy, 88 88 Int32 iNamespace > 89 class FieldContainerPtrChildMField;89 class ChildPointerMField; 90 90 91 91 class FieldDescriptionBase; trunk/Source/Base/Field/OSGFieldTraits.h
r1142 r1160 501 501 typedef typename 502 502 boost::mpl::if_<boost::mpl::bool_<(eFieldCard == FieldType::SingleField)>, 503 FieldContainerPtrSField<typename DescT::ValueType,504 RefCountPolicy,505 DescT::iNamespace>,506 FieldContainerPtrMField<typename DescT::ValueType,507 RefCountPolicy,508 DescT::iNamespace> >::type HandledPField;503 PointerSField<typename DescT::ValueType, 504 RefCountPolicy, 505 DescT::iNamespace>, 506 PointerMField<typename DescT::ValueType, 507 RefCountPolicy, 508 DescT::iNamespace> >::type HandledPField; 509 509 510 510 typedef typename 511 511 boost::mpl::if_<boost::mpl::bool_<(eFieldCard == FieldType::SingleField)>, 512 FieldContainerPtrParentSField<typename DescT::ValueType, 513 RefCountPolicy, 514 DescT::iNamespace>, 515 FieldContainerPtrParentMField<typename DescT::ValueType, 516 RefCountPolicy, 517 DescT::iNamespace> 518 >::type HandledPPField; 519 520 typedef typename 521 boost::mpl::if_<boost::mpl::bool_<(eFieldCard == FieldType::SingleField)>, 522 FieldContainerPtrChildSField<typename DescT::ValueType, 512 ParentPointerSField<typename DescT::ValueType, 523 513 RefCountPolicy, 524 514 DescT::iNamespace>, 525 FieldContainerPtrChildMField<typename DescT::ValueType, 515 ParentPointerMField<typename DescT::ValueType, 516 RefCountPolicy, 517 DescT::iNamespace> 518 >::type HandledPPField; 519 520 typedef typename 521 boost::mpl::if_<boost::mpl::bool_<(eFieldCard == FieldType::SingleField)>, 522 ChildPointerSField<typename DescT::ValueType, 523 RefCountPolicy, 524 DescT::iNamespace>, 525 ChildPointerMField<typename DescT::ValueType, 526 526 RefCountPolicy, 527 527 DescT::iNamespace> … … 585 585 }; 586 586 587 struct DefaultCreateEditHandler 588 { 589 static EditFieldHandlePtr createHandler(Field *pField, 590 FieldDescription *pDesc ) 591 { 592 HandledField *pTypedField = pDesc->dcast(pField); 593 594 EditHandlePtr returnValue(new EditHandle(pTypedField, pDesc)); 595 596 return returnValue; 597 } 598 }; 599 600 struct ParentCreateEditHandler 601 { 602 static EditFieldHandlePtr createHandler(Field *pField, 603 FieldDescription *pDesc ) 604 { 605 EditFieldHandlePtr returnValue; 606 607 return returnValue; 608 } 609 }; 610 587 611 typedef typename 588 612 boost::mpl::if_< … … 590 614 ChildFieldCreateHandler, 591 615 DefaultFieldCreateHandler>::type FieldCreateHandler; 616 617 typedef typename 618 boost::mpl::if_< 619 boost::mpl::bool_<(eFieldClass == FieldType::ParentPtrField)>, 620 ParentCreateEditHandler, 621 DefaultCreateEditHandler>::type CreateEditHandler; 592 622 593 623 typedef typename trunk/Source/Base/Field/OSGFieldTraits.inl
r1142 r1160 225 225 eFieldClass >::createEditHandler(Field *pField) 226 226 { 227 HandledField *pTypedField = dcast(pField); 228 229 EditHandlePtr returnValue(new EditHandle(pTypedField, this)); 230 231 return returnValue; 227 return CreateEditHandler::createHandler(pField, this); 232 228 } 233 229 trunk/Source/System/Action/Base/OSGAction.cpp
r1106 r1160 374 374 else if(! _useNewList) // new list is empty, but not used? 375 375 { 376 Node::ChildFieldType::const_iterator it;376 MFUnrecChildNodePtr::const_iterator it; 377 377 378 378 for( it = node->getMFChildren()->begin(); … … 602 602 } 603 603 604 ActionBase::ResultE traverse(const Node::ChildFieldType&nodeList,604 ActionBase::ResultE traverse(const MFUnrecChildNodePtr &nodeList, 605 605 TraverseEnterFunctor func ) 606 606 { 607 607 ActionBase::ResultE res = ActionBase::Continue; 608 608 609 Node::ChildFieldType::const_iterator it = nodeList.begin();610 Node::ChildFieldType::const_iterator en = nodeList.end ();609 MFUnrecChildNodePtr::const_iterator it = nodeList.begin(); 610 MFUnrecChildNodePtr::const_iterator en = nodeList.end (); 611 611 612 612 for(; it != en; ++it) … … 671 671 } 672 672 673 ActionBase::ResultE traverse(const Node::ChildFieldType&nodeList,673 ActionBase::ResultE traverse(const MFUnrecChildNodePtr &nodeList, 674 674 TraverseEnterFunctor enter, 675 675 TraverseLeaveFunctor leave ) … … 677 677 ActionBase::ResultE res = ActionBase::Continue; 678 678 679 Node::ChildFieldType::const_iterator it = nodeList.begin();680 Node::ChildFieldType::const_iterator en = nodeList.end ();679 MFUnrecChildNodePtr::const_iterator it = nodeList.begin(); 680 MFUnrecChildNodePtr::const_iterator en = nodeList.end (); 681 681 682 682 for(; it != en; ++it) trunk/Source/System/Action/Base/OSGAction.h
r1106 r1160 370 370 371 371 OSG_SYSTEM_DLLMAPPING 372 ActionBase::ResultE traverse(const Node::ChildFieldType&nodeList,372 ActionBase::ResultE traverse(const MFUnrecChildNodePtr &nodeList, 373 373 TraverseEnterFunctor func); 374 374 … … 383 383 384 384 OSG_SYSTEM_DLLMAPPING 385 ActionBase::ResultE traverse(const Node::ChildFieldType&nodeList,385 ActionBase::ResultE traverse(const MFUnrecChildNodePtr &nodeList, 386 386 TraverseEnterFunctor enter, 387 387 TraverseLeaveFunctor leave); trunk/Source/System/Action/RenderAction/OSGRenderAction.cpp
r1106 r1160 485 485 else if(! _useNewList) // new list is empty, but not used? 486 486 { 487 Node::ChildFieldType::const_iterator it;487 MFUnrecChildNodePtr::const_iterator it; 488 488 489 489 for( it = node->getMFChildren()->begin(); trunk/Source/System/Cluster/Base/testClusterClient.cpp
r1106 r1160 257 257 } 258 258 } 259 for( Node::ChildFieldType::const_iterator nI=node->getMFChildren()->begin();259 for(MFUnrecChildNodePtr::const_iterator nI=node->getMFChildren()->begin(); 260 260 nI != node->getMFChildren()->end(); 261 261 ++nI) trunk/Source/System/Cluster/Window/BalancedMultiWindow/OSGBalancedMultiWindow.cpp
r1106 r1160 733 733 #endif 734 734 UInt32 l; 735 Node::ChildFieldType::const_iterator child;735 MFUnrecChildNodePtr::const_iterator child; 736 736 737 737 // ignore null node trunk/Source/System/Cluster/Window/SortFirst/OSGTileLoadBalancer.cpp
r1106 r1160 367 367 } 368 368 // handle all childs 369 for( Node::ChildFieldType::const_iterator n = node->getMFChildren()->begin();370 n !=node->getMFChildren()->end();371 ++n)369 for(MFUnrecChildNodePtr::const_iterator n = node->getMFChildren()->begin(); 370 n !=node->getMFChildren()->end(); 371 ++n) 372 372 { 373 373 updateSubtree(*n,loadMap); trunk/Source/System/Cluster/Window/SortLast/OSGSortLastWindow.cpp
r1106 r1160 757 757 } 758 758 759 Node::ChildFieldType::const_iterator nI;759 MFUnrecChildNodePtr::const_iterator nI; 760 760 761 761 for( nI = node->getMFChildren()->begin(); trunk/Source/System/FieldContainer/Fields/Handle/OSGFieldContainerMFieldHandle.h
r1131 r1160 207 207 208 208 209 typedef boost::function<void (typename FieldT::const_ reference)> AddMethod;209 typedef boost::function<void (typename FieldT::const_value)> AddMethod; 210 210 211 211 AddMethod _fAddMethod; trunk/Source/System/FieldContainer/Fields/Handle/OSGFieldContainerMFieldHandle.inl
r1131 r1160 343 343 void EditFCPtrMFieldHandle<FieldT>::add(FieldContainerPtrConstArg pNewElement) 344 344 { 345 typename FieldT::const_ reference pVal =346 dynamic_cast<typename FieldT::const_ reference>(pNewElement);345 typename FieldT::const_value pVal = 346 dynamic_cast<typename FieldT::const_value>(pNewElement); 347 347 348 348 if(pNewElement != NULL && pVal == NULL) trunk/Source/System/FieldContainer/Fields/OSGAttachmentContainerMFields.h
r1126 r1160 44 44 45 45 #include "OSGAttachmentContainerFieldTraits.h" 46 #include "OSG FieldContainerPtrMField.h"46 #include "OSGPointerMField.h" 47 47 48 48 OSG_BEGIN_NAMESPACE … … 51 51 /*! \ingroup */ 52 52 53 typedef FieldContainerPtrMField<53 typedef PointerMField< 54 54 AttachmentContainerPtr, 55 55 RecordedRefCountPolicy > MFRecAttachmentContainerPtr; 56 56 57 typedef FieldContainerPtrMField<57 typedef PointerMField< 58 58 AttachmentContainerPtr, 59 59 UnrecordedRefCountPolicy > MFUnrecAttachmentContainerPtr; 60 60 61 typedef FieldContainerPtrMField<61 typedef PointerMField< 62 62 AttachmentContainerPtr, 63 63 WeakRefCountPolicy > MFWeakAttachmentContainerPtr; 64 64 65 typedef FieldContainerPtrMField<65 typedef PointerMField< 66 66 AttachmentContainerPtr, 67 67 NoRefCountPolicy > MFUncountedAttachmentContainerPtr; trunk/Source/System/FieldContainer/Fields/OSGAttachmentContainerSFields.h
r1126 r1160 44 44 45 45 #include "OSGAttachmentContainerFieldTraits.h" 46 #include "OSG FieldContainerPtrSField.h"46 #include "OSGPointerSField.h" 47 47 48 48 OSG_BEGIN_NAMESPACE … … 51 51 /*! \ingroup */ 52 52 53 typedef FieldContainerPtrSField<53 typedef PointerSField< 54 54 AttachmentContainerPtr, 55 55 RecordedRefCountPolicy > SFRecAttachmentContainerPtr; 56 56 57 typedef FieldContainerPtrSField<57 typedef PointerSField< 58 58 AttachmentContainerPtr, 59 59 UnrecordedRefCountPolicy > SFUnrecAttachmentContainerPtr; 60 60 61 typedef FieldContainerPtrSField<61 typedef PointerSField< 62 62 AttachmentContainerPtr, 63 63 WeakRefCountPolicy > SFWeakAttachmentContainerPtr; 64 64 65 typedef FieldContainerPtrSField<65 typedef PointerSField< 66 66 AttachmentContainerPtr, 67 67 NoRefCountPolicy > SFUncountedAttachmentContainerPtr; trunk/Source/System/FieldContainer/Fields/OSGContainerTypeInst.cpp
r1126 r1160 117 117 // FieldContainer 118 118 119 OSG_EXPORT_PTR_SFIELD_FULL( FieldContainerPtrSField,119 OSG_EXPORT_PTR_SFIELD_FULL(PointerSField, 120 120 FieldContainerPtr, 121 121 0); 122 122 123 OSG_EXPORT_PTR_MFIELD_FULL( FieldContainerPtrMField,123 OSG_EXPORT_PTR_MFIELD_FULL(PointerMField, 124 124 FieldContainerPtr, 125 125 0); … … 127 127 // Node 128 128 129 OSG_EXPORT_PTR_SFIELD_FULL( FieldContainerPtrSField,129 OSG_EXPORT_PTR_SFIELD_FULL(PointerSField, 130 130 NodePtr, 131 131 0); 132 132 133 OSG_EXPORT_PTR_MFIELD_FULL( FieldContainerPtrMField,133 OSG_EXPORT_PTR_MFIELD_FULL(PointerMField, 134 134 NodePtr, 135 135 0); … … 137 137 // NodeCore 138 138 139 OSG_EXPORT_PTR_SFIELD_FULL( FieldContainerPtrSField,139 OSG_EXPORT_PTR_SFIELD_FULL(PointerSField, 140 140 NodeCorePtr, 141 141 0); 142 142 143 OSG_EXPORT_PTR_MFIELD_FULL( FieldContainerPtrMField,143 OSG_EXPORT_PTR_MFIELD_FULL(PointerMField, 144 144 NodeCorePtr, 145 145 0); … … 147 147 // AttachmentContainer 148 148 149 OSG_EXPORT_PTR_SFIELD_FULL( FieldContainerPtrSField,149 OSG_EXPORT_PTR_SFIELD_FULL(PointerSField, 150 150 AttachmentContainerPtr, 151 151 0); 152 152 153 OSG_EXPORT_PTR_MFIELD_FULL( FieldContainerPtrMField,153 OSG_EXPORT_PTR_MFIELD_FULL(PointerMField, 154 154 AttachmentContainerPtr, 155 155 0); … … 157 157 // FieldContainerAttachment 158 158 159 OSG_EXPORT_PTR_SFIELD_FULL( FieldContainerPtrSField,159 OSG_EXPORT_PTR_SFIELD_FULL(PointerSField, 160 160 FieldContainerAttachmentPtr, 161 161 0); 162 162 163 OSG_EXPORT_PTR_MFIELD_FULL( FieldContainerPtrMField,163 OSG_EXPORT_PTR_MFIELD_FULL(PointerMField, 164 164 FieldContainerAttachmentPtr, 165 165 0); … … 168 168 169 169 170 OSG_EXPORT_PTR_SFIELD( FieldContainerPtrChildSField,170 OSG_EXPORT_PTR_SFIELD(ChildPointerSField, 171 171 NodeCorePtr, 172 172 UnrecordedRefCountPolicy, 173 173 1); 174 174 175 OSG_EXPORT_PTR_MFIELD( FieldContainerPtrChildMField,175 OSG_EXPORT_PTR_MFIELD(ChildPointerMField, 176 176 NodeCorePtr, 177 177 UnrecordedRefCountPolicy, … … 179 179 180 180 // NodeChildNode 181 OSG_EXPORT_PTR_MFIELD( FieldContainerPtrChildMField,181 OSG_EXPORT_PTR_MFIELD(ChildPointerMField, 182 182 NodePtr, 183 183 UnrecordedRefCountPolicy, … … 187 187 // ParentFieldContainer 188 188 189 OSG_SFIELDTYPE_INST( FieldContainerPtrParentSField,189 OSG_SFIELDTYPE_INST(ParentPointerSField, 190 190 FieldContainerPtr, 191 191 NoRefCountPolicy, 192 192 1); 193 OSG_MFIELDTYPE_INST( FieldContainerPtrParentMField,193 OSG_MFIELDTYPE_INST(ParentPointerMField, 194 194 FieldContainerPtr, 195 195 NoRefCountPolicy, 196 196 1); 197 197 198 OSG_FIELD_DLLEXPORT_DEF3( FieldContainerPtrParentSField,198 OSG_FIELD_DLLEXPORT_DEF3(ParentPointerSField, 199 199 FieldContainerPtr, 200 200 NoRefCountPolicy, 201 201 1); 202 OSG_FIELD_DLLEXPORT_DEF3( FieldContainerPtrParentMField,202 OSG_FIELD_DLLEXPORT_DEF3(ParentPointerMField, 203 203 FieldContainerPtr, 204 204 NoRefCountPolicy, trunk/Source/System/FieldContainer/Fields/OSGFieldContainerAttachmentMFields.h
r1126 r1160 44 44 45 45 #include "OSGFieldContainerAttachmentFieldTraits.h" 46 #include "OSG FieldContainerPtrMField.h"46 #include "OSGPointerMField.h" 47 47 48 48 OSG_BEGIN_NAMESPACE … … 51 51 /*! \ingroup */ 52 52 53 typedef FieldContainerPtrMField<53 typedef PointerMField< 54 54 FieldContainerAttachmentPtr, 55 55 RecordedRefCountPolicy > MFRecFieldContainerAttachmentPtr; 56 56 57 typedef FieldContainerPtrMField<57 typedef PointerMField< 58 58 FieldContainerAttachmentPtr, 59 59 UnrecordedRefCountPolicy > MFUnrecFieldContainerAttachmentPtr; 60 60 61 typedef FieldContainerPtrMField<61 typedef PointerMField< 62 62 FieldContainerAttachmentPtr, 63 63 WeakRefCountPolicy > MFWeakFieldContainerAttachmentPtr; 64 64 65 typedef FieldContainerPtrMField<65 typedef PointerMField< 66 66 FieldContainerAttachmentPtr, 67 67 NoRefCountPolicy > MFUncountedFieldContainerAttachmentPtr; trunk/Source/System/FieldContainer/Fields/OSGFieldContainerAttachmentSFields.h
r1126 r1160 44 44 45 45 #include "OSGFieldContainerAttachmentFieldTraits.h" 46 #include "OSG FieldContainerPtrSField.h"46 #include "OSGPointerSField.h" 47 47 48 48 OSG_BEGIN_NAMESPACE … … 51 51 /*! \ingroup */ 52 52 53 typedef FieldContainerPtrSField<53 typedef PointerSField< 54 54 FieldContainerAttachmentPtr, 55 55 RecordedRefCountPolicy > SFRecFieldContainerAttachmentPtr; 56 56 57 typedef FieldContainerPtrSField<57 typedef PointerSField< 58 58 FieldContainerAttachmentPtr, 59 59 UnrecordedRefCountPolicy > SFUnrecFieldContainerAttachmentPtr; 60 60 61 typedef FieldContainerPtrSField<61 typedef PointerSField< 62 62 FieldContainerAttachmentPtr, 63 63 WeakRefCountPolicy > SFWeakFieldContainerAttachmentPtr; 64 64 65 typedef FieldContainerPtrSField<65 typedef PointerSField< 66 66 FieldContainerAttachmentPtr, 67 67 NoRefCountPolicy > SFUncountedFieldContainerAttachmentPtr; trunk/Source/System/FieldContainer/Fields/OSGFieldContainerMFields.h
r1129
