Show
Ignore:
Timestamp:
05/05/08 06:58:23 (7 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/Particles/OSGParticlesFields.h

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