Show
Ignore:
Timestamp:
10/05/07 19:12:52 (1 year ago)
Author:
cneumann
Message:

added: typedefs for Parent@!Classname!@Ptr fields
removed: calls to ref counting functions

Still does NOT compile :(

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/Carsten_PtrWork/Source/System/Cluster/Window/SortLast/OSGSortLastWindowFields.h

    r965 r969  
    5858#include "OSGClusterDef.h" 
    5959 
     60#include "OSGParentContainer.h" 
    6061#include "OSGInternalRefPtr.h" 
    6162 
     
    7071class SortLastWindow; 
    7172 
     73OSG_GEN_CONTAINERPTR(SortLastWindow); 
     74 
    7275typedef RefPtr<SortLastWindow>         SortLastWindowRefPtr; 
    7376typedef MTRefPtr<SortLastWindow>       SortLastWindowMTRefPtr; 
     
    7679typedef InternalRefPtr<SortLastWindow> const SortLastWindowInternalRefPtrConst; 
    7780typedef InternalRefPtr<SortLastWindow> const SortLastWindowInternalRefPtrConstArg; 
     81 
     82typedef PtrWrapper<SortLastWindow, 
     83                   SortLastWindowPtr>        ParentSortLastWindowPtr; 
     84typedef PtrWrapper<SortLastWindow, 
     85                   SortLastWindowPtr> const  ParentSortLastWindowPtrConst; 
    7886 
    7987#if !defined(OSG_DO_DOC) // created as a dummy class, remove to prevent doubles 
     
    144152#endif // !defined(OSG_DO_DOC) || (OSG_DOC_LEVEL >= 3) 
    145153 
     154#if !defined(OSG_DO_DOC) || (OSG_DOC_LEVEL >= 3) 
     155/*! \ingroup GrpClusterFieldTraits 
     156 */ 
     157#if !defined(OSG_DOC_DEV_TRAITS) 
     158/*! \hideinhierarchy */ 
     159#endif 
     160 
     161template <> 
     162struct FieldTraits<ParentSortLastWindowPtr> : 
     163    public FieldTraitsFCPtrBase<ParentSortLastWindowPtr> 
     164{ 
     165  private: 
     166 
     167    static DataType             _type; 
     168 
     169  public: 
     170 
     171    typedef FieldTraits<ParentSortLastWindowPtr>  Self; 
     172 
     173    enum                        { Convertible = NotConvertible }; 
     174}; 
     175 
     176#if !defined(OSG_DOC_DEV_TRAITS) 
     177/*! \class  FieldTraitsTemplateBase<SortLastWindowPtr, 0> 
     178    \hideinhierarchy 
     179 */ 
     180#endif 
     181 
     182#endif // !defined(OSG_DO_DOC) || (OSG_DOC_LEVEL >= 3) 
     183 
    146184 
    147185OSG_END_NAMESPACE