Show
Ignore:
Timestamp:
11/12/07 17:52:26 (1 year ago)
Author:
cneumann
Message:

changed: parent linking uses FC helper functions, so that parent

fields can be read only.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/Carsten_PtrWork2/Source/System/FieldContainer/Base/OSGReflexiveContainer.h

    r862 r1015  
    157157    /*! \}                                                                 */ 
    158158    /*---------------------------------------------------------------------*/ 
    159     /*! \name                  Get Field                                   */ 
    160     /*! \{                                                                 */ 
    161  
    162 #if 0 
    163     OSG_SYSTEM_DLLMAPPING  
    164     EditFieldHandle editHandledField(      UInt32 fieldId  ); 
    165      
    166     OSG_SYSTEM_DLLMAPPING  
    167     EditFieldHandle editHandledField(const Char8 *fieldName); 
    168  
    169     OSG_SYSTEM_DLLMAPPING  
    170     FieldHandle     getHandledField (      UInt32 fieldId  ) const; 
    171      
    172     OSG_SYSTEM_DLLMAPPING  
    173     FieldHandle     getHandledField (const Char8 *fieldName) const; 
    174 #endif 
    175  
     159    /*! \name Parent Linking                                               */ 
     160    /*! \{                                                                 */ 
     161 
     162    OSG_SYSTEM_DLLMAPPING 
     163    virtual bool linkParent  (ReflexiveContainer * const pParent, 
     164                              UInt16               const childrenFieldId, 
     165                              UInt16               const parentFieldId   ); 
     166    OSG_SYSTEM_DLLMAPPING 
     167    virtual bool unlinkParent(ReflexiveContainer * const pParent, 
     168                              UInt16               const childrenFieldId, 
     169                              UInt16               const parentFieldId   ); 
     170     
    176171    /*! \}                                                                 */ 
    177172    /*---------------------------------------------------------------------*/