Changeset 1032 for branches/Carsten_PtrWork2/Source/System/FieldContainer/Fields/OSGMChildFCPointerField.h
- Timestamp:
- 12/12/07 18:00:42 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/Carsten_PtrWork2/Source/System/FieldContainer/Fields/OSGMChildFCPointerField.h
r1030 r1032 45 45 #include "OSGContainerForwards.h" 46 46 #include "OSGMFCPointerFieldBase.h" 47 47 #include "OSGChildFCPointerFieldDescription.h" 48 48 #include "OSGEditMFCPointerFieldHandle.h" 49 49 #include "OSGGetMFCPointerFieldHandle.h" … … 105 105 106 106 typedef FieldTraits <ValueType, 107 NamespaceI >MFieldTraits;108 typedef FieldDescription<MFieldTraits,109 M ultiField,110 ChildPointerField> Description;107 NamespaceI > MFieldTraits; 108 typedef ChildFCPointerFieldDescription< 109 MFieldTraits, 110 FieldType::MULTI_FIELD > Description; 111 111 112 112 typedef ValueType *pointer; … … 115 115 typedef typename MFieldTraits::ArgumentType ArgumentType; 116 116 117 typedef EditMFCPointerFieldHandle<Self > EditHandle; 118 typedef boost::shared_ptr<typename Self::EditHandle> EditHandlePtr; 119 typedef GetMFCPointerFieldHandle <Self > GetHandle; 120 typedef boost::shared_ptr<typename Self::GetHandle > GetHandlePtr; 117 typedef EditMFCPointerFieldHandle<Self > EditHandle; 118 typedef boost::shared_ptr <EditHandle> EditHandlePtr; 119 120 typedef GetMFCPointerFieldHandle <Self > GetHandle; 121 typedef boost::shared_ptr <GetHandle > GetHandlePtr; 122 123 /*! \} */ 124 /*---------------------------------------------------------------------*/ 125 /*! \name Constants */ 126 /*! \{ */ 127 128 static const FieldType::Category fieldCat = FieldType::CHILD_POINTER_FIELD; 121 129 122 130 /*! \} */ … … 264 272 /*! \{ */ 265 273 266 MChildFCPointerField(FieldContainer *enclosingFC, 267 UInt16 const enclosingFCFieldId, 268 UInt16 const parentFieldId ); 269 MChildFCPointerField(FieldContainer *enclosingFC, 270 UInt16 const enclosingFCFieldId, 271 UInt16 const parentFieldId, 272 UInt32 const size ); 273 MChildFCPointerField(FieldContainer *enclosingFC, 274 UInt16 const enclosingFCFieldId, 275 UInt16 const parentFieldId, 276 Self const &other ); 274 MChildFCPointerField(void ); 275 MChildFCPointerField(UInt32 const size ); 276 MChildFCPointerField(Self const &other); 277 277 278 278 /*! \} */ … … 406 406 /*! \} */ 407 407 /*---------------------------------------------------------------------*/ 408 /*! \name Internal */ 409 /*! \{ */ 410 411 FieldContainer *getEnclosingFC(void ) const; 412 void setEnclosingFC(FieldContainer *pEnclosingFC); 413 414 Description const *getFieldDescription(void ) const; 415 void setFieldDescription(Description const *pDesc); 416 417 /*! \} */ 418 /*---------------------------------------------------------------------*/ 408 419 /*! \name Dump */ 409 420 /*! \{ */ … … 419 430 /*! \{ */ 420 431 421 static FieldType _fieldType; 422 423 FieldContainer *_enclosingFC; 424 UInt16 _enclosingFCFieldId; 425 UInt16 _parentFieldId; 432 static FieldType _fieldType; 433 434 FieldContainer *_pEnclosingFC; 435 Description const *_pDesc; 426 436 427 437 #if defined(OSG_TMPL_STATIC_MEMBER_NEEDS_HELPER_FCT)
