Show
Ignore:
Timestamp:
10/24/07 19:30:30 (1 year ago)
Author:
cneumann
Message:

fixed: FieldBundle? templates, pointers and fields updated

lots of compile errors - some remain

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/Carsten_PtrWork/Source/System/FieldContainer/Attachments/OSGStringAttributeMapBase.h

    r979 r988  
    7979class OSG_SYSTEM_DLLMAPPING StringAttributeMapBase : public FieldContainerAttachment 
    8080{ 
     81    /*==========================  PUBLIC  =================================*/ 
    8182  public: 
    82  
     83    /*---------------------------------------------------------------------*/ 
     84    /*! \name Public Types                                                 */ 
     85    /*! \{                                                                 */ 
     86     
    8387    typedef FieldContainerAttachment Inherited; 
    8488    typedef FieldContainerAttachment ParentContainer; 
     
    8690    typedef Inherited::TypeObject TypeObject; 
    8791    typedef TypeObject::InitPhase InitPhase; 
    88  
    89     OSG_GEN_INTERNALPTR(StringAttributeMap); 
    90  
    91     /*==========================  PUBLIC  =================================*/ 
    92   public: 
     92    
     93    typedef StringAttributeMap       *       ObjPtr;  
     94    typedef StringAttributeMap       * const ObjPtrConst; 
     95    typedef StringAttributeMap const *       ObjConstPtr; 
     96    typedef StringAttributeMap const * const ObjConstPtrConst; 
     97     
     98    typedef StringAttributeMap       *       ObjPtrArg; 
     99    typedef StringAttributeMap       * const ObjPtrConstArg; 
     100    typedef StringAttributeMap const *       ObjConstPtrArg; 
     101 
     102    typedef InternalRefCountPtrBuilder<StringAttributeMap>::Ptr ObjInternalRefPtr; 
     103    typedef WeakRefCountPtrBuilder    <StringAttributeMap>::Ptr ObjWeakRefPtr; 
     104    typedef MTRefCountPtrBuilder      <StringAttributeMap>::Ptr ObjMTRefPtr; 
     105    typedef RefCountPtrBuilder        <StringAttributeMap>::Ptr ObjRefPtr; 
     106    typedef ParentPtrBuilder          <StringAttributeMap>::Ptr ObjParentPtr; 
     107     
     108    typedef MFString               KeysFieldType; 
     109    typedef MFString               ValuesFieldType; 
     110     
     111    /*! \}                                                                 */ 
     112    /*---------------------------------------------------------------------*/ 
     113    /*! \name Constants                                                    */ 
     114    /*! \{                                                                 */ 
    93115 
    94116    enum 
     
    106128        (TypeTraits<BitVector>::One << NextFieldId); 
    107129         
    108     typedef MFString               KeysFieldType; 
    109     typedef MFString               ValuesFieldType; 
    110          
    111  
     130    /*! \}                                                                 */ 
    112131    /*---------------------------------------------------------------------*/ 
    113132    /*! \name Class Get                                                    */ 
     
    123142    /*! \{                                                                 */ 
    124143 
    125     virtual       FieldContainerType &getType         (void); 
    126     virtual const FieldContainerType &getType         (void) const; 
    127  
    128     virtual       UInt32              getContainerSize(void) const; 
     144    virtual FieldContainerType      &getType         (void); 
     145    virtual FieldContainerType const &getType         (void) const; 
     146 
     147    virtual UInt32                    getContainerSize(void) const; 
    129148 
    130149    /*! \}                                                                 */ 
     
    176195 
    177196    StringAttributeMapBase(void); 
    178     StringAttributeMapBase(const StringAttributeMapBase &source); 
     197    StringAttributeMapBase(StringAttributeMapBase const &source); 
    179198 
    180199    /*! \}                                                                 */ 
     
    314333typedef StringAttributeMapBase *StringAttributeMapBaseP; 
    315334 
    316 typedef RefCountPtrBuilder<StringAttributeMap>::Ptr         StringAttributeMapRefPtr; 
    317 typedef MTRefCountPtrBuilder<StringAttributeMap>::Ptr       StringAttributeMapMTRefPtr; 
    318 typedef WeakRefCountPtrBuilder<StringAttributeMap>::Ptr     StringAttributeMapWeakRefPtr; 
    319 typedef InternalRefCountPtrBuilder<StringAttributeMap>::Ptr StringAttributeMapInternalRefPtr; 
    320  
    321 typedef ParentPtrBuilder<StringAttributeMap>::Ptr           StringAttributeMapParentPtr; 
     335typedef StringAttributeMapBase::ObjRefPtr         StringAttributeMapRefPtr; 
     336typedef StringAttributeMapBase::ObjMTRefPtr       StringAttributeMapMTRefPtr; 
     337typedef StringAttributeMapBase::ObjWeakRefPtr     StringAttributeMapWeakRefPtr; 
     338typedef StringAttributeMapBase::ObjInternalRefPtr StringAttributeMapInternalRefPtr; 
     339typedef StringAttributeMapBase::ObjParentPtr      StringAttributeMapParentPtr; 
    322340 
    323341typedef boost::mpl::if_<