Changeset 1174

Show
Ignore:
Timestamp:
04/17/08 06:20:11 (4 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/OSGBaseFieldTraits.h

    r928 r1174  
    995995 
    996996    static OSG_BASE_DLLMAPPING 
    997            DataType &getType      (void); 
    998  
    999     static Char8    *getSName     (void) { return "SFGLenum";          } 
    1000     static Char8    *getMName     (void) { return "MFGLenum";          } 
    1001  
    1002     static GLenum    getDefault   (void) { return 0;                   } 
     997                 DataType &getType      (void); 
     998 
     999    static const Char8    *getSName     (void) { return "SFGLenum";          } 
     1000    static const Char8    *getMName     (void) { return "MFGLenum";          } 
     1001 
     1002    static       GLenum    getDefault   (void) { return 0;                   } 
    10031003 
    10041004    static void putToStream(const GLenum    &val, 
  • trunk/Source/Base/Field/OSGFieldTraits.h

    r1164 r1174  
    4343#endif 
    4444 
    45 #include "OSGIDString.h" 
    4645#include "OSGFieldForwards.h" 
    4746#include "OSGLog.h" 
  • trunk/Source/Base/Field/OSGFieldType.h

    r1145 r1174  
    8484        ParentPtrField, 
    8585        ChildPtrField 
    86 #ifndef OSG_DELETE_LATER 
    87         ,WeakPtrField  
    88 #endif 
    8986    }; 
    9087 
  • trunk/Source/Base/Field/OSGMathFieldTraits.h

    r785 r1174  
    8181 
    8282    static OSG_BASE_DLLMAPPING 
    83            DataType &getType      (void); 
    84  
    85     static Char8    *getSName     (void) { return "SFMatrix";       } 
    86     static Char8    *getMName     (void) { return "MFMatrix";       } 
    87  
    88     static Matrix    getDefault   (void) { return Matrix();         } 
     83                 DataType &getType      (void); 
     84 
     85    static const Char8    *getSName     (void) { return "SFMatrix";       } 
     86    static const Char8    *getMName     (void) { return "MFMatrix";       } 
     87 
     88    static       Matrix    getDefault   (void) { return Matrix();         } 
    8989 
    9090 
     
    198198 
    199199    static OSG_BASE_DLLMAPPING 
    200            DataType &getType       (void); 
    201  
    202     static Char8    *getSName      (void) { return "SFMatrix4d";       } 
    203     static Char8    *getMName      (void) { return "MFMatrix4d";       } 
    204  
    205     static Matrix4d  getDefault    (void) { return Matrix4d();         } 
     200                 DataType &getType       (void); 
     201 
     202    static const Char8    *getSName      (void) { return "SFMatrix4d";       } 
     203    static const Char8    *getMName      (void) { return "MFMatrix4d";       } 
     204 
     205    static       Matrix4d  getDefault    (void) { return Matrix4d();         } 
    206206 
    207207    static bool      getFromCString(      Matrix4d   &outVal, 
     
    314314 
    315315    static OSG_BASE_DLLMAPPING 
    316            DataType &getType      (void); 
    317  
    318     static Char8    *getSName     (void) { return "SFMatrix4fx";    } 
    319     static Char8    *getMName     (void) { return "MFMatrix4fx";    } 
    320  
    321     static Matrix4fx getDefault   (void) { return Matrix4fx();      } 
     316                 DataType &getType      (void); 
     317 
     318    static const Char8    *getSName     (void) { return "SFMatrix4fx";    } 
     319    static const Char8    *getMName     (void) { return "MFMatrix4fx";    } 
     320 
     321    static       Matrix4fx getDefault   (void) { return Matrix4fx();      } 
    322322 
    323323 
     
    396396 
    397397    static OSG_BASE_DLLMAPPING 
    398            DataType   &getType      (void); 
    399  
    400     static Char8      *getSName     (void) { return "SFQuaternion"; } 
    401     static Char8      *getMName     (void) { return "MFQuaternion"; } 
    402  
    403     static Quaternion  getDefault   (void) { return Quaternion();   } 
     398                 DataType   &getType      (void); 
     399 
     400    static const Char8      *getSName     (void) { return "SFQuaternion"; } 
     401    static const Char8      *getMName     (void) { return "MFQuaternion"; } 
     402 
     403    static       Quaternion  getDefault   (void) { return Quaternion();   } 
    404404 
    405405}; 
     
    440440 
    441441    static OSG_BASE_DLLMAPPING 
    442            DataType     &getType      (void); 
    443  
    444     static Char8        *getSName     (void) { return "SFQuaternionfx"; } 
    445     static Char8        *getMName     (void) { return "MFQuaternionfx"; } 
    446  
    447     static Quaternionfx  getDefault   (void) { return Quaternionfx();   } 
     442                 DataType     &getType      (void); 
     443 
     444    static const Char8        *getSName     (void) { return "SFQuaternionfx"; } 
     445    static const Char8        *getMName     (void) { return "MFQuaternionfx"; } 
     446 
     447    static       Quaternionfx  getDefault   (void) { return Quaternionfx();   } 
    448448 
    449449}; 
  • trunk/Source/Base/Field/OSGSysFieldTraits.h

    r785 r1174  
    8080 
    8181    static OSG_BASE_DLLMAPPING 
    82            DataType &getType      (void); 
    83  
    84     static Char8    *getSName     (void) { return "SFBool";            } 
    85     static Char8    *getMName     (void) { return "MFBool";            } 
    86  
    87     static bool      getDefault   (void) { return false;               } 
     82                 DataType &getType      (void); 
     83 
     84    static const Char8    *getSName     (void) { return "SFBool";            } 
     85    static const Char8    *getMName     (void) { return "MFBool";            } 
     86 
     87    static       bool      getDefault   (void) { return false;               } 
     88 
    8889 
    8990    static UInt32 getBinSize (const bool &) 
     
    147148 
    148149    static OSG_BASE_DLLMAPPING 
    149            DataType &getType      (void); 
    150  
    151     static Char8    *getSName     (void) { return "SFInt8";            } 
    152     static Char8    *getMName     (void) { return "MFInt8";            } 
    153  
    154     static Int8      getDefault   (void) { return 0;                   } 
     150                 DataType &getType      (void); 
     151 
     152    static const Char8    *getSName     (void) { return "SFInt8";            } 
     153    static const Char8    *getMName     (void) { return "MFInt8";            } 
     154 
     155    static       Int8      getDefault   (void) { return 0;                   } 
    155156}; 
    156157 
     
    181182 
    182183    static OSG_BASE_DLLMAPPING 
    183            DataType &getType      (void); 
    184  
    185     static Char8    *getSName     (void) { return "SFUInt8";           } 
    186     static Char8    *getMName     (void) { return "MFUInt8";           } 
    187  
    188     static UInt8     getDefault   (void) { return 0;                   } 
     184                 DataType &getType      (void); 
     185 
     186    static const Char8    *getSName     (void) { return "SFUInt8";           } 
     187    static const Char8    *getMName     (void) { return "MFUInt8";           } 
     188 
     189    static       UInt8     getDefault   (void) { return 0;                   } 
    189190 
    190191}; 
     
    216217 
    217218    static OSG_BASE_DLLMAPPING 
    218            DataType &getType      (void); 
    219  
    220     static Char8    *getSName     (void) { return "SFInt16";           } 
    221     static Char8    *getMName     (void) { return "MFInt16";           } 
    222  
    223     static Int16     getDefault   (void) { return 0;                   } 
     219                 DataType &getType      (void); 
     220 
     221    static const Char8    *getSName     (void) { return "SFInt16";           } 
     222    static const Char8    *getMName     (void) { return "MFInt16";           } 
     223 
     224    static       Int16     getDefault   (void) { return 0;                   } 
    224225 
    225226}; 
     
    251252 
    252253    static OSG_BASE_DLLMAPPING 
    253            DataType &getType      (void); 
    254  
    255     static Char8    *getSName     (void) { return "SFUInt16";          } 
    256     static Char8    *getMName     (void) { return "MFUInt16";          } 
    257  
    258     static UInt16    getDefault   (void) { return 0;                   } 
     254                 DataType &getType      (void); 
     255 
     256    static const Char8    *getSName     (void) { return "SFUInt16";          } 
     257    static const Char8    *getMName     (void) { return "MFUInt16";          } 
     258 
     259    static       UInt16    getDefault   (void) { return 0;                   } 
    259260 
    260261}; 
     
    286287 
    287288    static OSG_BASE_DLLMAPPING 
    288            DataType &getType      (void); 
    289  
    290     static Char8    *getSName     (void) { return "SFInt32";           } 
    291     static Char8    *getMName     (void) { return "MFInt32";           } 
    292  
    293     static Int32     getDefault   (void) { return 0;                   } 
     289                 DataType &getType      (void); 
     290 
     291    static const Char8    *getSName     (void) { return "SFInt32";           } 
     292    static const Char8    *getMName     (void) { return "MFInt32";           } 
     293 
     294    static       Int32     getDefault   (void) { return 0;                   } 
    294295 
    295296}; 
     
    321322 
    322323    static OSG_BASE_DLLMAPPING 
    323            DataType &getType      (void); 
    324  
    325     static Char8    *getSName     (void) { return "SFUInt32";          } 
    326     static Char8    *getMName     (void) { return "MFUInt32";          } 
    327  
    328     static UInt32    getDefault   (void) { return 0;                   } 
     324                 DataType &getType      (void); 
     325 
     326    static const Char8    *getSName     (void) { return "SFUInt32";          } 
     327    static const Char8    *getMName     (void) { return "MFUInt32";          } 
     328 
     329    static       UInt32    getDefault   (void) { return 0;                   } 
    329330}; 
    330331 
     
    362363 
    363364    static OSG_BASE_DLLMAPPING 
    364            DataType &getType      (void); 
    365  
    366     static Char8    *getSName     (void) { return "SFInt64";           } 
    367     static Char8    *getMName     (void) { return "MFInt64";           } 
    368  
    369     static Int64     getDefault   (void) { return 0;                   } 
     365                 DataType &getType      (void); 
     366 
     367    static const Char8    *getSName     (void) { return "SFInt64";           } 
     368    static const Char8    *getMName     (void) { return "MFInt64";           } 
     369 
     370    static       Int64     getDefault   (void) { return 0;                   } 
    370371}; 
    371372 
     
    396397 
    397398    static OSG_BASE_DLLMAPPING 
    398            DataType &getType      (void); 
    399  
    400     static Char8    *getSName     (void) { return "SFUInt64";          } 
    401     static Char8    *getMName     (void) { return "MFUInt64";          } 
    402  
    403     static UInt64    getDefault   (void) { return 0;                   } 
     399                 DataType &getType      (void); 
     400 
     401    static const Char8    *getSName     (void) { return "SFUInt64";          } 
     402    static const Char8    *getMName     (void) { return "MFUInt64";          } 
     403 
     404    static       UInt64    getDefault   (void) { return 0;                   } 
    404405}; 
    405406 
     
    430431 
    431432    static OSG_BASE_DLLMAPPING 
    432            DataType &getType      (void); 
    433  
    434     static Char8    *getSName     (void) { return "SFReal16";          } 
    435     static Char8    *getMName     (void) { return "MFReal16";          } 
    436  
    437     static Real32    getDefault   (void) { return 0.f;                 } 
     433                 DataType &getType      (void); 
     434 
     435    static const Char8    *getSName     (void) { return "SFReal16";          } 
     436    static const Char8    *getMName     (void) { return "MFReal16";          } 
     437 
     438    static       Real32    getDefault   (void) { return 0.f;                 } 
    438439}; 
    439440 
     
    465466 
    466467    static OSG_BASE_DLLMAPPING 
    467            DataType &getType      (void); 
    468  
    469     static Char8    *getSName     (void) { return "SFReal32";          } 
    470     static Char8    *getMName     (void) { return "MFReal32";          } 
    471  
    472     static Real32    getDefault   (void) { return 0.f;                 } 
     468                 DataType &getType      (void); 
     469 
     470    static const Char8    *getSName     (void) { return "SFReal32";          } 
     471    static const Char8    *getMName     (void) { return "MFReal32";          } 
     472 
     473    static       Real32    getDefault   (void) { return 0.f;                 } 
    473474}; 
    474475 
     
    500501 
    501502    static OSG_BASE_DLLMAPPING 
    502            DataType &getType      (void); 
    503  
    504     static Char8    *getSName     (void) { return "SFFixed32";          } 
    505     static Char8    *getMName     (void) { return "MFFixed32";          } 
    506  
    507     static Fixed32    getDefault   (void) { return Fixed32(0.f);        } 
     503                 DataType &getType      (void); 
     504 
     505    static const Char8    *getSName     (void) { return "SFFixed32";          } 
     506    static const Char8    *getMName     (void) { return "MFFixed32";          } 
     507 
     508    static       Fixed32    getDefault   (void) { return Fixed32(0.f);        } 
    508509}; 
    509510 
     
    534535 
    535536    static OSG_BASE_DLLMAPPING 
    536            DataType &getType      (void); 
    537  
    538     static Char8    *getSName     (void) { return "SFReal64";          } 
    539     static Char8    *getMName     (void) { return "MFReal64";          } 
    540  
    541     static Real64    getDefault   (void) { return 0.;                  } 
     537                 DataType &getType      (void); 
     538 
     539    static const Char8    *getSName     (void) { return "SFReal64";          } 
     540    static const Char8    *getMName     (void) { return "MFReal64";          } 
     541 
     542    static       Real64    getDefault   (void) { return 0.;                  } 
    542543 
    543544}; 
     
    571572 
    572573    static OSG_BASE_DLLMAPPING 
    573            DataType &getType      (void); 
    574  
    575     static Char8    *getSName     (void) { return "SFVoidP";           } 
    576     static Char8    *getMName     (void) { return "MFVoidP";           } 
    577  
    578     static void     *getDefault   (void) { return NULL;                } 
     574                 DataType &getType      (void); 
     575 
     576    static const Char8    *getSName     (void) { return "SFVoidP";           } 
     577    static const Char8    *getMName     (void) { return "MFVoidP";           } 
     578 
     579    static       void     *getDefault   (void) { return NULL;                } 
    579580     
    580581    // Binary 
  • trunk/Source/Base/Field/OSGVecFieldTraits.h

    r785 r1174  
    8282                                                                            \ 
    8383    static OSG_BASE_DLLMAPPING                                              \ 
    84            DataType &getType      (void);                                   \ 
     84                 DataType &getType (void);                                  \ 
    8585                                                                            \ 
    86     static Char8    *getSName     (void) { return "SF"#base #dim #type; }   \ 
    87     static Char8    *getMName     (void) { return "MF"#base #dim #type; }   \ 
     86    static const Char8    *getSName(void) { return "SF"#base #dim #type; }  \ 
     87    static const Char8    *getMName(void) { return "MF"#base #dim #type; }  \ 
    8888                                                                            \ 
    8989    static base##dim##type getDefault (void) { return base##dim##type();}   \ 
  • trunk/Source/System/Cluster/Base/OSGRemoteAspect.cpp

    r1141 r1174  
    139139/*                          Remote aspect functionaliy                     */ 
    140140 
    141 /*! <EM>receiveSync</EM> reads changes from the given connection and 
     141/*! \e receiveSync reads changes from the given connection and 
    142142 *  applies them to the current thread aspect. 
    143  *  Functors for registered types are called, if they occure in the 
     143 *  Functors for registered types are called, if they occur in the 
    144144 *  sync stream. 
    145145 *  
     
    673673 */ 
    674674 
    675 bool RemoteAspect::callCreated(const FieldContainerPtr &fcp) 
     675bool RemoteAspect::callCreated(const FieldContainerPtr fcp) 
    676676{ 
    677677    bool    result; 
     
    695695 */ 
    696696 
    697 bool RemoteAspect::callDestroyed(const FieldContainerPtr &fcp) 
     697bool RemoteAspect::callDestroyed(const FieldContainerPtr fcp) 
    698698{ 
    699699    bool    result; 
     
    717717 */ 
    718718 
    719 bool RemoteAspect::callChanged(const FieldContainerPtr &fcp) 
     719bool RemoteAspect::callChanged(const FieldContainerPtr fcp) 
    720720{ 
    721721    bool    result; 
  • trunk/Source/System/Cluster/Base/OSGRemoteAspect.h

    r835 r1174  
    177177    /*! \{                                                                 */ 
    178178 
    179     bool   callCreated  (const FieldContainerPtr &node); 
    180     bool   callDestroyed(const FieldContainerPtr &node); 
    181     bool   callChanged  (const FieldContainerPtr &node); 
     179    bool   callCreated  (const FieldContainerPtr node); 
     180    bool   callDestroyed(const FieldContainerPtr node); 
     181    bool   callChanged  (const FieldContainerPtr node); 
    182182 
    183183    /*! \}                                                                 */ 
  • trunk/Source/System/Cluster/Server/OSGClusterServer.cpp

    r1105 r1174  
    353353} 
    354354 
    355 #ifdef OSG_OLD_RENDER_ACTION 
    356  
    357355/*! render server window 
    358356 */ 
    359357 
    360 void ClusterServer::doRender(DrawActionBase *action) 
     358void ClusterServer::doRender(RenderActionBase *action) 
    361359{ 
    362360#if 0 
     
    374372    }  
    375373#endif 
    376  
    377     _clusterWindow->serverRender(_window, _serverId, action); 
    378 } 
    379  
    380 #endif 
    381  
    382  
    383 /*! render server window 
    384  */ 
    385  
    386 void ClusterServer::doRender(RenderActionBase *action) 
    387 { 
    388     OSG::IndentFileOutStream outFileStream("/tmp/cluster.osg"); 
    389  
    390     if(outFileStream) 
    391     { 
    392         //std::cerr << "STARTING PRINTOUT:" << std::endl; 
    393  
    394         OSG::OSGWriter writer(outFileStream, 4); 
    395  
    396         writer.write(_clusterWindow); 
    397  
    398         outFileStream.close(); 
    399     }  
    400374 
    401375    _clusterWindow->serverRender(_window, _serverId, action); 
  • trunk/Source/System/FieldContainer/Attachments/OSGNameAttachment.h

    r1126 r1174  
    9494 */ 
    9595 
    96 typedef Name::ObjPtr NamePtr; 
    97 typedef RefCountPtr<Name,  
    98                     UnrecordedRefCountPolicy>         NameUnrecPtr; 
     96OSG_GEN_CONTAINERPTR(Name)   
    9997 
    10098#ifdef WIN32 
  • trunk/Source/System/FieldContainer/Attachments/OSGVoidPAttachment.h

    r1126 r1174  
    9494 */ 
    9595 
    96 typedef VoidP::ObjPtr VoidPPtr; 
    97 typedef RefCountPtr<VoidP,  
    98                     UnrecordedRefCountPolicy>         VoidPUnrecPtr; 
     96OSG_GEN_CONTAINERPTR(VoidP)   
    9997 
    10098#ifdef WIN32 
  • trunk/Source/System/FieldContainer/Base/OSGAspectStore.h

    r955 r1174  
    7979    /*! \{                                                                 */ 
    8080 
    81     FieldContainer *getPtr            (void                        ) const; 
    82     FieldContainer *getPtr            (UInt32            uiAspect  ) const; 
    83     void            setPtrForAspect   (FieldContainerPtr pContainer,  
    84                                        UInt32            uiAspect  ); 
    85     void            removePtrForAspect(UInt32            uiAspect  ); 
     81    FieldContainer *getPtr            (      void                        )const; 
     82    FieldContainer *getPtr            (const UInt32            uiAspect  )const; 
     83    void            setPtrForAspect   (const FieldContainerPtr pContainer,  
     84                                       const UInt32            uiAspect  ); 
     85    void            removePtrForAspect(const UInt32            uiAspect  ); 
    8686 
    87     UInt32          getNumAspects     (void                        ) const; 
     87    UInt32          getNumAspects     (      void                        )const; 
    8888     
    8989    /*! \}                                                                 */ 
     
    101101    /*! \{                                                                 */ 
    102102 
    103     void fillOffsetArray(AspectOffsetStore &oStore, 
    104                          FieldContainerPtr  pRef  ); 
     103    void fillOffsetArray(      AspectOffsetStore &oStore, 
     104                         const FieldContainerPtr  pRef  ); 
    105105 
    106106    /*! \}                                                                 */ 
  • trunk/Source/System/FieldContainer/Base/OSGAspectStore.inl

    r961 r1174  
    5252 
    5353inline 
    54 FieldContainer *AspectStore::getPtr(UInt32 uiAspect) const 
     54FieldContainer *AspectStore::getPtr(const UInt32 uiAspect) const 
    5555{ 
    5656    if(uiAspect < _vAspects.size()) 
     
    7272 
    7373inline 
    74 void AspectStore::setPtrForAspect(FieldContainerPtr pContainer,  
    75                                   UInt32            uiAspect  ) 
     74void AspectStore::setPtrForAspect(const FieldContainerPtr pContainer,  
     75                                  const UInt32            uiAspect  ) 
    7676{ 
    7777    _vAspects.resize(osgMax<UInt32>(_vAspects.size(), uiAspect + 1), NULL); 
     
    8181 
    8282inline 
    83 void AspectStore::removePtrForAspect(UInt32 uiAspect) 
     83void AspectStore::removePtrForAspect(const UInt32 uiAspect) 
    8484{ 
    8585    if(uiAspect >= _vAspects.size()) 
     
    126126inline 
    127127AspectStore::AspectStore(void) : 
     128    _vAspects( ), 
    128129    _refCount(0) 
    129130{ 
     
    132133inline 
    133134AspectStore::AspectStore(const AspectStore &) : 
     135    _vAspects( ), 
    134136    _refCount(0) 
    135137{ 
     
    137139 
    138140inline 
    139 void AspectStore::fillOffsetArray(AspectOffsetStore &oStore,  
    140                                   FieldContainerPtr  pRef  ) 
     141void AspectStore::fillOffsetArray(      AspectOffsetStore &oStore,  
     142                                  const FieldContainerPtr  pRef  ) 
    141143{ 
    142144    Char8 *pRefMem = reinterpret_cast<Char8 *>(pRef); 
  • trunk/Source/System/FieldContainer/Base/OSGAttachmentContainer.cpp

    r1155 r1174  
    112112 
    113113OSG_ABSTR_FIELD_CONTAINER_DEF(AttachmentContainer) 
    114  
    115 #if 0 
    116 void AttachmentContainer::pushToField( 
    117           FieldContainerPtrConstArg pNewElement, 
    118     const UInt32                    uiFieldId   ) 
    119 { 
    120     Inherited::pushToField(pNewElement, uiFieldId); 
    121  
    122     if(uiFieldId == AttachmentsFieldId) 
    123     { 
    124         addAttachment(dynamic_cast<AttachmentObjPtr>(pNewElement)); 
    125     } 
    126 } 
    127  
    128 void AttachmentContainer::insertIntoMField( 
    129     const UInt32                    uiIndex, 
    130           FieldContainerPtrConstArg pNewElement, 
    131     const UInt32                    uiFieldId   ) 
    132 { 
    133     Inherited::insertIntoMField(uiIndex, pNewElement, uiFieldId); 
    134      
    135     FWARNING(("AttachmentContainerMixin::insertIntoMField: NIY\n")); 
    136 } 
    137  
    138 void AttachmentContainer::replaceInMField ( 
    139     const UInt32                    uiIndex, 
    140           FieldContainerPtrConstArg pNewElement, 
    141     const UInt32                    uiFieldId   ) 
    142 { 
    143     Inherited::replaceInMField(uiIndex, pNewElement, uiFieldId); 
    144  
    145     FWARNING(("AttachmentContainerMixin::replaceInMField: NIY\n")); 
    146 } 
    147  
    148 void AttachmentContainer::replaceInMField ( 
    149           FieldContainerPtrConstArg pOldElement, 
    150           FieldContainerPtrConstArg pNewElement, 
    151     const UInt32                    uiFieldId  ) 
    152 { 
    153     Inherited::replaceInMField(pOldElement, pNewElement, uiFieldId); 
    154      
    155     FWARNING(("AttachmentContainerMixin::replaceInMField: NIY\n")); 
    156 } 
    157  
    158 void AttachmentContainer::removeFromMField( 
    159     const UInt32                    uiIndex, 
    160     const UInt32                    uiFieldId ) 
    161 { 
    162     Inherited::removeFromMField(uiIndex, uiFieldId); 
    163      
    164     FWARNING(("AttachmentContainerMixin::removeFromMField: NIY\n")); 
    165 } 
    166  
    167 void AttachmentContainer::removeFromMField( 
    168           FieldContainerPtrConstArg pElement, 
    169     const UInt32                    uiFieldId ) 
    170 { 
    171     Inherited::removeFromMField(pElement, uiFieldId); 
    172      
    173     FWARNING(("AttachmentContainerMixin::removeFromMField: NIY\n")); 
    174 } 
    175  
    176 void AttachmentContainer::clearField(const UInt32 uiFieldId) 
    177 { 
    178     Inherited::clearField(uiFieldId); 
    179      
    180     FWARNING(("AttachmentContainerMixin::clearField: NIY\n")); 
    181 } 
    182 #endif 
    183114 
    184115/*-------------------------------------------------------------------------*/ 
  • trunk/Source/System/FieldContainer/Base/OSGAttachmentContainer.h

    r1092 r1174  
    6464    /*! \{                                                                 */ 
    6565 
    66     typedef FieldContainer                    Inherited; 
    67     typedef Inherited::TypeObject             TypeObject; 
    68     typedef AttachmentContainer               Self; 
    69  
    70     typedef FieldContainerAttachment          AttachmentObj; 
    71     typedef FieldContainerAttachmentPtr       AttachmentObjPtr; 
    72     typedef SFFieldContainerAttachmentPtrMap  SFAttachmentObjPtrMap; 
    73  
    74     typedef SFAttachmentObjPtrMap::StoredType AttachmentObjPtrMap; 
    75     typedef AttachmentObjPtrMap::iterator     AttachmentObjPtrMapIt; 
     66    typedef FieldContainer                      Inherited; 
     67    typedef Inherited::TypeObject               TypeObject; 
     68    typedef AttachmentContainer                 Self; 
     69 
     70    typedef FieldContainerAttachment            AttachmentObj; 
     71    typedef FieldContainerAttachmentPtr         AttachmentObjPtr; 
     72    typedef SFFieldContainerAttachmentPtrMap    SFAttachmentObjPtrMap; 
     73 
     74    typedef SFAttachmentObjPtrMap::StoredType   AttachmentObjPtrMap; 
     75    typedef AttachmentObjPtrMap::iterator       AttachmentObjPtrMapIt; 
     76    typedef AttachmentObjPtrMap::const_iterator AttachmentObjPtrMapConstIt; 
    7677 
    7778     
     
    103104    /*! \{                                                                 */ 
    104105 
    105 #if 0 
    106     virtual void pushToField     (      FieldContainerPtrConstArg pNewElement, 
    107                                   const UInt32                    uiFieldId  ); 
    108  
    109     virtual void insertIntoMField(const UInt32                    uiIndex, 
    110                                         FieldContainerPtrConstArg pNewElement, 
    111                                   const UInt32                    uiFieldId  ); 
    112  
    113     virtual void replaceInMField (const UInt32                    uiIndex, 
    114                                         FieldContainerPtrConstArg pNewElement, 
    115                                   const UInt32                    uiFieldId  ); 
    116  
    117     virtual void replaceInMField (      FieldContainerPtrConstArg pOldElement, 
    118                                         FieldContainerPtrConstArg pNewElement, 
    119                                   const UInt32                    uiFieldId  ); 
    120  
    121     virtual void removeFromMField(const UInt32                    uiIndex, 
    122                                   const UInt32                    whichField ); 
    123  
    124     virtual void removeFromMField(      FieldContainerPtrConstArg pElement, 
    125                                   const UInt32                    whichField ); 
    126  
    127     virtual void clearField      (const UInt32                    whichField ); 
    128 #endif 
    129      
    130106    /*! \}