Show
Ignore:
Timestamp:
04/02/08 14:18:07 (8 months ago)
Author:
cneumann
Message:

replaced pointer field implementation
split FieldContainer/Fields? directory into Base and Handle subdir

Status: - ref counting seems to work (mt, cluster)

  • new OSB loader works (well, the unittest does)
  • VRML loader is deactivated
  • get/edit handle for dynamic (pointer) fields missing
  • need to remove some more old files - they get moved in this commit
  • generated (i.e. base) code in following commit
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/Carsten_PtrWork2/Source/System/FieldContainer/Base/OSGRefCountPointer.h

    r1070 r1072  
    167167          class RHSObjectT, class RHSRefCountPolicyT > 
    168168bool 
    169 operator==(RefCountPointer<LHSObjectT,  
    170                            LHSRefCountPolicyT> const &lhs, 
    171            RefCountPointer<RHSObjectT, 
    172                            RHSRefCountPolicyT> const &rhs); 
     169    operator==(RefCountPointer<LHSObjectT,  
     170                               LHSRefCountPolicyT> const &lhs, 
     171               RefCountPointer<RHSObjectT, 
     172                               RHSRefCountPolicyT> const &rhs); 
     173 
     174template <class LHSObjectT, class LHSRefCountPolicyT, 
     175          class RHSObjectT                           > 
     176bool 
     177    operator==(RefCountPointer<LHSObjectT, 
     178                               LHSRefCountPolicyT> const &lhs, 
     179               RHSObjectT *                        const  rhs ); 
     180 
     181template <class LHSObjectT,  
     182          class RHSObjectT, class RHSRefCountPolicyT> 
     183bool 
     184    operator==(LHSObjectT *                        const  lhs, 
     185               RefCountPointer<RHSObjectT, 
     186                               RHSRefCountPolicyT> const &rhs ); 
    173187 
    174188template <class LHSObjectT, class LHSRefCountPolicyT, 
    175189          class RHSObjectT, class RHSRefCountPolicyT > 
    176190bool 
    177 operator!=(RefCountPointer<LHSObjectT, 
    178                            LHSRefCountPolicyT> const &lhs, 
    179            RefCountPointer<RHSObjectT, 
    180                            RHSRefCountPolicyT> const &rhs); 
     191    operator!=(RefCountPointer<LHSObjectT, 
     192                               LHSRefCountPolicyT> const &lhs, 
     193               RefCountPointer<RHSObjectT, 
     194                               RHSRefCountPolicyT> const &rhs); 
     195                                
     196template <class LHSObjectT, class LHSRefCountPolicyT, 
     197          class RHSObjectT                           > 
     198bool 
     199    operator!=(RefCountPointer<LHSObjectT, 
     200                               LHSRefCountPolicyT> const &lhs, 
     201               RHSObjectT *                        const  rhs ); 
     202 
     203template <class LHSObjectT,  
     204          class RHSObjectT, class RHSRefCountPolicyT> 
     205bool 
     206    operator!=(LHSObjectT *                        const  lhs, 
     207               RefCountPointer<RHSObjectT, 
     208                               RHSRefCountPolicyT> const &rhs ); 
    181209 
    182210template <class LHSObjectT, class LHSRefCountPolicyT, 
    183211          class RHSObjectT, class RHSRefCountPolicyT > 
    184212bool 
    185 operator<(RefCountPointer<LHSObjectT, 
    186                           LHSRefCountPolicyT> const &lhs, 
    187           RefCountPointer<RHSObjectT, 
    188                           RHSRefCountPolicyT> const &rhs); 
     213    operator<(RefCountPointer<LHSObjectT, 
     214                              LHSRefCountPolicyT> const &lhs, 
     215              RefCountPointer<RHSObjectT, 
     216                              RHSRefCountPolicyT> const &rhs); 
    189217 
    190218