Show
Ignore:
Timestamp:
10/20/07 18:11:52 (10 months ago)
Author:
cneumann
Message:

added: RootObjectT template paremter for ReferenceCountPointer?

and ParentPointer? templates - allows use for FieldBundles?

compile fixes - but still not done

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/Carsten_PtrWork/Source/Base/Field/OSGMathFieldTraits.h

    r785 r976  
    8181 
    8282    static OSG_BASE_DLLMAPPING 
    83            DataType &getType      (void); 
    84  
    85     static Char8    *getSName     (void) { return "SFMatrix";       } 
    86     static Char8    *getMName     (void) { return "MFMatrix";       } 
    87  
    88     static Matrix    getDefault   (void) { return Matrix();         } 
     83           DataType     &getType   (void); 
     84 
     85    static Char8 const  *getSName  (void) { return "SFMatrix";       } 
     86    static Char8 const  *getMName  (void) { return "MFMatrix";       } 
     87 
     88    static Matrix const  getDefault(void) { return Matrix();         } 
    8989 
    9090 
     
    198198 
    199199    static OSG_BASE_DLLMAPPING 
    200            DataType &getType       (void); 
    201  
    202     static Char8   *getSName      (void) { return "SFMatrix4d";       } 
    203     static Char8   *getMName      (void) { return "MFMatrix4d";       } 
    204  
    205     static Matrix4d  getDefault    (void) { return Matrix4d();         } 
     200           DataType    &getType       (void); 
     201 
     202    static Char8 const *getSName      (void) { return "SFMatrix4d";       } 
     203    static Char8 const *getMName      (void) { return "MFMatrix4d";       } 
     204 
     205    static Matrix4d     getDefault    (void) { return Matrix4d();         } 
    206206 
    207207    static bool      getFromCString(      Matrix4d   &outVal, 
     
    314314 
    315315    static OSG_BASE_DLLMAPPING 
    316            DataType &getType      (void); 
    317  
    318     static Char8    *getSName     (void) { return "SFMatrix4fx";    } 
    319     static Char8    *getMName     (void) { return "MFMatrix4fx";    } 
    320  
    321     static Matrix4fx getDefault   (void) { return Matrix4fx();      } 
     316           DataType        &getType   (void); 
     317 
     318    static Char8 const     *getSName  (void) { return "SFMatrix4fx";    } 
     319    static Char8 const     *getMName  (void) { return "MFMatrix4fx";    } 
     320 
     321    static Matrix4fx const  getDefault(void) { return Matrix4fx();      } 
    322322 
    323323 
     
    396396 
    397397    static OSG_BASE_DLLMAPPING 
    398            DataType   &getType      (void); 
    399  
    400     static Char8      *getSName     (void) { return "SFQuaternion"; } 
    401     static Char8      *getMName     (void) { return "MFQuaternion"; } 
    402  
    403     static Quaternion getDefault   (void) { return Quaternion();   } 
     398           DataType         &getType   (void); 
     399 
     400    static Char8 const      *getSName  (void) { return "SFQuaternion"; } 
     401    static Char8 const      *getMName  (void) { return "MFQuaternion"; } 
     402 
     403    static Quaternion const  getDefault(void) { return Quaternion();   } 
    404404 
    405405}; 
     
    440440 
    441441    static OSG_BASE_DLLMAPPING 
    442            DataType     &getType      (void); 
    443  
    444     static Char8        *getSName     (void) { return "SFQuaternionfx"; } 
    445     static Char8        *getMName     (void) { return "MFQuaternionfx"; } 
    446  
    447     static Quaternionfx getDefault   (void) { return Quaternionfx();   } 
     442           DataType           &getType   (void); 
     443 
     444    static Char8 const        *getSName  (void) { return "SFQuaternionfx"; } 
     445    static Char8 const        *getMName  (void) { return "MFQuaternionfx"; } 
     446 
     447    static Quaternionfx const  getDefault(void) { return Quaternionfx();   } 
    448448 
    449449};