Show
Ignore:
Timestamp:
05/05/08 06:58:23 (4 months ago)
Author:
vossg
Message:

changed: base rebuild interface clean up (removal ptr typedef / NullFC)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Source/System/NodeCores/Drawables/Base/OSGDrawableFields.h

    r1161 r1197  
    8282 
    8383template <> 
    84 struct FieldTraits<DrawablePtr> : 
    85     public FieldTraitsFCPtrBase<DrawablePtr
     84struct FieldTraits<Drawable *> : 
     85    public FieldTraitsFCPtrBase<Drawable *
    8686{ 
    8787  private: 
     
    9191  public: 
    9292 
    93     typedef FieldTraits<DrawablePtr>  Self; 
     93    typedef FieldTraits<Drawable *>  Self; 
    9494 
    9595    enum                        { Convertible = NotConvertible }; 
     
    108108 
    109109template<> inline 
    110 const Char8 *FieldTraits<DrawablePtr, 0>::getSName<RecordedRefCountPolicy>(void) 
     110const Char8 *FieldTraits<Drawable *, 0>::getSName<RecordedRefCountPolicy>(void) 
    111111{ 
    112112    return "SFRecDrawablePtr";  
     
    114114 
    115115template<> inline 
    116 const Char8 *FieldTraits<DrawablePtr, 0>::getSName<UnrecordedRefCountPolicy>(void) 
     116const Char8 *FieldTraits<Drawable *, 0>::getSName<UnrecordedRefCountPolicy>(void) 
    117117{ 
    118118    return "SFUnrecDrawablePtr";  
     
    120120 
    121121template<> inline 
    122 const Char8 *FieldTraits<DrawablePtr, 0>::getSName<WeakRefCountPolicy>(void) 
     122const Char8 *FieldTraits<Drawable *, 0>::getSName<WeakRefCountPolicy>(void) 
    123123{ 
    124124    return "SFWeakDrawablePtr";  
     
    126126 
    127127template<> inline 
    128 const Char8 *FieldTraits<DrawablePtr, 0>::getSName<NoRefCountPolicy>(void) 
     128const Char8 *FieldTraits<Drawable *, 0>::getSName<NoRefCountPolicy>(void) 
    129129{ 
    130130    return "SFUnrefdDrawablePtr";  
     
    132132 
    133133template<> inline 
    134 const Char8 *FieldTraits<DrawablePtr, 0>::getMName<RecordedRefCountPolicy>(void) 
     134const Char8 *FieldTraits<Drawable *, 0>::getMName<RecordedRefCountPolicy>(void) 
    135135{ 
    136136    return "MFRecDrawablePtr";  
     
    138138 
    139139template<> inline 
    140 const Char8 *FieldTraits<DrawablePtr, 0>::getMName<UnrecordedRefCountPolicy>(void) 
     140const Char8 *FieldTraits<Drawable *, 0>::getMName<UnrecordedRefCountPolicy>(void) 
    141141{ 
    142142    return "MFUnrecDrawablePtr";  
     
    144144 
    145145template<> inline 
    146 const Char8 *FieldTraits<DrawablePtr, 0>::getMName<WeakRefCountPolicy>(void) 
     146const Char8 *FieldTraits<Drawable *, 0>::getMName<WeakRefCountPolicy>(void) 
    147147{ 
    148148    return "MFWeakDrawablePtr";  
     
    150150 
    151151template<> inline 
    152 const Char8 *FieldTraits<DrawablePtr, 0>::getMName<NoRefCountPolicy>(void) 
     152const Char8 *FieldTraits<Drawable *, 0>::getMName<NoRefCountPolicy>(void) 
    153153{ 
    154154    return "MFUnrefdDrawablePtr";  
     
    167167/*! \ingroup GrpSystemFieldSingle */ 
    168168 
    169 typedef PointerSField<DrawablePtr
     169typedef PointerSField<Drawable *
    170170                      RecordedRefCountPolicy  > SFRecDrawablePtr; 
    171 typedef PointerSField<DrawablePtr
     171typedef PointerSField<Drawable *
    172172                      UnrecordedRefCountPolicy> SFUnrecDrawablePtr; 
    173 typedef PointerSField<DrawablePtr
     173typedef PointerSField<Drawable *
    174174                      WeakRefCountPolicy      > SFWeakDrawablePtr; 
    175 typedef PointerSField<DrawablePtr
     175typedef PointerSField<Drawable *
    176176                      NoRefCountPolicy        > SFUncountedDrawablePtr; 
    177177#endif 
     
    181181/*! \ingroup GrpSystemFieldMulti */ 
    182182 
    183 typedef PointerMField<DrawablePtr
     183typedef PointerMField<Drawable *
    184184                      RecordedRefCountPolicy  > MFRecDrawablePtr; 
    185 typedef PointerMField<DrawablePtr
     185typedef PointerMField<Drawable *
    186186                      UnrecordedRefCountPolicy> MFUnrecDrawablePtr; 
    187 typedef PointerMField<DrawablePtr
     187typedef PointerMField<Drawable *
    188188                      WeakRefCountPolicy      > MFWeakDrawablePtr; 
    189 typedef PointerMField<DrawablePtr
     189typedef PointerMField<Drawable *
    190190                      NoRefCountPolicy        > MFUncountedDrawablePtr; 
    191191#endif