Changeset 1032 for branches/Carsten_PtrWork2/Source/System/FieldContainer/Fields/OSGSChildFCPointerField.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/OSGSChildFCPointerField.h
r1030 r1032 45 45 #include "OSGContainerForwards.h" 46 46 #include "OSGSFCPointerFieldBase.h" 47 47 #include "OSGChildFCPointerFieldDescription.h" 48 48 #include "OSGEditSFCPointerFieldHandle.h" 49 49 #include "OSGGetSFCPointerFieldHandle.h" … … 83 83 84 84 typedef FieldTraits <ValueType, 85 NamespaceI >SFieldTraits;86 typedef FieldDescription<SFieldTraits,87 S ingleField,88 ChildPointerField>Description;89 85 NamespaceI > SFieldTraits; 86 typedef ChildFCPointerFieldDescription< 87 SFieldTraits, 88 FieldType::SINGLE_FIELD> Description; 89 90 90 typedef ValueType *pointer; 91 91 typedef ReferenceProxy reference; … … 95 95 typedef EditSFCPointerFieldHandle<Self > EditHandle; 96 96 typedef boost::shared_ptr <EditHandle> EditHandlePtr; 97 typedef GetSFCPointerFieldHandle <Self > GetHandle; 98 typedef boost::shared_ptr <GetHandle> GetHandlePtr; 97 98 typedef GetSFCPointerFieldHandle <Self > GetHandle; 99 typedef boost::shared_ptr <GetHandle > GetHandlePtr; 100 101 /*! \} */ 102 /*---------------------------------------------------------------------*/ 103 /*! \name Constants */ 104 /*! \{ */ 105 106 static const FieldType::Category fieldCat = FieldType::CHILD_POINTER_FIELD; 99 107 100 108 /*! \} */ … … 164 172 /*! \{ */ 165 173 166 SChildFCPointerField(FieldContainer *enclosingFC, 167 UInt16 const enclosingFCFieldId, 168 UInt16 const parentFieldId ); 169 SChildFCPointerField(FieldContainer *enclosingFC, 170 UInt16 const enclosingFCFieldId, 171 UInt16 const parentFieldId, 172 ValueType const value ); 173 SChildFCPointerField(FieldContainer *enclosingFC, 174 UInt16 const enclosingFCFieldId, 175 UInt16 const parentFieldId, 176 Self const &other ); 174 SChildFCPointerField(void ); 175 explicit SChildFCPointerField(ValueType const value); 176 SChildFCPointerField(Self const &other); 177 177 178 178 /*! \} */ … … 229 229 /*! \} */ 230 230 /*---------------------------------------------------------------------*/ 231 /*! \name MT Sync*/231 /*! \name MT Sync */ 232 232 /*! \{ */ 233 233 234 234 void syncWith(Self &source); 235 235 236 /*! \} */ 237 /*---------------------------------------------------------------------*/ 238 /*! \name Internal */ 239 /*! \{ */ 240 241 FieldContainer *getEnclosingFC(void ) const; 242 void setEnclosingFC(FieldContainer *pEnclosingFC); 243 244 Description const *getFieldDescription(void ) const; 245 void setFieldDescription(Description const *pDesc); 246 236 247 /*! \} */ 237 248 /*========================= PROTECTED ===============================*/ … … 241 252 /*! \{ */ 242 253 243 static FieldType _fieldType; 244 245 FieldContainer *_enclosingFC; 246 UInt16 _enclosingFCFieldId; 247 UInt16 _parentFieldId; 254 static FieldType _fieldType; 255 256 FieldContainer *_pEnclosingFC; 257 Description const *_pDesc; 248 258 249 259 #if defined(OSG_TMPL_STATIC_MEMBER_NEEDS_HELPER_FCT)
