Changeset 1134

Show
Ignore:
Timestamp:
04/06/08 23:03:05 (5 months ago)
Author:
vossg
Message:

changed: adjusted names
added: missing ptr define

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Source/System/FieldContainer/Fields/PointerFields/OSGPointerFieldConfigs.h

    r1122 r1134  
    1818OSG_BEGIN_NAMESPACE 
    1919 
     20#define OSG_INHERIT_NAMED_PTR_TMPL(BASECLASS, NAME)                        \ 
     21    typedef typename BASECLASS::NAME##Ptr            NAME##Ptr;            \ 
     22    typedef typename BASECLASS::NAME##PtrConst       NAME##PtrConst;       \ 
     23    typedef typename BASECLASS::NAME##ConstPtr       NAME##ConstPtr;       \ 
     24    typedef typename BASECLASS::NAME##ConstPtrConst  NAME##ConstPtrConst;  \ 
     25                                                                           \ 
     26    typedef typename BASECLASS::NAME##PtrArg         NAME##PtrArg;         \ 
     27    typedef typename BASECLASS::NAME##PtrConstArg    NAME##PtrConstArg;    \ 
     28    typedef typename BASECLASS::NAME##ConstPtrArg    NAME##ConstPtrArg 
     29 
    2030/*---------------------------------------------------------------------------*/ 
    2131/* PointerFieldConfigBase<ObjectTypeT>                                       */ 
     
    111121    /*! \{                                                                 */ 
    112122     
    113     static UInt32           const Namespace  = NamespaceI; 
    114     static FieldType::Class const fieldClass = FieldType::CHILD_POINTER_FIELD
     123    static UInt32     const Namespace  = NamespaceI; 
     124    static FieldClass const fieldClass = ChildPtrField
    115125     
    116126    /*! \}                                                                 */ 
     
    165175    /*! \{                                                                 */ 
    166176     
    167     static UInt32           const Namespace  = NamespaceI; 
    168     static FieldType::Class const fieldClass = FieldType::PARENT_POINTER_FIELD
     177    static UInt32     const Namespace  = NamespaceI; 
     178    static FieldClass const fieldClass = ParentPtrField
    169179     
    170180    /*! \}                                                                 */ 
     
    226236    /*! \{                                                                 */ 
    227237     
    228     static UInt32           const Namespace  = NamespaceI; 
    229     static FieldType::Class const fieldClass = FieldType::UNRECORDED_POINTER_FIELD
     238    static UInt32     const Namespace  = NamespaceI; 
     239    static FieldClass const fieldClass = PtrField
    230240     
    231241    /*! \}                                                                 */ 
     
    287297    /*! \{                                                                 */ 
    288298     
    289     static UInt32           const Namespace  = NamespaceI; 
    290     static FieldType::Class const fieldClass = FieldType::WEAK_POINTER_FIELD
     299    static UInt32     const Namespace  = NamespaceI; 
     300    static FieldClass const fieldClass = WeakPtrField
    291301     
    292302    /*! \}                                                                 */ 
  • trunk/Source/System/FieldContainer/Fields/PointerFields/OSGPointerMFieldCommon.h

    r1122 r1134  
    4343 
    4444    typedef typename Inherited::StoredType               StoredType; 
    45     typedef typename Inherited::PtrStoreType             PtrStoreType; 
    46     typedef typename Inherited::PtrStoreItType           PtrStoreItType; 
    47     typedef typename Inherited::PtrStoreConstItType      PtrStoreConstItType; 
     45    typedef typename Inherited::StorageType              PtrStoreType; 
     46    typedef typename Inherited::StorageIt                PtrStoreItType; 
     47    typedef typename Inherited::StorageConstIt           PtrStoreConstItType; 
    4848 
    4949    typedef typename Inherited::size_type                size_type;