Changeset 991

Show
Ignore:
Timestamp:
10/27/07 19:15:23 (9 months ago)
Author:
cneumann
Message:

fixed: compile errors, missing .inl includes

todo: fix WRL IO and missing symbols

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/Carsten_PtrWork/Source/System/Cluster/Base/testClusterClient.cpp

    r894 r991  
    238238        } 
    239239    } 
    240     for(MFNodePtr::const_iterator nI=node->getMFChildren()->begin(); 
    241         nI != node->getMFChildren()->end(); 
    242         ++nI) 
     240     
     241    Node::ChildrenFieldType::const_iterator nI = node->getMFChildren()->begin(); 
     242    Node::ChildrenFieldType::const_iterator nE = node->getMFChildren()->end  (); 
     243     
     244    for(; nI != nE; ++nI) 
    243245    { 
    244246        prepareSceneGraph(*nI); 
  • branches/Carsten_PtrWork/Source/System/FieldContainer/Base/OSGFieldBundle.h

    r976 r991  
    128128    Int32 getRefCount (void) const; 
    129129 
     130    OSG_SYSTEM_DLLMAPPING 
     131    void  addWeakReference(void); 
     132     
     133    OSG_SYSTEM_DLLMAPPING 
     134    void  subWeakReference(void); 
     135     
     136    OSG_SYSTEM_DLLMAPPING 
     137    Int32 getWeakRefCount (void) const; 
     138     
    130139    /*! \}                                                                 */ 
    131140    /*---------------------------------------------------------------------*/ 
  • branches/Carsten_PtrWork/Source/System/FieldContainer/Base/OSGFieldBundle.inl

    r976 r991  
    105105 
    106106inline 
     107void FieldBundle::addWeakReference(void) 
     108{ 
     109    FWARNING(("FieldBundle::addWeakReference: NIY\n")); 
     110} 
     111 
     112inline 
     113void FieldBundle::subWeakReference(void) 
     114{ 
     115    FWARNING(("FieldBundle::subWeakReference: NIY\n")); 
     116} 
     117 
     118inline 
     119Int32 FieldBundle::getWeakRefCount(void) const 
     120{ 
     121    FWARNING(("FieldBundle::getWeakReference: NIY\n")); 
     122     
     123    return 0; 
     124} 
     125 
     126 
     127inline 
    107128void FieldBundle::resolveLinks(void) 
    108129{ 
  • branches/Carsten_PtrWork/Source/System/FieldContainer/Fields/OSGMPointerFieldAdapter.h

    r976 r991  
    208208OSG_END_NAMESPACE 
    209209 
     210#include "OSGMPointerFieldAdapter.inl" 
     211 
    210212#endif // _OSGMPOINTERFIELDADAPTER_H_ 
  • branches/Carsten_PtrWork/Source/System/FieldContainer/Fields/OSGParentPointerEditMFieldHandle.h

    r980 r991  
    6464    /*! \{                                                                 */ 
    6565     
    66     typedef EditFieldHandle                         Inherited; 
    67     typedef boost::shared_ptr<EditMFieldHandle>     Ptr; 
     66    typedef EditFieldHandle                           Inherited; 
     67    typedef EditMFieldHandle< 
     68                MField<ParentPointer<ObjectT, 
     69                                     RootObjectT> > > Self; 
     70    typedef boost::shared_ptr<Self>                   Ptr; 
    6871     
    6972    typedef MField<ParentPointer<ObjectT, 
     
    141144OSG_END_NAMESPACE 
    142145 
     146#include "OSGParentPointerEditMFieldHandle.inl" 
     147 
    143148#endif // _OSGPARENTPOINTEREDITMFIELDHANDLE_H_ 
  • branches/Carsten_PtrWork/Source/System/FieldContainer/Fields/OSGParentPointerEditMFieldHandle.inl

    r980 r991  
    145145template <class ObjectT, class RootObjectT> 
    146146inline void 
    147 EditMFieldHandle<MField<ParentPointer<Container
     147EditMFieldHandle<MField<ParentPointer<ObjectT
    148148                                      RootObjectT> > >::pushValueFromCString( 
    149149    Char8 const *str) 
    150150{ 
    151     FWARNING(("EditMFieldHandle<MField<ParentPointer<Container, " 
     151    FWARNING(("EditMFieldHandle<MField<ParentPointer<ObjectT, " 
    152152              "RootObjectT> > >::pushValueFromCString(): NIY \n")); 
    153153} 
     
    168168    } 
    169169 
    170     HandledFieldType *pLhs = static_cast<HandledFieldType *>(        _pField); 
     170    HandledFieldType *pLhs = static_cast<HandledFieldType *>(this  ->_pField); 
    171171    HandledFieldType *pRhs = static_cast<HandledFieldType *>(pOther->_pField); 
    172172 
     
    203203                                      RootObjectT> > >::cloneValues( 
    204204    GetFieldHandlePtr        pSrc, 
    205     TypePtrVector     const &shareTypes     = TypePtrVector()
    206     TypePtrVector     const &ignoreTypes    = TypePtrVector()
    207     TypeIdVector      const &shareGroupIds  = TypeIdVector ()
    208     TypeIdVector      const &ignoreGroupIds = TypeIdVector ()) const 
     205    TypePtrVector     const &shareTypes
     206    TypePtrVector     const &ignoreTypes
     207    TypeIdVector      const &shareGroupIds
     208    TypeIdVector      const &ignoreGroupIds) const 
    209209{ 
    210210    FWARNING(("Illegal EditMFieldHandle<MField<ParentPointer<ObjectT> > >" 
     
    224224                                      RootObjectT> > >::operator->(void) 
    225225{ 
    226     return static_cast<HandledFieldType *>(_pField); 
     226    return static_cast<HandledFieldType *>(this->_pField); 
    227227} 
    228228 
     
    234234                                      RootObjectT> > >::operator*(void) 
    235235{ 
    236     return *static_cast<HandledFieldType *>(_pField); 
     236    return *static_cast<HandledFieldType *>(this->_pField); 
    237237} 
    238238 
  • branches/Carsten_PtrWork/Source/System/FieldContainer/Fields/OSGParentPointerEditSFieldHandle.h

    r980 r991  
    6464    /*! \{                                                                 */ 
    6565     
    66     typedef EditFieldHandle                         Inherited; 
    67     typedef boost::shared_ptr<EditSFieldHandle>     Ptr; 
     66    typedef EditFieldHandle                           Inherited; 
     67    typedef EditSFieldHandle< 
     68                SField<ParentPointer<ObjectT, 
     69                                     RootObjectT> > > Self; 
     70    typedef boost::shared_ptr<Self>                   Ptr; 
    6871     
    6972    typedef SField<ParentPointer<ObjectT, 
     
    141144OSG_END_NAMESPACE 
    142145 
     146#include "OSGParentPointerEditSFieldHandle.inl" 
     147 
    143148#endif // _OSGPARENTPOINTEREDITSFIELDHANDLE_H_ 
  • branches/Carsten_PtrWork/Source/System/FieldContainer/Fields/OSGParentPointerEditSFieldHandle.inl

    r980 r991  
    144144template <class ObjectT, class RootObjectT> 
    145145inline void 
    146 EditSFieldHandle<SField<ParentPointer<Container
     146EditSFieldHandle<SField<ParentPointer<ObjectT
    147147                                      RootObjectT> > >::pushValueFromCString( 
    148148    Char8 const *str) 
    149149{ 
    150     FWARNING(("EditSFieldHandle<SField<ParentPointer<Container, " 
     150    FWARNING(("EditSFieldHandle<SField<ParentPointer<ObjectT, " 
    151151              "RootObjectT> > >::pushValueFromCString(): NIY \n")); 
    152152} 
     
    167167    } 
    168168 
    169     HandledFieldType *pLhs = static_cast<HandledFieldType *>(        _pField); 
     169    HandledFieldType *pLhs = static_cast<HandledFieldType *>(this  ->_pField); 
    170170    HandledFieldType *pRhs = static_cast<HandledFieldType *>(pOther->_pField); 
    171171 
     
    202202                                      RootObjectT> > >::cloneValues( 
    203203    GetFieldHandlePtr        pSrc, 
    204     TypePtrVector     const &shareTypes     = TypePtrVector()
    205     TypePtrVector     const &ignoreTypes    = TypePtrVector()
    206     TypeIdVector      const &shareGroupIds  = TypeIdVector ()
    207     TypeIdVector      const &ignoreGroupIds = TypeIdVector ()) const 
     204    TypePtrVector     const &shareTypes
     205    TypePtrVector     const &ignoreTypes
     206    TypeIdVector      const &shareGroupIds
     207    TypeIdVector      const &ignoreGroupIds) const 
    208208{ 
    209209    FWARNING(("Illegal EditSFieldHandle<SField<ParentPointer<ObjectT> > >" 
     
    219219inline typename  
    220220    EditSFieldHandle<SField<ParentPointer<ObjectT, 
    221                                           RootObjectT> > >:HandledFieldType * 
     221                                          RootObjectT> > >::HandledFieldType * 
    222222EditSFieldHandle<SField<ParentPointer<ObjectT, 
    223223                                      RootObjectT> > >::operator->(void) 
    224224{ 
    225     return static_cast<HandledFieldType *>(_pField); 
     225    return static_cast<HandledFieldType *>(this->_pField); 
    226226} 
    227227 
     
    233233                                      RootObjectT> > >::operator*(void) 
    234234{ 
    235     return *static_cast<HandledFieldType *>(_pField); 
     235    return *static_cast<HandledFieldType *>(this->_pField); 
    236236} 
    237237 
  • branches/Carsten_PtrWork/Source/System/FieldContainer/Fields/OSGParentPointerFieldTraits.inl

    r976 r991  
    143143                               NamespaceI     >::copyFromBin( 
    144144    BinaryDataHandler       &pMem,  
    145     ParentPointer         *pObjectStore, 
     145    ParentPointer           *pObjectStore, 
    146146    UInt32            const  uiNumObjects ) 
    147147{ 
     
    252252                               NamespaceI     >::copyFromBin( 
    253253    BinaryDataHandler       &pMem,  
    254     ParentPointer         *pObjectStore, 
     254    ParentPointer           *pObjectStore, 
    255255    UInt32            const  uiNumObjects ) 
    256256{ 
  • branches/Carsten_PtrWork/Source/System/FieldContainer/Fields/OSGParentPointerGetMFieldHandle.h

    r980 r991  
    6464    /*! \{                                                                 */ 
    6565     
    66     typedef GetFieldHandle                         Inherited; 
    67     typedef boost::shared_ptr<GetMFieldHandle>     Ptr; 
     66    typedef GetFieldHandle                            Inherited; 
     67    typedef GetMFieldHandle< 
     68                MField<ParentPointer<ObjectT, 
     69                                     RootObjectT> > > Self; 
     70    typedef boost::shared_ptr<Self>                   Ptr; 
    6871     
    6972    typedef MField<ParentPointer<ObjectT, 
    70                                  RootObjectT> >    HandledFieldType; 
    71     typedef typename HandledFieldType::StoredType  HandledFieldStoredType; 
     73                                 RootObjectT> >       HandledFieldType; 
     74    typedef typename HandledFieldType::StoredType     HandledFieldStoredType; 
    7275     
    7376    /*! \}                                                                 */ 
     
    129132OSG_END_NAMESPACE 
    130133 
     134#include "OSGParentPointerGetMFieldHandle.inl" 
     135 
    131136#endif // _OSGPARENTPOINTERGETMFIELDHANDLE_H_ 
  • branches/Carsten_PtrWork/Source/System/FieldContainer/Fields/OSGParentPointerGetMFieldHandle.inl

    r980 r991  
    158158 
    159159    HandledFieldType const *pLhs = 
    160         static_cast<HandledFieldType const *>(        _pField); 
     160        static_cast<HandledFieldType const *>(this->  _pField); 
    161161    HandledFieldType const *pRhs = 
    162162        static_cast<HandledFieldType const *>(pOther->_pField); 
     
    175175                                     RootObjectT> > >::operator->(void) const 
    176176{ 
    177     return static_cast<HandledFieldType const *>(_pField); 
     177    return static_cast<HandledFieldType const *>(this->_pField); 
    178178} 
    179179 
     
    185185                                     RootObjectT> > >::operator*(void) const 
    186186{ 
    187     return *static_cast<HandledFieldType const *>(_pField); 
     187    return *static_cast<HandledFieldType const *>(this->_pField); 
    188188} 
    189189 
  • branches/Carsten_PtrWork/Source/System/FieldContainer/Fields/OSGParentPointerGetSFieldHandle.h

    r980 r991  
    6464    /*! \{                                                                 */ 
    6565     
    66     typedef GetFieldHandle                         Inherited; 
    67     typedef boost::shared_ptr<GetSFieldHandle>     Ptr; 
     66    typedef GetFieldHandle                            Inherited; 
     67    typedef GetSFieldHandle< 
     68                SField<ParentPointer<ObjectT, 
     69                                     RootObjectT> > > Self; 
     70    typedef boost::shared_ptr<Self>                   Ptr; 
    6871     
    6972    typedef SField<ParentPointer<ObjectT, 
    70                                  RootObjectT> >    HandledFieldType; 
    71     typedef typename HandledFieldType::StoredType         HandledFieldStoredType; 
     73                                 RootObjectT> >       HandledFieldType; 
     74    typedef typename HandledFieldType::StoredType     HandledFieldStoredType; 
    7275     
    7376    /*! \}                                                                 */ 
     
    129132OSG_END_NAMESPACE 
    130133 
     134#include "OSGParentPointerGetSFieldHandle.inl" 
     135 
    131136#endif // _OSGPARENTPOINTERGETSFIELDHANDLE_H_ 
  • branches/Carsten_PtrWork/Source/System/FieldContainer/Fields/OSGParentPointerGetSFieldHandle.inl

    r980 r991  
    158158 
    159159    HandledFieldType const *pLhs = 
    160         static_cast<HandledFieldType const *>(        _pField); 
     160        static_cast<HandledFieldType const *>(this->  _pField); 
    161161    HandledFieldType const *pRhs = 
    162162        static_cast<HandledFieldType const *>(pOther->_pField); 
     
    175175                                     RootObjectT> > >::operator->(void) const 
    176176{ 
    177     return static_cast<HandledFieldType const *>(_pField); 
     177    return static_cast<HandledFieldType const *>(this->_pField); 
    178178} 
    179179 
     
    185185                                     RootObjectT> > >::operator*(void) const 
    186186{ 
    187     return *static_cast<HandledFieldType const *>(_pField); 
     187    return *static_cast<HandledFieldType const *>(this->_pField); 
    188188} 
    189189 
  • branches/Carsten_PtrWork/Source/System/FieldContainer/Fields/OSGParentPointerMField.h

    r982 r991  
    342342OSG_END_NAMESPACE 
    343343 
     344#include "OSGParentPointerMField.inl" 
     345 
    344346#endif // _OSGPARENTPOINTERMFIELD_H_ 
  • branches/Carsten_PtrWork/Source/System/FieldContainer/Fields/OSGParentPointerMField.inl

    r976 r991  
    9595       NamespaceI, 
    9696       AllocT                              >::MField(UInt32 const size) 
    97     : Inherited(other), 
    98       _values  (size
     97    : Inherited(    ), 
     98      _values  (size
    9999{ 
    100100} 
     
    578578       NamespaceI, 
    579579       AllocT                              >::resize( 
    580     size_t newSize, StoredType value  = StoredType()
     580    size_t newSize, StoredType value
    581581{ 
    582582    _values.resize(newSize, value); 
     
    697697       NamespaceI, 
    698698       AllocT                              >::operator==( 
    699     MField const &other) 
     699    MField const &other) const 
    700700{ 
    701701    return _values == other._values; 
     
    715715        return; 
    716716         
    717     _values = other._values; 
     717    _values = source._values; 
    718718} 
    719719 
     
    735735        _values.resize(source.size()); 
    736736 
    737         Self::iterator sIt  = source._values.begin(); 
    738         Self::iterator sEnd = source._values.end  (); 
    739  
    740         Self::iterator fIt  = _values.begin(); 
     737        typename Self::iterator sIt  = source._values.begin(); 
     738        typename Self::iterator sEnd = source._values.end  (); 
     739 
     740        typename Self::iterator fIt  = _values.begin(); 
    741741         
    742742        while(sIt != sEnd) 
    743743        { 
    744             (*fIt).set       (convertToCurrentAspect((*sIt).get       ())
    745             (*fIt).setFieldId(                       (*sIt).getFieldId()); 
     744            (*fIt).set       (convertToCurrentAspect((*sIt).get       ()))
     745            (*fIt).setFieldId(                       (*sIt).getFieldId() ); 
    746746 
    747747            ++sIt; 
     
    757757template <class ObjectT, class RootObjectT, Int32 NamespaceI, class AllocT> 
    758758inline void 
    759 MField<ParentPointer<ObjectT>, NamespaceI, AllocT>::beginEdit( 
     759MField<ParentPointer<ObjectT, RootObjectT>, 
     760       NamespaceI, 
     761       AllocT                              >::beginEdit( 
    760762    UInt32              uiAspect, 
    761763    AspectOffsetStore  &oOffsets ) 
     
    807809        fprintf(stderr, " "); 
    808810 
    809     fprintf(stderr, "Share with : %08x\n", _uiSharedWith); 
     811    fprintf(stderr, "Share with : <nothing>\n"); 
    810812 
    811813    _values.dump(uiIndent, bvFlags); 
  • branches/Carsten_PtrWork/Source/System/FieldContainer/Fields/OSGParentPointerSField.h

    r978 r991  
    213213OSG_END_NAMESPACE 
    214214 
     215#include "OSGParentPointerSField.inl" 
     216 
    215217#endif // _OSGPARENTPOINTERMFIELD_H_ 
  • branches/Carsten_PtrWork/Source/System/FieldContainer/Fields/OSGParentPointerSField.inl

    r976 r991  
    194194inline bool 
    195195SField<ParentPointer<ObjectT, RootObjectT>, NamespaceI>::operator==( 
    196     SField const &other) 
     196    SField const &other) const 
    197197{ 
    198198    return _value == other._value; 
     
    219219SField<ParentPointer<ObjectT, RootObjectT>, NamespaceI>::syncWith(Self &source) 
    220220{ 
    221     _value.set       (convertToCurrentAspect(source.getValue().get     ())); 
    222     _value.setFieldId(                       source.getValue().getField() ); 
     221    _value.set       (convertToCurrentAspect(source.getValue().get       ())); 
     222    _value.setFieldId(                       source.getValue().getFieldId() ); 
    223223} 
    224224 
  • branches/Carsten_PtrWork/Source/System/FieldContainer/Fields/OSGReferenceCountPointerMField.h

    r988 r991  
    353353OSG_END_NAMESPACE 
    354354 
     355#include "OSGReferenceCountPointerMField.inl" 
     356 
    355357#endif // _OSGREFERENCECOUNTPOINTERMFIELD_H_ 
  • branches/Carsten_PtrWork/Source/System/FieldContainer/Fields/OSGReferenceCountPointerMField.inl

    r976 r991  
    107107       NamespaceI, 
    108108       AllocT                                  >::MField(UInt32 const size) 
    109     : Inherited(other), 
    110       _values  (size
     109    : Inherited(    ), 
     110      _values  (size
    111111{ 
    112112} 
     
    739739       NamespaceI, 
    740740       AllocT                                  >::resize( 
    741     size_t newSize, StoredType value  = StoredType()
     741    size_t newSize, StoredType value
    742742{ 
    743743    _values.resize(newSize, value); 
     
    892892                             RootObjectT     >, 
    893893       NamespaceI, 
    894        AllocT                                  >::operator==(MField const &other) 
     894       AllocT                                  >::operator==( 
     895    MField const &other) const 
    895896{ 
    896897    return _values == other._values; 
     
    912913        return; 
    913914         
    914     _values = other._values; 
     915    _values = source._values; 
    915916} 
    916917 
     
    935936        _values.resize(source.size()); 
    936937 
    937         Self::iterator sIt  = source._values.begin(); 
    938         Self::iterator sEnd = source._values.end  (); 
    939  
    940         Self::iterator fIt  = _values.begin(); 
     938        typename Self::iterator sIt  = source._values.begin(); 
     939        typename Self::iterator sEnd = source._values.end  (); 
     940 
     941        typename Self::iterator fIt  = _values.begin(); 
    941942         
    942943        while(sIt != sEnd) 
     
    10251026        fprintf(stderr, " "); 
    10261027 
    1027     fprintf(stderr, "Share with : %08x\n", _uiSharedWith); 
     1028    fprintf(stderr, "Share with : <nothing>\n"); 
    10281029 
    10291030    _values.dump(uiIndent, bvFlags); 
  • branches/Carsten_PtrWork/Source/System/FieldContainer/Fields/OSGReferenceCountPointerSField.h

    r978 r991  
    217217OSG_END_NAMESPACE 
    218218 
     219#include "OSGReferenceCountPointerSField.inl" 
     220 
    219221#endif // _OSGREFERENCECOUNTPOINTERSFIELD_H_ 
  • branches/Carsten_PtrWork/Source/System/FieldContainer/Fields/OSGReferenceCountPointerSField.inl

    r976 r991  
    139139inline typename  
    140140    SField<ReferenceCountPointer<ObjectT, 
    141                                  RefCountPolicyT>, 
    142            NamespaceI                             >::reference 
     141                                 RefCountPolicyT, 
     142                                 RootObjectT     >, 
     143           NamespaceI                              >::reference 
    143144SField<ReferenceCountPointer<ObjectT, 
    144145                             RefCountPolicyT, 
     
    153154inline typename  
    154155    SField<ReferenceCountPointer<ObjectT, 
    155                                  RefCountPolicyT>, 
    156            NamespaceI                             >::const_reference 
     156                                 RefCountPolicyT, 
     157                                 RootObjectT     >, 
     158           NamespaceI                              >::const_reference 
    157159SField<ReferenceCountPointer<ObjectT, 
    158160                             RefCountPolicyT, 
     
    249251                             RefCountPolicyT, 
    250252                             RootObjectT     >, 
    251        NamespaceI                              >::operator==(SField const &other) 
     253       NamespaceI                              >::operator==( 
     254    SField const &other) const 
    252255{ 
    253256    return _value == other._value; 
  • branches/Carsten_PtrWork/Source/System/FieldContainer/Fields/OSGSPointerFieldAdapter.h

    r976 r991  
    146146OSG_END_NAMESPACE 
    147147 
     148#include "OSGSPointerFieldAdapter.inl" 
     149 
    148150#endif // _OSGSPOINTERFIELDADAPTER_H_ 
  • branches/Carsten_PtrWork/Source/System/FileIO/OBJ/OSGOBJSceneFileType.cpp

    r799 r991  
    556556        nIndex += nCount; 
    557557    } 
    558     for(MFNodePtr::const_iterator nI=node->getMFChildren()->begin(); 
    559         nI != node->getMFChildren()->end(); 
    560         ++nI) 
     558     
     559    Node::ChildrenFieldType::const_iterator nI = node->getMFChildren()->begin(); 
     560    Node::ChildrenFieldType::const_iterator nE = node->getMFChildren()->end  (); 
     561     
     562    for(; nI != nE; ++nI) 
    561563    { 
    562564        write((*nI),os,pIndex,nIndex,tIndex); 
  • branches/Carsten_PtrWork/Source/System/FileIO/OSB/OSGNFIOBase.cpp

    r990 r991  
    330330        } 
    331331 
    332         SFFieldContainerPtr::EditHandlePtr pHandle =  
    333             boost::dynamic_pointer_cast<SFFieldContainerPtr::EditHandle>( 
     332        EditFCPointerSFieldHandlePtr pHandle = 
     333            boost::dynamic_pointer_cast<EditFCPointerSFieldHandle>( 
    334334                info._fc->editField(info._fieldId)); 
    335  
     335         
    336336        if(pHandle != NULL && pHandle->isValid()) 
    337337        { 
     
    339339            // field info._fieldId 
    340340 
    341             pHandle->setValue(fc); 
     341            pHandle->set(fc); 
    342342        } 
    343343    } 
     
    347347            return; 
    348348 
    349         MFFieldContainerPtr::EditHandlePtr pHandle =  
    350             boost::dynamic_pointer_cast<MFFieldContainerPtr::EditHandle>( 
    351                 info._fc->editField(info._fieldId)); 
    352  
     349        EditFCPointerMFieldHandlePtr pHandle = 
     350            boost::dynamic_pointer_cast<EditFCPointerMFieldHandle>( 
     351                info._fc->editField(info._fieldId));     
     352         
    353353        SFFieldContainerAttachmentPtrMap::EditHandlePtr pAMapHandle = 
    354354            boost::dynamic_pointer_cast< 
    355355                SFFieldContainerAttachmentPtrMap::EditHandle>( 
    356356                    info._fc->editField(info._fieldId)); 
    357  
    358357 
    359358        for(std::vector<UInt32>::const_iterator i = info._ids.begin(); 
     
    572571                    fDesc->getCName(), fType.getCName())); 
    573572 
    574             if(fType.getContentType().isDerivedFrom( 
    575                FieldTraits<FieldContainerPtr>::getType()) == true) 
    576             { 
    577                 SFFieldContainerPtr::GetHandlePtr sfPtrHandle = 
     573            if((fType.getContentType().isDerivedFrom( 
     574                    FieldTraits<FieldContainerInternalRefPtr>::getType()) == true) || 
     575               (fType.getContentType().isDerivedFrom( 
     576                    FieldTraits<FieldContainerWeakRefPtr    >::getType()) == true) || 
     577               (fType.getContentType().isDerivedFrom( 
     578                    FieldTraits<FieldContainerParentPtr     >::getType()) == true)  ) 
     579            { 
     580                GetFCPointerSFieldHandlePtr sfPtrHandle = 
    578581                    boost::dynamic_pointer_cast< 
    579                         SFFieldContainerPtr::GetHandle>(fc->getField(i)); 
    580  
    581                 MFFieldContainerPtr::GetHandlePtr mfPtrHandle = 
     582                        GetFCPointerSFieldHandle>(fc->getField(i)); 
     583 
     584                GetFCPointerMFieldHandlePtr mfPtrHandle = 
    582585                    boost::dynamic_pointer_cast< 
    583                         MFFieldContainerPtr::GetHandle>(fc->getField(i)); 
     586                        GetFCPointerMFieldHandle>(fc->getField(i)); 
    584587 
    585588                if(sfPtrHandle != NULL && sfPtrHandle->isValid() == true) 
    586589                { 
    587                     getFCCount((*sfPtrHandle)->getValue(), count); 
     590                    getFCCount(sfPtrHandle->get(), count); 
    588591                } 
    589592                else if(mfPtrHandle != NULL && mfPtrHandle->isValid() == true) 
    590593                { 
    591                     UInt32 noe = (*mfPtrHandle)->size(); 
     594                    UInt32 noe = mfPtrHandle->size(); 
    592595                    for(UInt32 i = 0; i < noe; ++i) 
    593596                    { 
    594                         getFCCount((*(*mfPtrHandle))[i], count); 
     597                        getFCCount(mfPtrHandle->get(i), count); 
    595598                    } 
    596599                } 
     
    738741            } 
    739742 
    740             if(fType.getContentType().isDerivedFrom( 
    741                FieldTraits<FieldContainerPtr>::getType()) == true) 
    742             { 
    743                 GetPointerSFieldHandlePtr sfPtrHandle = 
     743            if((fType.getContentType().isDerivedFrom( 
     744                    FieldTraits<FieldContainerInternalRefPtr>::getType()) == true) || 
     745               (fType.getContentType().isDerivedFrom( 
     746                    FieldTraits<FieldContainerWeakRefPtr    >::getType()) == true) || 
     747               (fType.getContentType().isDerivedFrom( 
     748                    FieldTraits<FieldContainerParentPtr     >::getType()) == true)   ) 
     749            { 
     750                GetFCPointerSFieldHandlePtr sfPtrHandle = 
    744751                    boost::dynamic_pointer_cast< 
    745                         GetPointerSFieldHandle>(fc->getField(i)); 
    746  
    747                 GetPointerMFieldHandlePtr mfPtrHandle = 
     752                        GetFCPointerSFieldHandle>(fc->getField(i)); 
     753 
     754                GetFCPointerMFieldHandlePtr mfPtrHandle = 
    748755                    boost::dynamic_pointer_cast< 
    749                         GetPointerMFieldHandle>(fc->getField(i)); 
     756                        GetFCPointerMFieldHandle>(fc->getField(i)); 
    750757  
    751758                //if(fieldPtr->getCardinality() == FieldType::SINGLE_FIELD) 
     
    826833 
    827834/*! Write the information for a mffield ptr. */ 
    828 void NFIOBase::writeMFFieldContainerPtr(GetFCPointerSFieldHandlePtr field) 
     835void NFIOBase::writeMFF